搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Does changing the default value of a preference in firefox.cs gets affected for all the users.

  • 1 回覆
  • 0 有這個問題
  • 最近回覆由 cor-el

more options

Does changing the default value of a preference in firefox.js gets affected for all the users. I tried changing the default balue of "browser.startup.homepage" to "yahoo.com" in firefox.js but yahoo.com is not getting set as the home page. Any reasons why as I am missing something here. Any help to resolve this is greatly appreciated. I have been trying to acheive this programatically.

User Agent

Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.4; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618; msn OptimizedIE8;ENUS; NET_mmhpset)

Does changing the default value of a preference in firefox.js gets affected for all the users. I tried changing the default balue of "browser.startup.homepage" to "yahoo.com" in firefox.js but yahoo.com is not getting set as the home page. Any reasons why as I am missing something here. Any help to resolve this is greatly appreciated. I have been trying to acheive this programatically. == User Agent == Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.4; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618; msn OptimizedIE8;ENUS; NET_mmhpset)

所有回覆 (1)

more options

Set the pref via mozilla.cfg if you want to force it to all users. See http://kb.mozillazine.org/Locking_preferences

defaultPref(); // set new default value pref(); // set pref, but allow changes lockPref(); // lock pref, disallow changes