Difference between revisions of "Google Chrome"
Joachim Metz (Talk | contribs) |
Joachim Metz (Talk | contribs) |
||
Line 71: | Line 71: | ||
=== Timestamps === | === Timestamps === | ||
− | The '''History''' file uses the | + | The '''History''' file uses the different timestamps. |
==== visits.visit_time ==== | ==== visits.visit_time ==== | ||
− | The | + | The '''visits.visit_time''' is in (the number of) microseconds since January 1, 1601 UTC |
Some Python code to do the conversion into human readable format: | Some Python code to do the conversion into human readable format: | ||
Line 87: | Line 87: | ||
==== downloads.start_time ==== | ==== downloads.start_time ==== | ||
− | The | + | The '''downloads.start_time''' is in (the number of) seconds since January 1, 1970 UTC |
Some Python code to do the conversion into human readable format: | Some Python code to do the conversion into human readable format: |
Revision as of 10:09, 3 November 2011
Google Chrome is a web browser developed by Google Inc.
Contents
Configuration
The Google Chrome configuration can be found in the Preferences file.
On Linux
/home/$USER/.config/google-chrome/Default/Preferences
On MacOS-X
/Users/$USER/Library/Application Support/Google/Chrome/Default/Preferences
On Windows XP
C:\Documents and Settings\%USERNAME%\Local Settings\Application Data\Google\Chrome\User Data\Default\Preferences
On Windows Vista and later
C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default\Preferences
Plugins
Information about plugins can be found under the "plugins section" of the Preferences file.
DNS Prefetching
DNS is prefetched for related sites, e.g. links on the page. This behavior is controlled by the setting "Predict network actions to improve page load performance" Which is enabled by default.
If enabled the Preferences file contains:
"dns_prefetching": { "enabled": true,
If disabled the Preferences file contains:
"dns_prefetching": { "enabled": false,
Start-up DNS queries
When Chrome starts it queries for several non-existing hostnames that consists of a 10 random characters, E.g.
ttrgoiknff.mydomain.com bxjhgftsyu.mydomain.com yokjbjiagd.mydomain.com
This is used to determine if your ISP is hijacking NXDOMAIN results [1].
Disk Cache
The Chrome Cache contains different files with the following file names:
- index
- data_#; where # contains a decimal digit.
- f_######; where # contains a hexadecimal digit.
For more info see Chrome developers site [2].
History
Chrome stores the history of visited sites in a file named History. This file uses the SQLite database format.
The History' file can be found in same location as the Preferences file.
Timestamps
The History file uses the different timestamps.
visits.visit_time
The visits.visit_time is in (the number of) microseconds since January 1, 1601 UTC
Some Python code to do the conversion into human readable format:
date_string = datetime.datetime( 1601, 1, 1 ) + datetime.timedelta( microseconds=timestamp )
Note that this timestamp is not the same as a Windows filetime which is (the number of) 100 nanoseconds since January 1, 1601 UTC
downloads.start_time
The downloads.start_time is in (the number of) seconds since January 1, 1970 UTC
Some Python code to do the conversion into human readable format:
date_string = datetime.datetime( 1970, 1, 1 ) + datetime.timedelta( seconds=timestamp )
Example queries
Some example queries:
To get an overview of the visited sites:
SELECT visits.visit_time, urls.url, urls.title FROM urls, visits WHERE urls.id = visits.url;
To get an overview of the downloaded files:
SELECT downloads.start_time, downloads.url, downloads.full_path, downloads.received_bytes, downloads.total_bytes FROM downloads;