We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I get Firefox to create bookmarks.html whenever I add a bookmark?

  • 2 cavab
  • 2 have this problem
  • 3 views
  • Last reply by Chris

more options

I do daily backup of all user files that have changed. I would like to include my bookmarks in this backup. I don't want to backup my cache and other user settings.

I do daily backup of all user files that have changed. I would like to include my bookmarks in this backup. I don't want to backup my cache and other user settings.

Chosen solution

You can make Firefox 3 create an automatic HTML backup (bookmarks.html) when you exit Firefox if you set the pref browser.bookmarks.autoExportHTML to true on the about:config page.
That backup is created by default in the profile folder as bookmarks.html, but you can set the file name and path via the pref browser.bookmarks.file on the about:config page.
This pref doesn't exist by default and you may need to create a new String pref browser.bookmarks.autoExportHTML and set the value to the full path of the backup bookmarks file.
Note: an HTML backup doesn't preserve tags and annotations, so you lose those if you need to import the HTML backup.

See:

Read this answer in context 👍 0

All Replies (2)

more options

Seçilmiş Həll

You can make Firefox 3 create an automatic HTML backup (bookmarks.html) when you exit Firefox if you set the pref browser.bookmarks.autoExportHTML to true on the about:config page.
That backup is created by default in the profile folder as bookmarks.html, but you can set the file name and path via the pref browser.bookmarks.file on the about:config page.
This pref doesn't exist by default and you may need to create a new String pref browser.bookmarks.autoExportHTML and set the value to the full path of the backup bookmarks file.
Note: an HTML backup doesn't preserve tags and annotations, so you lose those if you need to import the HTML backup.

See:

more options

Perhaps it will be helpful to others to read my notes on creating bookmarks.html:

  1. I typed about:config into the Location Bar
  2. I accepted the risk of changing the configuration. A long list showed.
  3. I looked for browser.bookmarks.autoexportHTML. Its value was false.
  4. I right-clicked and chose Toggle. Its value changed to true.
  5. After exiting Firefox (perhaps the second time), I saw that D:\Documents and Settings\Chris\Application Data\Mozilla\Firefox\Profiles\xxxxxxx.default\bookmarks.html had been created. (My user name is Chris. xxxxxxxx is a string Firefox chose when I installed it.)

Thanks