Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.