Old 29th July 2012, 14:59   #1
Junior Member
Join Date: Jul 2012
Posts: 1
Question Edit Start Page (Chrome/Firefox/IE)


Does anybody have the code to edit the homepage of the most used browsers (Chrome/Firefox/IE)? Thanks!
Heisenberg is offline   Reply With Quote
Old 29th July 2012, 15:28   #2
Afrow UK
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.

Afrow UK is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump