搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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

  • 2 回覆
  • 2 有這個問題
  • 19 次檢視
  • 最近回覆由 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.

被選擇的解決方法

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:

從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

選擇的解決方法

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