Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • 3 trả lời
  • 1 gặp vấn đề này
  • 10 lượt xem
  • Trả lời mới nhất được viết bởi 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!

Giải pháp được chọn

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/

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (3)

more options

Giải pháp được chọn

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/

Hữu ích?

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.

Hữu ích?

more options

Thank you both for the quick answer!

Hữu ích?

Đặt một câu hỏi

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.