script to set No Proxy for FF 31 on Mac ?
I'm looking for a script I can push out to set FireFox 31 to use No Proxy.
All Replies (2)
Hi pcteklink, Thank you for your question, I understand that you would like to know if there is a script to change a network preference.
Please see: http://kb.mozillazine.org/Locking_preferences
Force config Step:1) Created a file name like "local-settings.js" in -- /usr/lib/firefox/defaults/pref --- Pasted this line -- pref("general.config.filename", "mozilla.cfg"); --- in "local-settings.js" Step :2) Created a file name like "mozilla.cfg" in -- /usr/lib/firefox --- And copy and paste the below line in this "mozilla.cfg" file.
defaultPref(); // set new default value pref(); // set pref, but allow changes in current session lockPref(); // lock pref, disallow changes //not 100% on these you will have to take a look at about:config entries. lockPref("network.proxy.type", 0); lockPref("network.proxy.share_proxy_settings", true);
Cheers.