View Single Post
Old 05-04-2019, 02:42 PM   #610
DMcCunney
New York Editor
DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.DMcCunney ought to be getting tired of karma fortunes by now.
 
DMcCunney's Avatar
 
Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
Firefox extensions suddenly disabled

If you use Firefox as your browser, you may have just discovered Firefox has disabled many or all of your loaded extensions.

The problem is that extensions are required to be digitally signed, Firefox checks that status every 24 hours, and a signing certificate Mozilla had issued for various extensions had expired.

Mozilla is working on a fix - this is a major black eye for them, since the extensions are all fine but their certificate isn't - and outrage is a polite descriptor of the response in the Firefox user community.

There is a temporary fix to keep things running until Mozilla gets their act together. If you use Developer Edition or Nightly, type about:config in the URL bar and hit enter. You eill get a screens saying This could void your warranty!. Click the I accept the risk button.

You will now be in the preferences editor that can diddle system level preferences stored in the prefs.js file where Firefox keeps such things.

Type xpi in the Search bar at the top to list all preferences containing that string. The ones you are interested in are xpinstall.signatures.required and xpinstall.whitelist.required

Right-click each and select Toggle to change the value from True to False. Then restart Firefox. This should re-enable disabled extensions. It will not let you install new ones, and if you removed and tried to reinstall disabled extensions, they will still be broken.

The above also worked for me in current Firefox Stable (66.03). Folks elsewhere said it didn't work for them.

If it doesn't work, another possible work around is the following posted on Reddit:

Paste this in the browser console with ctrl+shift+j (if you can't, set devtools.chrome.enabled to enable in about:config)

This needs to be applied once at least 24 hours until Mozilla fixes this I guess

// Re-enable all extensions

async function set_addons_as_signed() {
Components.utils.import("resource://gre/modules/addons/XPIDatabase.jsm");
Components.utils.import("resource://gre/modules/AddonManager.jsm");
let addons = await XPIDatabase.getAddonList(a => true);

for (let addon of addons) {
// The add-on might have vanished, we'll catch that on the next startup
if (!addon._sourceBundle.exists())
continue;

if( addon.signedState != AddonManager.SIGNEDSTATE_UNKNOWN )
continue;

addon.signedState = AddonManager.SIGNEDSTATE_NOT_REQUIRED;
AddonManagerPrivate.callAddonListeners("onProperty Changed",
addon.wrapper,
["signedState"]);

await XPIDatabase.updateAddonDisabledState(addon);

}
XPIDatabase.saveChanges();
}

set_addons_as_signed();


I have not needed to use this, and cannot state from experience whether it works, but it looks like it should.

Update: The fix I posted above for toggling xpiinstall values from True to False just stopped working, and I had the apply the script listed above in the browser console.

It worked, but needs to be reapplied every 24 hours till Mozilla gets a fix out the door.

Color me deeply unhappy. I really don't like Chrome, but a Chrome with extensions that work is better than a Firefox with extensions that don't.
______
Dennis

Last edited by DMcCunney; 05-04-2019 at 03:03 PM.
DMcCunney is offline   Reply With Quote