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”.

Learn More

why mozilla.cfg file is not working with Firefox 21

  • 1 odpowiedź
  • 5 osób ma ten problem
  • 10 wyświetleń
  • Ostatnia odpowiedź od cor-el

more options
//@line 2 "e:\builds\moz2_slave\rel-m-rel-w32-bld\build\browser\app\profile\channel-prefs.js"
user_pref("browser.startup.homepage","https://www.mytest.com");
lockpref("browser.shell.checkDefaultBrowser", false);
lockpref("app.update.enabled", false);
lockpref("browser.rights.3.shown", true);
lockpref("startup.homepage_welcome_url", "https://www.mytste.com");
lockpref("network.automatic-ntlm-auth.trusted-uris", "https://www.mytest.com");
lockpref("extensions.checkCompatibility.nightly", false);
<pre><nowiki>//@line 2 "e:\builds\moz2_slave\rel-m-rel-w32-bld\build\browser\app\profile\channel-prefs.js" user_pref("browser.startup.homepage","https://www.mytest.com"); lockpref("browser.shell.checkDefaultBrowser", false); lockpref("app.update.enabled", false); lockpref("browser.rights.3.shown", true); lockpref("startup.homepage_welcome_url", "https://www.mytste.com"); lockpref("network.automatic-ntlm-auth.trusted-uris", "https://www.mytest.com"); lockpref("extensions.checkCompatibility.nightly", false);</nowiki></pre>

Zmodyfikowany przez cor-el w dniu

Wszystkie odpowiedzi (1)

more options

user_pref doesn't work in mozilla.cfg
Also the proper name of the function is lockPref() and not lockpref().

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

Zmodyfikowany przez cor-el w dniu