Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Firefox 14.0.1 issue with channel-prefs.js

  • 8 отговора
  • 17 имат този проблем
  • 9 изгледи
  • Последен отговор от sidhugadu

more options

With Firefox 14.0.1, I no longer have any of my default settings "C:\Program Files (x86)\Mozilla Firefox\defaults\pref\channel-prefs.js"

My settings in channel-prefs.js

pref("app.update.auto", false);
pref("app.update.enabled", false);
pref("app.update.service.enabled", false);
pref("webgl.disabled", true);
pref("browser.shell.checkDefaultBrowser", false);

do not appear in about:config

With Firefox 14.0.1, I no longer have any of my default settings "C:\Program Files (x86)\Mozilla Firefox\defaults\pref\channel-prefs.js" My settings in channel-prefs.js pref("app.update.auto", false); pref("app.update.enabled", false); pref("app.update.service.enabled", false); pref("webgl.disabled", true); pref("browser.shell.checkDefaultBrowser", false); do not appear in about:config

Променено на от cor-el

Всички отговори (8)

more options

i have used channel-prefs.js for years too so what is wrong with 14.0.1 now ???

more options

You can 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:

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

But what happened with channel-prefs.js, this worked soo long and it is only one file.

Currently i get failed to read config. Who is guilty making this happen, Mozilla please fix it fast because it is matter of life and death that i can use only one config file.

Looks like at least mozilla have not yet destroyed ability to use omni.ja, i placed channel-prefs in defaults\preferences\ inside omni.ja and looks like it works... and if it works in future too i am pleased and no fix is needed.

Променено на от uffokast

more options

What is the content of the not obfuscated file mozilla.cfg?

Does the file start with a blank comment line (//)?

It is possible that there is an error with one or more lines in the file like unsupported prefs or the wrong type.

more options

like i said placing channel-prefs.js inside omni.ja defaults\preferences\ solves issue. This is way better solution than mozila.cfg based so case closed and i hope omni.ja method works forever.

Променено на от uffokast

more options

How do you place a channel-prefs.js file in a omni.ja.

more options

You don't.
The channel-prefs.js is placed in its own folder and not in the omni.ja archive because it never gets touched and never should be touched by an update, only a full install can change the update channel.

more options

cor-el but how do you get the preference file. I am trying to create a msi. I want to disable the auto update feature. Is there any anyway that I can do it.