Does changing the default value of a preference in firefox.cs gets affected for all the users.
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)
Svi odgovori (1)
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