I would like to know if anyone has been able to set custom settings in FireFox 31? I'm trying to push out one single setting to our FireFox users. Which is "No Proxy"

I've read all about the "locking preferences in Mozilla FireFox"   I've tried creating the two files: local-settings.js and Mozilla.cfg. I'm not sure these files even work with FF31? Most references are talking about FF 3 or 4

My "local-settings.js" file contains the following code:

pref(“general.config.obscure_value”, 0);
pref(“general.config.filename”, “mozilla.cfg”);

My Mozilla.cfg file contains the following code:

 lockPref("network.proxy.type", 0);

After I copy these files to the required directory I open FireFox and receive the following :

"Failed to read the configuration file. Please contact your system administrator."

http://kb.mozillazine.org/Locking_preferences   -- Doesn't work at least with FF 31.

Please let me know if anyone has set custom settings in FF 28 or newer and had them stick?

Thank you,


0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity


Start commenting out each line of the mozilla.cfg. I had copy and pasted one from itninja, and it had the homepage set in 2 places. Commented out, then deleted, one of them and it worked fine after that. 
Here's a link to a cfg with a lot of entries for your perusal:
I had to turn off plugin checking, as FF would display the plugins that are "out of date", thus prompting calls from users the first time it launches.
Answered 08/22/2014 by: RHolmes
White Belt

Please log in to comment
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja