Firefox deletes all cookies on exit - but I want to leave specific cookies saved
Hi,
I have set Firefox to delete every cookie when I exit. However some websites use cookies for dark mode. My question is this : can I make it so Firefox continues to delete every cookie but save only some specific cookies For exemple, linkedin uses a dozen of cookies and two of them are used to store value for dark mode. Can i save only those two ?
Thanks in advance
Svi odgovori (3)
You can use these steps to make a website recognize and remember you.
- create a cookie allow exception with the proper protocol (https:// or http://) to make a website remember you
You can check that you aren't clearing important cookies.
- using "Delete cookies and site data when Firefox is closed" to clear cookies keeps cookies with an allow exception
in 102+ version toggling this setting makes changes to the "Clear history when Firefox closes" settings and those settings prevail - using "Clear history when Firefox closes" in Firefox 102+ honors exceptions and keeps cookies with an allow exception, previous versions removed all cookies
Make sure to keep the "Site settings".
- clearing "Site settings" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
- Settings -> Privacy & Security
Cookies and Site Data: "Manage Exceptions" - Settings -> Privacy & Security
Firefox will: "Use custom settings for history":
[X] "Clear history when Firefox closes" -> Settings
You can use the Inspector (ctl+shft+i) to view cookies on a site. Go to the Storage tab and you will see Cookies and the site name in the left panel. You can delete individual cookies there.
You can look on the Add-ons website for a suitable cookie manager extension.