Edit Start Page (Chrome/Firefox/IE)
Hi,
Does anybody have the code to edit the homepage of the most used browsers (Chrome/Firefox/IE)? Thanks!
Archive: Edit Start Page (Chrome/Firefox/IE)
Edit Start Page (Chrome/Firefox/IE)
Hi,
Does anybody have the code to edit the homepage of the most used browsers (Chrome/Firefox/IE)? Thanks!
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