We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Error when installing my own Add-On

  • 8 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 user1474600

more options

I've written a small Add-On for firefox. I can use it without problems if I load it temporary over about:debugging(even the packed zip) but if I try to install it permanent over about:addons -> install Add-On from file I get an error that the plugin "seems to be corrupted". I didn't sign it but I tried to install it with about:config -> xpinstall.signatures.required: false with the same error.

I've written a small Add-On for firefox. I can use it without problems if I load it temporary over about:debugging(even the packed zip) but if I try to install it permanent over about:addons -> install Add-On from file I get an error that the plugin "seems to be corrupted". I didn't sign it but I tried to install it with about:config -> xpinstall.signatures.required: false with the same error.

被選擇的解決方法

You need Firefox 52 ESR to be able to use xpinstall.signature.required. Firefox 48+ releases including 57 do not support this pref.

從原來的回覆中察看解決方案 👍 0

所有回覆 (8)

more options

Hi,

This would be the best place to ask :

https://discourse.mozilla.org/c/add-ons

more options

I now asked it there but because I'm new there I am temporary blocked until a moderator unlocks me.

more options

JustAYoungHobbyDeveloper said

I now asked it there but because I'm new there I am temporary blocked until a moderator unlocks me.

I will flag this thread, so a moderator will see it and maybe give you some advice ..... Hang in there  !

more options

Do you mean that you are blocked on the Add-ons forum or Add-ons website?

If there is an error with installing the extension then there is likely something wrong with the signing or with the packing. Note that this might be a problem with security software that wants to inspect the archive.

You can post a link to the file or send the link via PM to see if I can replicate this if you aren't able to ask at the discourse website.

more options

My extension is just locally save on my hard drive. I think there is nothing wrong with the packaging beacuse I can load the plugin temporary over about:debugging with no problems. I didn't upload it anywhere and it's not signed. It's just a .zip file created with the windows explorer. When I try to install my extension normally(about:addons > install extension from file) firefox just returns the error that the plugin "seems to be corrupted". I don't think it's not the signed-problem because I changed the key xpinstall.signature.required to false.

more options

PS: I'm blocked on https://discourse.mozilla.org because I'm new there.

more options

選擇的解決方法

You need Firefox 52 ESR to be able to use xpinstall.signature.required. Firefox 48+ releases including 57 do not support this pref.

由 cor-el 於 修改

more options

Oh, OK thanks