This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

Prevent private tabs from being recovered.

  • 3 respostas
  • 1 has this problem
  • 12 views
  • Last reply by shipman

more options

I understand that browsing data of a private window is kept in memory as long as it exists. Is there a way to prevent this? I would like to close a tab and not be able to recover it. As a workaround I have found that I can move a tab to a new private window and close that window. But this is very cumbersome. Deleting browsing history also does not work, which does work in normal mode: I can close a tab in normal mode, delete the browsing history, and then I'm not able to recover the tab.

I understand that browsing data of a private window is kept in memory as long as it exists. Is there a way to prevent this? I would like to close a tab and not be able to recover it. As a workaround I have found that I can move a tab to a new private window and close that window. But this is very cumbersome. Deleting browsing history also does not work, which does work in normal mode: I can close a tab in normal mode, delete the browsing history, and then I'm not able to recover the tab.

All Replies (3)

more options
more options

If you do not want to reopen closed tabs or clear the tab undo list then you can set this pref to 0 about:config, either permanently or only temporarily (set to 0 and reset the pref to re-enable this feature).

  • browser.sessionstore.max_tabs_undo - default = 10
more options

max_tabs_undo is interesting. Unfortunately, it affects normal mode as well as private mode. I only want this to affect the private mode. I wasn't particularly clear about that in my initial post.

I do not understand how the kb article is relevant.