Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Learn More

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

why mozilla.cfg file is not working with Firefox 21

  • 1 antwoord
  • 5 hebben dit probleem
  • 18 weergaven
  • Laatste antwoord van 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>

Bewerkt door cor-el op

Alle antwoorden (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

Bewerkt door cor-el op