I know how to set the default homepage for Google Chrome and Internet Explorer, but i searched Google and Stackoverflow for possible answers on how to achieve this with Mozilla Firefox but with no chances.
I’m wondering if there is a possible way to programmatically set a default Start page for Mozilla Firefox browser using C# ( but i can’t figure out where does Firefox store it’s homepage.. )
How can i programatically set/change default homepage for Mozilla Firefox ?
Thanyou in advance.
What you will need to do is programmatically edit the prefs.js file in the user profile for Firefox.
It can be found in the directory C:\Users\ [USERNAME]\AppData\Roaming\Mozilla\Firefox\Profiles\ [Some Subfolder]
You will need to add or edit the line that looks like:
user_pref(“browser.startup.homepage”, “www.google.com”);