搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to roll out proxy configuration url?

  • 1 回覆
  • 4 有這個問題
  • 3 次檢視
  • 最近回覆由 cor-el

more options

I would like to roll out the "proxy auto-configuration url" setting on our entire network, via login script. With other Browsers it was easy enough to roll-out a *.reg file adjusting the browsers registry section on every client, but I can't find the pendant for firefox. I read in some forums, that these settings are stored in prefs.js, but couldn't work out a way to distribute that over our network as easy as the .reg files.

I would like to roll out the "proxy auto-configuration url" setting on our entire network, via login script. With other Browsers it was easy enough to roll-out a *.reg file adjusting the browsers registry section on every client, but I can't find the pendant for firefox. I read in some forums, that these settings are stored in prefs.js, but couldn't work out a way to distribute that over our network as easy as the .reg files.

所有回覆 (1)

more options

A possibility is to use a mozilla.cfg file in the Firefox program folder to set new default values for prefs or lock the prefs to specific 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