Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

set proxy settings

  • 1 odpowiedź
  • 11 osób ma ten problem
  • 35 wyświetleń
  • Ostatnia odpowiedź od 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.

Wybrane rozwiązanie

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:

Przeczytaj tę odpowiedź w całym kontekście 👍 2

Wszystkie odpowiedzi (1)

more options

Wybrane rozwiązanie

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: