Remind that until FF 48, it suffices to toggle in about:config the preference xpinstall.signatures.required to false.
But this trick no more work for FF 49 and later.
For being able to install unsigned addon on FF 49 and later, you have to create 2 small files: config.js and config-prefs.js.
In config.js write:
1) From FF 49.* until FF 54.*
Code:
//
try {
Components.utils.import("resource://gre/modules/addons/XPIProvider.jsm", {})
.eval("SIGNED_TYPES.clear()");
}
catch(ex) {}
2) Fom FF 55 until ??? (at least FF 56)
Code:
//
try {
Components.utils.import("resource://gre/modules/addons/XPIProvider.jsm", {})
.eval("SIGNED_TYPES.clear()");
}
catch(ex) {}
try {
Components.utils.import("resource://gre/modules/addons/XPIInstall.jsm", {})
.eval("SIGNED_TYPES.clear()");
}
catch(ex) {}
In config-prefs.js write
Code:
pref("general.config.obscure_value", 0);
pref("general.config.filename", "config.js");
Then, you have to put these file in the appropriate directories.
config.js has to be put in the root folder of FF:
C:\Program Files\Mozilla Firefox\ for 32 bits windows systems
C:\Program Files (x86)\Mozilla Firefox\ for 64 bits windows systems,
/usr/lib/firefox-<version> for 32 bits Linux
/usr/lib64/firefox-<version>
App\Firefox64 in case of portable 64 bits FF, etc etc
config-prefs.js has to be put in the defaults\pref subfolder of the above FF root folder (where config.js has been put), eg C:\Program Files\Mozilla Firefox\defaults\pref
Then restart your FF: You wil be able to install unsigned extension (such as developpement/beta ones, or some usefull but old extension).
Let see how long Mozilla will tolerate this hack to work...
Remark: Be aware that the file config-prefs.js will prevent you from installing webextensions. To nevertheless install such an extention, you just have to move config-prefs.js from the directory you have put it in, restart FF, install the webext, put config-prefs.js in the appropriate directory again, and restart.
https://github.com/5digits/dactyl/wi...ox-49-or-later
Bookmarks