How do I enable a Java plug-in via script that was just added to the blocklist?
I need to enable Java 6u29 that was just added to the blocklist via script because there are several thousand end-nodes involved. Also, I am constrained to Firefox 3.6 due application compatibility issues.
すべての返信 (2)
The script has added Java 6u29 to the fx 3.6 blocklist on several thousand end-nodes and you need to revert the action/unblock Java? Have I understood it correctly?
Probably the only or easiest way to remove or disable the blocklist of older Java versions would be to disable blocklisting by locking the extensions.blocklist.enabled to false via a mozilla.cfg file.
You are already running a no longer supported Firefox 3.6.x version that won't receive updates.
You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.
Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0); // use this to disable the byte-shift
See:
You can use these functions in mozilla.cfg:
defaultPref(); // set new default value pref(); // set pref, but allow changes in current session lockPref(); // lock pref, disallow changes
lockPref("extensions.blocklist.enabled", false);