Ungoogled-Chromium-Extension-Installer
Ungoogled-Chromium-Extension-Installer copied to clipboard
Error trying to install extentions or themes
I get the error: "Package is invalid: 'CRX_HEADER_INVALID'." when trying to use the extension.
To fix it add "&acceptformat=crx3" to line 15 in background.js
so the updated line now reads: const url = `https://clients2.google.com/service/update2/crx?response=redirect&prodversion=${version}&x=id%3D${extension_id}%26installsource%3Dondemand%26uc&acceptformat=crx3`;
The fix was found based on comments in this thread: https://github.com/Eloston/ungoogled-chromium/issues/226