Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access Google Chrome browser history programmatically on local machine

I want to write a simple program which shows my internet activity over a period of time (which site I visited, how many times and so on). I mostly use Google Chrome browser. I found out Chrome stores browser history at this location (please correct me if I'm wrong)

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

How can I open the history files? They don't have any file extension. I could not open using notepad, SQLite browser. How do I access this data programmatically? I want to know which file format it is and how to read it using a programming language like C#.

like image 891
Tejas Avatar asked Apr 01 '10 16:04

Tejas


People also ask

Can I access my Chrome history from another device?

See your Chrome info on all your devicesAfter you've turned on sync, you can see information you've saved on other devices. When you're signed in to Chrome, you can also access your passwords saved to your Google Account and payment info from Google Pay.

Where is Chrome history stored locally?

Google Chrome history location and details Chrome history is stored in an SQLite database, the filename is History and can be found in the following locations: Microsoft Windows Vista, 7, 8, 10. C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default.


1 Answers

It is just a SQlite 3 database, I was able to open it successfully (though of course you can't open a locked database of a running browser).

like image 172
wRAR Avatar answered Oct 08 '22 11:10

wRAR