4 ms·
Run this in your Browser Console[1] to delay signature checking for a day: function set_xpi_sign_time_now() { const {Services} = ChromeUtils.impor
by pritambaral 7y ago
Run this in your Browser Console[1] to delay signature checking for a day:
function set_xpi_sign_time_now() {
const {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
const now = (new Date()).getTime() / 1000;
Services.prefs.setIntPref('app.update.lastUpdateTime.xpi-signature-verification', now);
}
set_xpi_sign_time_now();
EDIT: Changed `Components.utils.import` to `ChromeUtils.import` because apparently Beta and Nightly versions have removed the former, while the latter was introduced in 60.
This does the equivalent of setting in about:config the time of last signature verification to the current time. By default, Firefox re-checks signatures in 24 hours (or so I read somewhere here). I like the temporary effect of this, compared to the permanent disabling of signature verification suggested elsewhere.
----
1: https://developer.mozilla.org/en-US/docs/Tools/Browser_Console https://developer.mozilla.org/en-US/docs/Tools/Browser_Conso...
- nodja 7y agoCan you set this to the future and get say a week of buffer time for the fix to get pushed? edit: nope, you cannot:(
- pritambaral 7y ago1. I don't think that'd be necessary; I believe Mozilla will fix it in a day, or two at most (PS: they're currently testing a fix); and 2. I don't know if there's sanity-checking code in Firefox to ignore times in the future.
- nodja 7y agoI tried it and it was set to 0 when I restarted firefox (and the extensions were gone).
- rampant_ai 7y agoI tried essentially the same thing but via about:config. All it did was make it happen immediately on next restart. Also if it hasn't happened to you yet, make a backup of your profile right now in case it wipes out your addons data as some have reported.
- gianpaj 7y agoComponents.utils is undefined (Firefox 67.0b16 macOS)
- pritambaral 7y agoTry `ChromeUtils.import("resource://gre/modules/Services.jsm")`.
- l0b0 7y agoOutside of about:addons I get this in Firefox 66.0.3 in Linux: > ReferenceError: ChromeUtils is not defined Also, this doesn't seem to help with currently disabled add-ons, unless I'm missing something. Trying to reinstall Adblock Plus, for example, still results in > Download failed. Please check your connection.
- pritambaral 7y ago> Outside of about:addons ... You seem to be trying in a standard Web Console, not the Browser Console.
- wwwadwdad 7y agoBeginning in Firefox version 52 released March 7, 2017, installed NPAPI plugins are no longer supported in Firefox, except for Adobe Flash. Some of the plugins that no longer load in Firefox, even though they may be installed on your computer, include Java, Microsoft Silverlight and Adobe Acrobat. See this compatibility document for details. https://support.mozilla.org/en-US/kb/npapi-plugins?as=u&utm_source=inproduct https://support.mozilla.org/en-US/kb/npapi-plugins?as=u&utm_...