![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
Can i set domain/site specific cookie "delete-on-close" policies?
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!
Krejt Përgjigjet (2)
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
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.