Bookmarks.html: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(added that bookmarks.html is no longer used for bookmark storage starting in Firefox 3)
(edited intro and added "See also" links)
Line 1: Line 1:
{{profile-file|filename=bookmarks.html}}
{{profile-file|filename=bookmarks.html}}
bookmarks.html stores [[bookmarks]] in Firefox 2 and below and in other Mozilla browsers.  The [[Bookmarks Manager]] (accessible from the Bookmarks menu) provides an interface to edit, import, and export this file.
bookmarks.html stores [[bookmarks]] in Firefox 2 and below and in other Mozilla browsers.  The Bookmarks Manager (accessible from the Bookmarks menu) provides an interface to edit, import, and export this file.


'''Note:''' Starting in Firefox 3, [[places.sqlite]] is used instead of bookmarks.html for storing bookmarks.  When first upgrading to Firefox 3, the contents of bookmarks.html are imported.  Thereafter,  by default, the bookmarks.html file is no longer updated.  For more information, see [[browser.bookmarks.overwrite]] and [https://bugzilla.mozilla.org/show_bug.cgi?id=381216#c28  bug 381216].
'''Note:''' Starting in Firefox 3, [[places.sqlite]] is used instead of bookmarks.html for storing bookmarks.  When first upgrading to Firefox 3, the contents of bookmarks.html are imported.  Thereafter,  by default, the bookmarks.html file is no longer updated.  


==Editing==
==Editing==
Line 23: Line 23:
* [[bookmarks.html.moztmp]]
* [[bookmarks.html.moztmp]]
* [[bookmarks-(date).html]]
* [[bookmarks-(date).html]]
* [[bookmarks-(number).html]]


==See also==
==See also==
Line 29: Line 28:
* [[Import bookmarks]]
* [[Import bookmarks]]
* [[Lost bookmarks]]
* [[Lost bookmarks]]
* [[Multiple bookmarks files created]]
* [[Lost bookmarks after Firefox 3 upgrade]]
* [[browser.bookmarks.autoExportHTML]]  


[[Category:Bookmarks]]
[[Category:Bookmarks]]
[[Category:Profile contents (Firefox)]]
[[Category:Profile contents (Firefox)]]
[[Category:Profile contents (Mozilla Suite)]]
[[Category:Profile contents (Mozilla Suite)]]

Revision as of 11:28, 21 June 2008

bookmarks.html stores bookmarks in Firefox 2 and below and in other Mozilla browsers. The Bookmarks Manager (accessible from the Bookmarks menu) provides an interface to edit, import, and export this file.

Note: Starting in Firefox 3, places.sqlite is used instead of bookmarks.html for storing bookmarks. When first upgrading to Firefox 3, the contents of bookmarks.html are imported. Thereafter, by default, the bookmarks.html file is no longer updated.

Editing

Although the Bookmarks Manager is the primary interface for managing bookmarks, bookmarks.html can be edited directly. The file uses a simple HTML structure that includes definition lists, anchors, and headers. A typical bookmarks.html bookmark contains the URL, name, and other meta data:

<DT><A HREF="http://www.w3.org/TR/2004/CR-CSS21-20040225/" 
 ADD_DATE="1079992089" LAST_VISIT="1132078168" LAST_CHARSET=
 "ISO-8859-1" ID="rdf:#$kLc2Z">Cascading Style Sheets, level
  2 revision 1</A>

The application should be closed before changes are made, else the changes will be overwritten.

Moving

This file can be moved to a different profile without any extra effort.

Deleting

Deleting bookmarks.html will delete your bookmarks. A new file containing the default bookmarks will be created on start up.

Related files and folders

See also