![]() ![]() * eslint no-unused-vars: ["error", ) :40Īlso what hotfix you refer too. xpi mozilla created) work in firefox 56's browser console instead: ![]() You should figure out how to make the following code (pulled from the. My code (which you ported) will need to be rerun every 24h to reset the signing state (assuming old firefox works like new firefox, it probably does). Hey, so if you're going to do this, you're porting the wrong code. Please let me know which versions are compatible, and where it breaks down!ĭon't forget to enable in about:config and use the actual browser console, not the web console Let XPIDatabase = Īwait XPIProvider.updateAddonDisabledState(addon) ?Ĭ("resource://gre/modules/addons/XPIProvider.jsm") So I dug around a little (okay, a lot) and worked out a solution for v. I use v56.0.2 because that was the last time we actually got to customize the browser (yes, boo me for using an old version). This does not work for FF versions older than v57. If( addon.signedState != AddonManager.SIGNEDSTATE_UNKNOWN )Īddon.signedState = AddonManager.SIGNEDSTATE_NOT_REQUIRED ĪddonManagerPrivate.callAddonListeners("onPropert圜hanged",Īwait XPIDatabase.updateAddonDisabledState(addon) The add-on might have vanished, we'll catch that on the next startup Let addons = await XPIDatabase.getAddonList(a => true) Until mozilla fixes the problem you will need to redo this once every 24 hours:Ĭ("resource://gre/modules/addons/XPIDatabase.jsm") Ĭ("resource://gre/modules/AddonManager.jsm") Open the browser console by hitting ctrl-shift-jĬopy and paste the following code, hit enter. I am not responsible if this fucks up your install: To re-enable all disabled non-system addons you can do the following.
0 Comments
Leave a Reply. |