+ Reply to Thread
Results 1 to 1 of 1

Thread: How To Install Unsigned Addons on FF 49+

  1. #1
    Advanced User Renk's Avatar
    Join Date
    17.08.08
    Location
    Elsewhere
    P2P Client
    utorrent
    Posts
    581
    Activity Longevity
    0/20 19/20
    Today Posts
    0/5 ssssss581

    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.*
    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
    Last edited by Renk; 14.10.17 at 01:36.
    Reply With QuoteReply With Quote
    Thanks

  2. Who Said Thanks:

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

+ Reply to Thread

Tags for this Thread

Posting Permissions

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