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

Firefox does not delete history on exit

  • 1 reply
  • 0 have this problem
  • 1 view
  • Last reply by techguy150

more options

For months now, Firefox is not deleting the history on exit, despite the option being ticked. Here is what I tried already:

  • Made sure the option to delete the history on exit is actually ticked
  • Made sure the sub-options describing what data to delete are all ticked
  • Unticked and re-enabled the aforementioned options
  • Diabled all addons and restarted the browser
  • Disabled sync and restarted the browser
  • Enabled Troubleshoot Mode and restarted the browser
  • Followed the support article regarding this issue: http://mzl.la/1BAQrbZ (except the nuclear option)

Manually triggering the deletion of history and cookies does still work. Following are the prefs.js options concerning privacy: user_pref("privacy.clearOnShutdown.offlineApps", true); user_pref("privacy.cpd.offlineApps", true); user_pref("privacy.cpd.siteSettings", true); user_pref("privacy.donottrackheader.enabled", true); user_pref("privacy.history.custom", true); user_pref("privacy.purge_trackers.date_in_cookie_database", "0"); user_pref("privacy.sanitize.pending", "[{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}},{\"id\":0,\"itemsToClear\":[\"cache\",\"cookies\",\"offlineApps\",\"history\",\"formdata\",\"downloads\",\"sessions\",\"siteSettings\"],\"options\":{\"progress\":{\"clearHonoringExceptions\":true}}},{\"id\":1,\"itemsToClear\":[\"cache\",\"cookies\",\"offlineApps\",\"history\",\"formdata\",\"downloads\",\"sessions\",\"siteSettings\"],\"options\":{\"progress\":{\"clearHonoringExceptions\":true}}},{\"id\":\"shutdown\",\"itemsToClear\":[\"cache\",\"cookies\",\"offlineApps\",\"history\",\"formdata\",\"downloads\",\"sessions\"],\"options\":{}}]"); user_pref("privacy.sanitize.sanitizeOnShutdown", true); user_pref("privacy.sanitize.timeSpan", 0); user_pref("privacy.trackingprotection.enabled", true); user_pref("privacy.trackingprotection.socialtracking.enabled", true); user_pref("privacy.userContext.enabled", true); user_pref("privacy.userContext.extension", "CanvasBlocker@kkapsner.de"); user_pref("privacy.userContext.ui.enabled", true);

Is there anything else I could try, except nuking my profile?

For months now, Firefox is not deleting the history on exit, despite the option being ticked. Here is what I tried already: * Made sure the option to delete the history on exit is actually ticked * Made sure the sub-options describing what data to delete are all ticked * Unticked and re-enabled the aforementioned options * Diabled all addons and restarted the browser * Disabled sync and restarted the browser * Enabled Troubleshoot Mode and restarted the browser * Followed the support article regarding this issue: http://mzl.la/1BAQrbZ (except the nuclear option) Manually triggering the deletion of history and cookies does still work. Following are the prefs.js options concerning privacy: user_pref("privacy.clearOnShutdown.offlineApps", true); user_pref("privacy.cpd.offlineApps", true); user_pref("privacy.cpd.siteSettings", true); user_pref("privacy.donottrackheader.enabled", true); user_pref("privacy.history.custom", true); user_pref("privacy.purge_trackers.date_in_cookie_database", "0"); user_pref("privacy.sanitize.pending", "[{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}},{\"id\":0,\"itemsToClear\":[\"cache\",\"cookies\",\"offlineApps\",\"history\",\"formdata\",\"downloads\",\"sessions\",\"siteSettings\"],\"options\":{\"progress\":{\"clearHonoringExceptions\":true}}},{\"id\":1,\"itemsToClear\":[\"cache\",\"cookies\",\"offlineApps\",\"history\",\"formdata\",\"downloads\",\"sessions\",\"siteSettings\"],\"options\":{\"progress\":{\"clearHonoringExceptions\":true}}},{\"id\":\"shutdown\",\"itemsToClear\":[\"cache\",\"cookies\",\"offlineApps\",\"history\",\"formdata\",\"downloads\",\"sessions\"],\"options\":{}}]"); user_pref("privacy.sanitize.sanitizeOnShutdown", true); user_pref("privacy.sanitize.timeSpan", 0); user_pref("privacy.trackingprotection.enabled", true); user_pref("privacy.trackingprotection.socialtracking.enabled", true); user_pref("privacy.userContext.enabled", true); user_pref("privacy.userContext.extension", "CanvasBlocker@kkapsner.de"); user_pref("privacy.userContext.ui.enabled", true); Is there anything else I could try, except nuking my profile?

All Replies (1)

more options

select Settings. Select the Privacy & Security panel and go to the History section. In the drop-down menu next to Firefox will, choose Use custom settings for history. Select the check box for Clear history when Firefox closes.