为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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