搜尋 Mozilla 技術支援網站

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

了解更多

Can i set domain/site specific cookie "delete-on-close" policies?

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

more options

Hello,

i know that i can disable that Firefox deletes cookies when FF is closed. But i dont know how i can *selectively* delete or not delete cookies when FF is closed.

This would really help a lot to e.g. keep logins active or store settings for some sites even though the browser is closed. The majority of cookies can be deleted, but for some, e.g. intranet sites, i want to keep the cookies.

Is this simply not possible?

Thanks in advance!

Hello, i know that i can disable that Firefox deletes cookies when FF is closed. But i dont know how i can *selectively* delete or not delete cookies when FF is closed. This would really help a lot to e.g. keep logins active or store settings for some sites even though the browser is closed. The majority of cookies can be deleted, but for some, e.g. intranet sites, i want to keep the cookies. Is this simply not possible? Thanks in advance!

所有回覆 (2)

more options

You can set it to delete ALL cookies on close, then whitelist the sites you want to keep. In settings, click the box that says "delete cookies on close" then click manage permissions to whitelist the intranet sites you want

more options

Note that the only way to keep cookies with a cookies allow exception is to use "Delete cookies and site data when Firefox is closed" like posted above. Using "Clear history when Firefox closes" or other ways to clear cookies will clear all cookies regardless of an allow allow exception. If you want finer cookie control then you need a cookie manage extension.