Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

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 to automatically save bookmarks on shut down to a location other than your profile.

  • 2 replies
  • 1 has this problem
  • 424 views
  • Last reply by cor-el

more options

I think the about:config setting "browser.bookmarks.autoExportHTML" "True" will cause the saving of bookmark.html to the current profile when FireFox shuts down. I found that in a Help response.

Included in the response was a method of saving bookmark.html to a different location.

I cannot find the that help response and would like to implement a save in another location.

I think the about:config setting "browser.bookmarks.autoExportHTML" "True" will cause the saving of bookmark.html to the current profile when FireFox shuts down. I found that in a Help response. Included in the response was a method of saving bookmark.html to a different location. I cannot find the that help response and would like to implement a save in another location.

Chosen solution

You can set/create these two prefs on the about:config page to make Firefox create an HTML backup when you close Firefox.

  • browser.bookmarks.autoExportHTML = true
  • browser.bookmarks.file = "<path>\bookmarks.html"
    (full file path including file name)

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.


https://dxr.mozilla.org/mozilla-release/source/browser/components/BrowserGlue.jsm#2074 https://dxr.mozilla.org/mozilla-release/source/toolkit/components/places/BookmarkHTMLUtils.jsm#223

Read this answer in context 👍 0

All Replies (2)

more options

Hi ebloch1, I think I found what you are looking for: Schedule export of all bookmarks

more options

Chosen Solution

You can set/create these two prefs on the about:config page to make Firefox create an HTML backup when you close Firefox.

  • browser.bookmarks.autoExportHTML = true
  • browser.bookmarks.file = "<path>\bookmarks.html"
    (full file path including file name)

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.


https://dxr.mozilla.org/mozilla-release/source/browser/components/BrowserGlue.jsm#2074 https://dxr.mozilla.org/mozilla-release/source/toolkit/components/places/BookmarkHTMLUtils.jsm#223

Modified by cor-el