X
Tap here to go to the mobile version of the site.

Support Forum

How to I set proxy settings to auto-detect in a script?

Posted

I work in the IT service desk at my school, and I am trying to make a silent install of Firefox 11 for the campus computers. I got everything working, but I need the default proxy settings to be "Auto-Detect Proxy Settings."

I work in the IT service desk at my school, and I am trying to make a silent install of Firefox 11 for the campus computers. I got everything working, but I need the default proxy settings to be "Auto-Detect Proxy Settings."

Additional System Details

Installed Plug-ins

none

Application

  • User Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET4.0E)

More Information

cor-el
  • Top 10 Contributor
  • Moderator
12737 solutions 117068 answers

Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify 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

Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify 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: * http://kb.mozillazine.org/Locking_preferences 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 ----- *http://kb.mozillazine.org/network.proxy.type