Mike Hommey has provided the following information:
Put a .js file in /etc/iceweasel/prefs containing the following:
pref("security.,enable_java", false);
You can even prevent users to enable it later by replacing "pref" with
"lockPref".
I tried adding the following line to :/etc/iceweasel/pref/iceweasel.js,
but the option still appears to be controllable by the end user, so maybe I
did something wrong:
lockPref("security.,enable_java", false);
Mark.
--
Mark Hobley
Linux User: #370818 http://markhobley.yi.org/
Perhaps IceWeasel uses /usr/lib/iceweasel-<build>.
cf. http://kb.mozillazine.org/Locking_preferences
http://kb.mozillazine.org/Installation_directory
Also the "," in security.enable_java is a typo.
> Also the "," in security.enable_java is a typo.
Yeah, I removed the comma, and it works. Cheers Allen.
I am trying to do the same with mozilla-browser now, which I use one some
machines, because it has composer built in. This time I added the same
line to the /etc/iceape/pref/base.js configuration file:
// Disable java
lockPref("security.enable_java", false);