Results 1 to 1 of 1

Thread: How To Install Unsigned Addons on FF 49+

  1. #1
    Advanced User Renk's Avatar
    Join Date
    P2P Client
    Activity Longevity
    3/20 18/20
    Today Posts
    1/5 ssssss538

    How To Install Unsigned Addons on FF 49+

    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.*
    try {
    Components.utils.import("resource://gre/modules/addons/XPIProvider.jsm", {})
    catch(ex) {}

    2) Fom FF 55 until ??? (at least FF 56)
    try {
    Components.utils.import("resource://gre/modules/addons/XPIProvider.jsm", {})
    catch(ex) {}
    try {
    Components.utils.import("resource://gre/modules/addons/XPIInstall.jsm", {})
    catch(ex) {}
    In config-prefs.js write
    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
    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.
    Last edited by Renk; 14.10.17 at 01:36.
    Reply With QuoteReply With Quote

  2. Who Said Thanks:

    anon (14.10.17) , cloud99 (14.10.17) , H265 (14.10.17) , Instab (14.10.17)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts