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

Toś ta nitka jo se zacyniła a archiwěrowała. Pšosym stajśo nowe pšašanje, joli trjebaśo pomoc.

Firefox 19 does not honor lockPref settings

  • 3 wótegrona
  • 5 ma toś ten problem
  • 1 naglěd
  • Slědne wótegrono wót cor-el

more options

Since several months I have successfully used "lockPref" to lock settings (specifically, proxy settings) on Firefox 17 and Firefox 18.
I am running Ubuntu 10.04, and I have used the file:
/etc/firefox/pref/firefox.js.
Firefox 17 did not always honor those settings. Often it did, sometimes it did'nt. I also found that there is another file location some people are using (?), and this is:

usr/lib/firefox/defaults/preferences/vendor-firefox.js 

To be sure, I put my settings into both of them. With Firefox 18, it did honor those settings. So this was working well.
(Note - I have NOT used any byteshifting or anything, as one can read was necessary for old versions of Firefox. There being no clear documentation by version, I feel I have no way to tell if this is actually still required or not. It was working without any byteshifting on Firefox 17 and 18.)

I just upgraded to Firefox 19 - and voila (of course, I might say) again the settings are not being honored. This time they are NEVER honored. They are JUST IGNORED, EVERY TIME.

This is very upsetting - can someone please point out what is now changed?
Do I now need to use yet another configuration locking file location?
Or do I suddenly need to do this byteshifting thing - if so what is the procedure right now for this?

Settings I am trying to lock are:

//set proxy server settings
lockPref("network.proxy.http", "a.b.c.d");
lockPref("network.proxy.http_port", yy);
lockPref("network.proxy.https", "a.b.c.d");
lockPref("network.proxy.https_port", yy);
lockPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");
lockPref("network.proxy.type", 1);

Since several months I have successfully used "lockPref" to lock settings (specifically, proxy settings) on Firefox 17 and Firefox 18.<br /> I am running Ubuntu 10.04, and I have used the file:<br /> /etc/firefox/pref/firefox.js. <br /> Firefox 17 did not always honor those settings. Often it did, sometimes it did'nt. I also found that there is another file location some people are using (?), and this is:<br /> usr/lib/firefox/defaults/preferences/vendor-firefox.js <br /> To be sure, I put my settings into both of them. With Firefox 18, it did honor those settings. So this was working well.<br /> (Note - I have NOT used any byteshifting or anything, as one can read was necessary for old versions of Firefox. There being no clear documentation by version, I feel I have no way to tell if this is actually still required or not. It was working without any byteshifting on Firefox 17 and 18.)<br /> <br /> I just upgraded to Firefox 19 - and voila (of course, I might say) again the settings are not being honored. This time they are NEVER honored. They are JUST IGNORED, EVERY TIME.<br /> <br /> This is very upsetting - can someone please point out what is now changed? <br /> Do I now need to use yet another configuration locking file location?<br /> Or do I suddenly need to do this byteshifting thing - if so what is the procedure right now for this?<br /> <br /> Settings I am trying to lock are:<br /> <br /> //set proxy server settings<br /> lockPref("network.proxy.http", "a.b.c.d");<br /> lockPref("network.proxy.http_port", yy);<br /> lockPref("network.proxy.https", "a.b.c.d");<br /> lockPref("network.proxy.https_port", yy);<br /> lockPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1");<br /> lockPref("network.proxy.type", 1);

Wót cor-el změnjony

Wšykne wótegrona (3)

more options

Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.

Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0); // use this to disable the byte-shift

See:

These functions can be used in the mozilla.cfg file:

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

See also:

more options

Did not work for me - I need the DEFAULT settings for ALL USERS. So when a new user account gets created, then it should take the defaults from there. As mentioned above, it does "mostly" files you put into etc-firefox-pref- folders.

more options

Maybe it is best to continue the conversation in your other thread about locking prefs, so I'm closing this thread.

Please continue here: