Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

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

Learn More

set proxy settings

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

more options

I support about 1,000 customers and my manager has just approved the use of FireFox with a condition that we set a proxy and it is set each time a user starts Firefox. I would like a VB Script that sets the proxy settings each time Firefox is started. I would think this could be done when the customer starts a script, the script sets the proxy settings and then starts the firefox program. Any suggestions or ideas would be appreciated.

I support about 1,000 customers and my manager has just approved the use of FireFox with a condition that we set a proxy and it is set each time a user starts Firefox. I would like a VB Script that sets the proxy settings each time Firefox is started. I would think this could be done when the customer starts a script, the script sets the proxy settings and then starts the firefox program. Any suggestions or ideas would be appreciated.

被選擇的解決方法

You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.

Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

See:

See also:

從原來的回覆中察看解決方案 👍 2

所有回覆 (1)

more options

選擇的解決方法

You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.

Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

See:

See also: