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

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

You should prevent users from editing the browser settings (namely, the proxy server settings)

  • 4 risposte
  • 6 hanno questo problema
  • 287 visualizzazioni
  • Ultima risposta di migovde

more options

On the operating system of windows where the Mozilla browser is installed, it is desirable to disable all settings (they are interested in the proxy server settings that could not be changed / deleted

On the operating system of windows where the Mozilla browser is installed, it is desirable to disable all settings (they are interested in the proxy server settings that could not be changed / deleted

Soluzione scelta

You can use the mozilla.cfg file in the Firefox program folder to set or lock preferences and run privileged JavaScript code.

A local-settings.js file needs to be placed 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

The mozilla.cfg and local-settings.js files need to start with a comment line (//).

See Configuration:

See also:

Leggere questa risposta nel contesto 👍 1

Tutte le risposte (4)

more options

migovde said

On the operating system of windows where the Mozilla browser is installed, it is desirable to disable all settings (they are interested in the proxy server settings that could not be changed / deleted

So Firefox users on Windows OS should have all setting disabled, because those users are interested in the proxy server settings?

Or maybe you're asking, if there's an option to disable modifying the proxy settings? Yes, there is such an option.

more options

I would like to prevent access to the browser settings themselves, can this be done?

Modificato da migovde il

more options

Soluzione scelta

You can use the mozilla.cfg file in the Firefox program folder to set or lock preferences and run privileged JavaScript code.

A local-settings.js file needs to be placed 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

The mozilla.cfg and local-settings.js files need to start with a comment line (//).

See Configuration:

See also:

more options

Thanks a question is resolved