Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does Google Chrome store my homepage?

I located the Profiles folder for Chrome, but I'm unable to find any file which stores my homepage.

Basically I want to change my Chrome homepage using VB.NET, but I can't find where it is stored. I have already checked the Registry and in the Profiles folder.

Any help would be appreciated.

like image 582
user539493 Avatar asked Dec 04 '25 09:12

user539493


2 Answers

A quick glance at the documentation concerning the User Data Directory tells us that Chrome stores information and parameters for specific users in the following locations:

Windows XP
C:\Documents and Settings\<username>\Local Settings\Application Data\Google\Chrome\User Data\Default

Windows Vista
C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default

In that folder, you'll find a file named "Preferences". The file is saved in JSON format. You can open this file as plain text, search for the string "homepage", and modify one or both of the settings. The first one indicates what Chrome uses as your homepage. The second indicates whether Chrome automatically opens the "New Tab" page (True), or if it navigates to your specified homepage (False).

For example, the relevant two lines in my "Preferences" file look like this:

"homepage": "http://www.google.com/",
"homepage_is_newtabpage": true,
like image 172
Cody Gray Avatar answered Dec 05 '25 23:12

Cody Gray


I found that we can Chrome homepage from entry point of the browser itself. But perhaps your application should be getting admin's permission in that particular machine.

If Im not mistaken, you can set in vb.net so that the app will automatically ask for admin's permission (UAC)

like image 43
Khairul Ikhwan Avatar answered Dec 05 '25 23:12

Khairul Ikhwan