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!

도움이 되셨습니까?

질문하기

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.