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

how to exclude certain sites from having their cookies and site data deleted?

  • 1 reply
  • 0 have this problem
  • 6 views
  • Last reply by cor-el

more options

I am trying to setup my firefox so that all the cookies and cache are deleted when I close my browser, except for cookies and cache for a select few sites [so I do not have to keep logging into my email account]. However, despite the fact that i have created an exception for my email provider with the status of `allow`, I still have to keep logging into my email account whenever I open firefox on my mac.

I am trying to setup my firefox so that all the cookies and cache are deleted when I close my browser, except for cookies and cache for a select few sites [so I do not have to keep logging into my email account]. However, despite the fact that i have created an exception for my email provider with the status of `allow`, I still have to keep logging into my email account whenever I open firefox on my mac.
Attached screenshots

Modified by modernNeo

All Replies (1)

more options

Note that on Mac closing Firefox can be more complicated because you can close all open windows, but keep Firefox running with the menu bar visible or minimized in the Doc.

Make sure to use "Quit Firefox" with all windows still open, especially if you want to use "Restore Previous Session". Otherwise check "History -> Restore Previous Session" and "History -> Recently Closed Tabs/Windows". - Detail like websites remembering you and log you in automatically is stored in cookies, so make sure you aren't clearing important cookies.

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