We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

set proxy settings

  • 1 reply
  • 11 have this problem
  • 7 views
  • Paskiausią atsakymą parašė 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.

Chosen solution

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:

Skaityti atsakymą kartu su kontekstu 👍 2

All Replies (1)

more options

Chosen Solution

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: