Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Learn More

why mozilla.cfg file is not working with Firefox 21

  • 1 svar
  • 5 har detta problem
  • 8 visningar
  • Senaste svar av 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>

Ändrad av cor-el

Alla svar (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

Ändrad av cor-el