Page 2 of 2

Re: 5.1.8.7rc4 is not signed

Posted: Fri Oct 05, 2018 3:25 pm
by therube
Presumably you put two files into the FF installation directory.
Remove them (or rename) & restart FF.

> mozilla.cfg
> autoconfig.js

https://forums.informaction.com/viewtop ... 662#p98662

Re: 5.1.8.7rc4 is not signed

Posted: Fri Oct 05, 2018 7:40 pm
by harryray2
Thanks, I did that but I got an error message stating 'failed to read the config file'

I don't know if it makes a difference but I'm running a portable version of FF

Re: 5.1.8.7rc4 is not signed

Posted: Sat Oct 06, 2018 12:03 pm
by fatboy
mozilla.cfg

Code: Select all

try {
// All lines of your code (without "//")
} catch (e) {
Components.utils.reportError(e);
}
"Then firefox will start and you can look at the console"

Re: 5.1.8.7rc4 is not signed

Posted: Tue Jun 11, 2019 3:31 pm
by Wyatt
If, as I suspect is often going to be the case, you cannot modify the Firefox install directory because of company IT policy (likely the same policy that has you stuck on an old Firefox), I discovered (first hand) that as an alternative to the autoconfig.js approach, it also works to use the JS console.

1. set `devtools.chrome.enabled` to true in about:config
2. hit Ctrl + Shift + J to bring up the console
3. Paste this into the console and hit enter on Fx54 or earlier:

Code: Select all

try { Components.utils.import("resource://gre/modules/addons/XPIProvider.jsm", {}).eval("SIGNED_TYPES.clear()"); } catch(ex) {}
For Fx56 and (I hear) Fx55, you need this one instead:

Code: Select all

try { Components.utils.import("resource://gre/modules/addons/XPIInstall.jsm", {}).eval("SIGNED_TYPES.clear()"); } catch(ex)  {}
4. Install NoScript
5. Reset `devtools.chrome.enabled` and restart Firefox.

This might even be a better way to do it because it's an ephemeral change that won't persist past the restart.

EDIT: Source for the second bit of code is https://www.ghacks.net/2016/08/14/overr ... nt-4220684 I'll note also that there's another that claims to be better a few posts down, but I haven't figured out what it's exactly doing or tried it myself.

Re: 5.1.8.7rc4 is not signed

Posted: Wed Jan 01, 2020 10:48 pm
by supercoolman
problem with this approach is that Firefox disables NoScript on next start
Wyatt wrote: Tue Jun 11, 2019 3:31 pm 1. set `devtools.chrome.enabled` to true in about:config
2. hit Ctrl + Shift + J to bring up the console
3. Paste this into the console and hit enter on Fx54 or earlier:

Code: Select all

try { Components.utils.import("resource://gre/modules/addons/XPIProvider.jsm", {}).eval("SIGNED_TYPES.clear()"); } catch(ex) {}
For Fx56 and (I hear) Fx55, you need this one instead:

Code: Select all

try { Components.utils.import("resource://gre/modules/addons/XPIInstall.jsm", {}).eval("SIGNED_TYPES.clear()"); } catch(ex)  {}
4. Install NoScript
5. Reset `devtools.chrome.enabled` and restart Firefox.