为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Prevent private tabs from being recovered.

  • 3 个回答
  • 1 人有此问题
  • 3 次查看
  • 最后回复者为 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.

所有回复 (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.