搜尋 Mozilla 技術支援網站

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

了解更多

How to roll out proxy configuration url?

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

more options

Our new Astaro/Sophos Firewall allows me to use "FW-IP:8080/wpad.dat" as auto proxy configuration URL. For the ie it was easy enough to roll that out via *.reg file and login script of our users. But in Firefox, that setting doesn't seem to be in the registry, but in the prefs.js file. Is there a possibility to roll that Setting out via login-script too, or do I have to set that manually on every client? (atm. we're using NetWare (and the login script)) ...

PS: yes, I know, I want to change that away from novell, but that's not gonna be very soon...

Our new Astaro/Sophos Firewall allows me to use "FW-IP:8080/wpad.dat" as auto proxy configuration URL. For the ie it was easy enough to roll that out via *.reg file and login script of our users. But in Firefox, that setting doesn't seem to be in the registry, but in the prefs.js file. Is there a possibility to roll that Setting out via login-script too, or do I have to set that manually on every client? (atm. we're using NetWare (and the login script)) ... PS: yes, I know, I want to change that away from novell, but that's not gonna be very soon...

所有回覆 (1)

more options

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

See also Related preferences: