Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

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

  • 3 відповіді
  • 1 має цю проблему
  • 1 перегляд
  • Остання відповідь від 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!

Обране рішення

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/

Читати цю відповідь у контексті 👍 1

Усі відповіді (3)

more options

Вибране рішення

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/

Корисно?

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.

Корисно?

more options

Thank you both for the quick answer!

Корисно?

Запитати

Щоб відповідати на повідомлення, ви повинні ввійти у свій обліковий запис. Поставте нове питання, якщо ви ще не маєте облікового запису.