Mozilla will shut down Pocket’s services on July 8, 2025. At that time users will no longer be able to access the Pocket website, apps and API. You can export your saved items and API data until October 8, 2025 before they are permanently removed. For more information, see this article.

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
  • 23 views
  • Last reply by cor-el

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:

Read this answer in context 👍 2

All Replies (1)

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: