Funkcionalnosć toś togo sedła se pśez wótwardowańske źěła wobgranicujo, kótarež maju wašo dožywjenje pólěpšyś. Jolic nastawk waš problem njerozwězujo a cośo pšašanje stajiś, wobrośćo se na našo zgromoźeństwo pomocy, kótarež na to caka, wam na @FirefoxSupport na Twitter a /r/firefox na Reddit pomagaś.

Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Dalšne informacije

Are there any instructions for locking preferences in Firefox 8? I need to prevent users amending the proxy settings.

  • 2 wótegronje
  • 2 matej toś ten problem
  • 4 naglědy
  • Slědne wótegrono wót stewmang

more options

Created byteshifted mozilla.cfg file called by local-settings.js with line: lock_Pref("network.proxy.type", 0);

Whilst I can launch firefox with no errors, the proxy settings are still available.

Also is it possible to set user preferences and lock them within the same mozilla.cfg file?

Created byteshifted mozilla.cfg file called by local-settings.js with line: lock_Pref("network.proxy.type", 0); Whilst I can launch firefox with no errors, the proxy settings are still available. Also is it possible to set user preferences and lock them within the same mozilla.cfg file?

Wubrane rozwězanje

The name of the function is lockPref().
Also make sure that the first line is a comment line(//)

//
lockPref("network.proxy.type", 0);

See:

You can use these functions in mozilla.cfg:

defaultPref();  // set new default value
pref();         // set pref, but allow changes in current session
lockPref();     // lock pref, disallow changes
Toś to wótegrono w konteksće cytaś 👍 0

Wšykne wótegrona (2)

more options

Wubrane rozwězanje

The name of the function is lockPref().
Also make sure that the first line is a comment line(//)

//
lockPref("network.proxy.type", 0);

See:

You can use these functions in mozilla.cfg:

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

As well as having an incorrect underscore in the function name I was also byteshifting the mozilla.cfg file. When I amended the function name and left the file in clear text the proxy settings were locked. It won't work with the byteshifted file. Thanks for your help.