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

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

  • 2 cavab
  • 1 has this problem
  • 6 views
  • Last reply by 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!

All Replies (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.