Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ابحث في الدعم

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 (ردّان اثنان)
  • 1 has this problem
  • 6 views
  • آخر ردّ كتبه 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.