ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

why mozilla.cfg file is not working with Firefox 21

  • 1 การตอบกลับ
  • 5 คนมีปัญหานี้
  • 16 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย 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>

เปลี่ยนแปลงโดย cor-el เมื่อ

การตอบกลับทั้งหมด (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

เปลี่ยนแปลงโดย cor-el เมื่อ