搜尋 Mozilla 技術支援網站

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

了解更多

How do I save cookies but nothing else while in private browsing mode?

  • 1 回覆
  • 2 有這個問題
  • 24 次檢視
  • 最近回覆由 cor-el

more options

I want to be able to browse in private mode, but still save the cookies (on one specific site but on all is fine too). How do I do that with the options?

I want to be able to browse in private mode, but still save the cookies (on one specific site but on all is fine too). How do I do that with the options?

所有回覆 (1)

more options

You can't create cookies that outlast a private browsing mode session, so if you need to keep cookies from specific domains then you can't use private browsing mode to visit these websites.

PB mode means that no session data is saved to the profile folder, but is kept in memory. Firefox uses two independent cookie jars, one for normal mode and one for Private Browsing mode that is shared among all PB mode tabs and windows. During a PB mode session or in a PB mode window all cookies are kept in memory in a separate cookie jar just like other session data is kept in memory. Cookies saved in normal mode can't be accessed as they are stored in a different cookie jar.