Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change home page in Internet Explorer using C#?

Tags:

c#

Is it possible to change home page in Internet Explorer in C# application? Solution for other browsers (Firefox, Chrome) would be also nice.

like image 994
JJohn Avatar asked Jun 09 '12 17:06

JJohn


People also ask

How do I change my Internet Explorer home page?

Open Internet Explorer, select the Tools button , and then select Internet options. On the General tab, under Home page, enter the URL of the site you want to set as a home page.

Can you change home page in any browser?

Open Google Chrome, then select the three, vertical dots next to the profile icon. Select Settings, then under Appearance, turn the toggle for Show home button to on. Choose the option you'd like to use: New Tab page or Enter custom web address.


1 Answers

Well, for IE, you have to set registry key:

HKCU\Software\Microsoft\Internet Explorer\Main\Start Page

For firefox, you will need to edit the js file: prefs.js. This can be found in: C:\Users\ [USERNAME]\AppData\Roaming\Mozilla\Firefox\Profiles\ [User Subfolder]

Chrome, Stores it data in: C:\Users\<username>\AppData\Local\Chromium\User Data\Default folder in a Preferences file. This is in JSON format. Editing it shouldn't be trouble

like image 157
nunespascal Avatar answered Oct 25 '22 13:10

nunespascal