Mozilla will shut down Pocket’s services on July 8, 2025. At that time users will no longer be able to access the Pocket website, apps and API. You can export your saved items and API data until October 8, 2025 before they are permanently removed. For more information, see this article.

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
  • 563 views
  • Last reply by cor-el

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)

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

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