为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Error when installing my own Add-On

  • 8 个回答
  • 1 人有此问题
  • 3 次查看
  • 最后回复者为 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