![]() ![]() To change the information within your about:config preferences (in this case the homepage) you need to modify the prefs.js file. (In Win7, the folder is C:\Users\YOURUSERNAME\AppData\Roaming\Mozilla\Firefox\Profiles\YOURPROFILE\) I haven't looked into changing IE or Chrome, but here's what I found for Firefox:įirefox doesn't store its settings in the registry, but rather it saves it in a prefs.js file within your Application Data folder. ("", "") Ĭhrome settings are in %USERPROFILE%\Local Settings\Application Data\Google\Chrome\User and are a little bit encrypted as npocmaka mentioned.īut you can do a workaround like by just pasting following javascript into the "Home Page" pref field (under your Chrome options) and it works as expected when clicking the "Home" button. The easiest way to do this in an add-on via JavaScript is: ("resource://gre/modules/Services.jsm") You can change the Firefox homepage by setting the preference "" ![]() You will need to add or edit the line that looks like: user_pref("", "as mentioned: offĬd /D "%APPDATA%\Mozilla\Firefox\Profiles"Įcho user_pref("", "") >"?ile%\prefs.js" What you will need to do is programmatically edit the prefs.js file in the user profile for Firefox found in the directory C:\Users\ \AppData\Roaming\Mozilla\Firefox\Profiles\ You can do that like below: REG ADD "HKCU\Software\Microsoft\Internet Explorer\Main" /V "Start Page" /D "" /FįF uses a JavaScript (prefs.js in your FireFox User Profile) and not a Registry entry.
0 Comments
Leave a Reply. |