Search Support

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

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

  • 1 reply
  • 0 have this problem
  • Last reply by 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)

All Replies (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