/build/static/layout/Breadcrumb_cap_w.png

How to set FireFox 31 to use No Proxy via script or file. Cannot use the GUI for this.

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,


B




0 Comments   [ + ] Show comments

Answers (1)

Posted by: RHolmes 10 years ago
White Belt
0
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.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ