History.dat: Difference between revisions
Alice Wyman (talk | contribs) (Intro: SeaMonkey 2 now uses places.sqlite for borwsing history) |
Alice Wyman (talk | contribs) (default browsing history = 90 days in Fx3, SM2. See also links added.) |
||
Line 2: | Line 2: | ||
The file "history.dat" stores the browsing history (a record of visited pages) in Firefox 2 or below and in Mozilla Suite/SeaMonkey 1.x. (Starting in Firefox 3 and SeaMonkey 2, history.dat is no longer used and the browsing history, as well as bookmarks in Firefox 3, is stored in the file [[places.sqlite]].) | The file "history.dat" stores the browsing history (a record of visited pages) in Firefox 2 or below and in Mozilla Suite/SeaMonkey 1.x. (Starting in Firefox 3 and SeaMonkey 2, history.dat is no longer used and the browsing history, as well as bookmarks in Firefox 3, is stored in the file [[places.sqlite]].) | ||
Browsing history should not to be confused with session history which controls the Back and Forward buttons, or with [[downloads.rdf | Browsing history should not to be confused with session history which controls the Back and Forward buttons, or with download history ([[downloads.rdf]] or [[downloads.sqlite]]), which stores details of files saved to the hard drive or opened with external programs. The History Sidebar provides an interface to view and edit this file. | ||
Browsing history is stored for 9 days by default, in Firefox 2 and Mozilla Suite/SeaMonkey 1.x. Starting in Firefox 3 and SeaMonkey 2, browsing history is stored, by default, for a minimum of 90 days up to a maximum of 180 days; history entries older than that are removed. If the history becomes long enough, the file can become large enough to greatly increase the startup time. To reduce the startup time, you can delete all or part of your browsing history, or you can delete the file. | |||
==Editing== | ==Editing== | ||
Line 26: | Line 26: | ||
* [[Browser will not start up ]] | * [[Browser will not start up ]] | ||
* [[Deleting autocomplete entries]] | * [[Deleting autocomplete entries]] | ||
* [[Viewing the browsing history - Firefox]] | |||
* [[browser.history_expire_days]] | |||
* [[browser.history_expire_days_min]] | |||
[[Category:Profile contents (Firefox)]] | [[Category:Profile contents (Firefox)]] | ||
[[Category:Profile contents (Mozilla Suite)]] | [[Category:Profile contents (Mozilla Suite)]] |
Revision as of 18:54, 10 April 2009
The file "history.dat" stores the browsing history (a record of visited pages) in Firefox 2 or below and in Mozilla Suite/SeaMonkey 1.x. (Starting in Firefox 3 and SeaMonkey 2, history.dat is no longer used and the browsing history, as well as bookmarks in Firefox 3, is stored in the file places.sqlite.)
Browsing history should not to be confused with session history which controls the Back and Forward buttons, or with download history (downloads.rdf or downloads.sqlite), which stores details of files saved to the hard drive or opened with external programs. The History Sidebar provides an interface to view and edit this file.
Browsing history is stored for 9 days by default, in Firefox 2 and Mozilla Suite/SeaMonkey 1.x. Starting in Firefox 3 and SeaMonkey 2, browsing history is stored, by default, for a minimum of 90 days up to a maximum of 180 days; history entries older than that are removed. If the history becomes long enough, the file can become large enough to greatly increase the startup time. To reduce the startup time, you can delete all or part of your browsing history, or you can delete the file.
Editing
The "history.dat" file is written in a complex format called "Mork". Changes can be made through the History Sidebar, but editing this file manually is not recommended.
Moving
This file can be moved to a different profile.
Deleting
You can delete your history from the main menu (Tools => Clear Private Data...). If you suspect that the file is corrupted, deleting "history.dat" will delete your browsing history, and a new, empty file will be created automatically.
Related bug reports
- Bug 193236 - History Window Excruciatingly Slow
- Bug 223476 - large history makes Firefox painfully slow in several ways
- Bug 241438 - please make history.dat easier to parse (i.e., not Mork)
- Bug 315020 - Files can not be saved when history.dat is read only
- Bug 319004 (fixed) - CVE-2005-4134 overlong document.title setting can corrupt history data, causing non-responsive temporary hang (crash?) on subsequent startups