Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firefox disable the add on I'm developing

I'm developing an Firefox add-on with it's latest jpm SDK.

After I done the major code, I use jpm run command to run the extension.

but the addon is disabled. it says "ADDON NAME could not be verified for use in FIREFOX VERSION and has been disabled."

like in the picture. enter image description here anyone know how to turn off this Firefox feature?

like image 743
Hank X Avatar asked Aug 17 '15 15:08

Hank X


People also ask

How do I disable developer mode in Firefox?

Hi, try: Type '''about:config''' into the address bar, press Enter, accept the warning, scroll down to '''devtools. scratchpad. enabled''' and double click on it to change 'Value' from True to False, then restart Firefox. ''If your question is resolved by this or another answer, please take a minute to let us know.


2 Answers

The permanent fix in jpm to avoid having to go to preferences and disable signatures requirement every time you do "jpm run" is to change the preferences.js in your jpm profile, like this:

"xpinstall.signatures.required" : false

in file

npm\node_modules\jpm\data\preferences.js

See this changelist for an example: https://github.com/mozilla-jetpack/jpm/commit/d7f9b51f73d829e65d900a2cb0eed0cbaa957250

Credits for the original answer here

like image 91
Sebas LG Avatar answered Sep 18 '22 13:09

Sebas LG


From a comment left on a GitHub issue with the same problem last week:

Go to about:config and toggle the xpinstall.signatures.required preference.
— Keith94's comment (linked above)

like image 24
James Donnelly Avatar answered Sep 21 '22 13:09

James Donnelly