Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

Installing edited add-on gives "Installation aborted because the add-on appears to be corrupt" error

  • 3 odpovede
  • 1 má tento problém
  • 10 zobrazení
  • Posledná odpoveď od Nida

more options

Hello there!

I have been trying to edit an existing browser extension (for the sole reason of adding new features to it for myself), and I've been trying to add it to my Firefox browser. However, upon trying to install it to the browser, it throws an error saying: "Installation aborted because the add-on appears to be corrupt". I've been trying to read more into this issue all across the internet, but none of the recommendations seem to be working.

I tested my extension locally and with using the about:debugging temporary add-on method, and everything seemed fine.

I tried to re-configurate the 'xpinstall.signatures.required' variable by setting it to false (even thought this method is considered unsafe in most cases), and the issue still occurs

I also tried adding a new gecko ID to it as stated in this article, but to no avail: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_specific_settings

And last, but certainly not least, I tried compressing the extension with web-ext aswell.

My question is - is there a way to add this extension permanently to my browser without submitting it to Mozilla? I did not create this extension, I only added custom integrations to it for myself.

And more importantly - is there a way to add it to the basic Firefox browser, which is not Firefox developer of Firefox nightly? Or maybe create a desktop shortcut that will always start the browser in debug mode, always containing the extension as "temporary"?

I can see that many posts and questions have already been posted regarding this "custom add-on" topic, but my situation is a bit different since my goal is to only use this add-on by myself (and I'm also revisiting this topic since none of the previous suggestions worked in my case)

Any comments, helps, or even links would be greatly appreciated! Have a great day!

Hello there! I have been trying to edit an existing browser extension (for the sole reason of adding new features to it for myself), and I've been trying to add it to my Firefox browser. However, upon trying to install it to the browser, it throws an error saying: "Installation aborted because the add-on appears to be corrupt". I've been trying to read more into this issue all across the internet, but none of the recommendations seem to be working. I tested my extension locally and with using the about:debugging temporary add-on method, and everything seemed fine. I tried to re-configurate the 'xpinstall.signatures.required' variable by setting it to false (even thought this method is considered unsafe in most cases), and the issue still occurs I also tried adding a new gecko ID to it as stated in this article, but to no avail: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_specific_settings And last, but certainly not least, I tried compressing the extension with web-ext aswell. My question is - is there a way to add this extension permanently to my browser without submitting it to Mozilla? I did not create this extension, I only added custom integrations to it for myself. And more importantly - is there a way to add it to the basic Firefox browser, which is not Firefox developer of Firefox nightly? Or maybe create a desktop shortcut that will always start the browser in debug mode, always containing the extension as "temporary"? I can see that many posts and questions have already been posted regarding this "custom add-on" topic, but my situation is a bit different since my goal is to only use this add-on by myself (and I'm also revisiting this topic since none of the previous suggestions worked in my case) Any comments, helps, or even links would be greatly appreciated! Have a great day!

Vybrané riešenie

You have to sign your extension, even for private use. You can select the Unlisted mode, then the extension won't be visible on AMO.

See https://extensionworkshop.com/documentation/publish/submitting-an-add-on/

Čítať túto odpoveď v kontexte 👍 1

Všetky odpovede (3)

more options

Vybrané riešenie

You have to sign your extension, even for private use. You can select the Unlisted mode, then the extension won't be visible on AMO.

See https://extensionworkshop.com/documentation/publish/submitting-an-add-on/

Pomohla vám táto odpoveď?

more options

You can permanently install unsigned extensions with xpinstall.signatures.required set to false in about:config on Developer Edition and Nightly as long as there is a gecko ID in the manifest. You don't need to compress it with web-ext, just zip it.

Unsigned extensions give a "has not been verified" error while a "appears to be corrupt" error suggests an issue with the manifest.

Pomohla vám táto odpoveď?

more options

Thank you both for the quick answer!

Pomohla vám táto odpoveď?

Položiť otázku

Ak chcete odpovedať na príspevky, musíte sa prihlásiť do svojho účtu. Ak ešte nemáte účet, položte novú otázku.