View Single Post
Old 29th July 2012, 15:28   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
It is different for all 3 browsers. For Chrome you must modify the Preferences file which is in JSON format. You can use my nsJSON plug-in to change it. For Firefox it's stored in the prefs.js file which is in JavaScript format. You can easily write a function which changes its "browser.startup.homepage" value set in there. For IE it is set in the registry under HKLM and under individual users' registry under the key Software\[Wow6432Node\]Microsoft\Internet Explorer\Main. To change its value under all keys you can use the EnumUsersReg macro from the NSIS Wiki.

Stu
Afrow UK is offline   Reply With Quote