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

Clear All History/Data + Cookie Exceptions

more options

Please help me understand why there is a feature to have cookies be made exceptions from deletion and then when someone elects to delete all data, cookies, and browsing data on exit....the EXCEPTION list of cookies also gets deleted.

Please help me understand why there is a feature to have cookies be made exceptions from deletion and then when someone elects to delete all data, cookies, and browsing data on exit....the EXCEPTION list of cookies also gets deleted.

All Replies (4)

more options

The problem deleting the "the EXCEPTION list of cookies also gets deleted". The cookie exception list is part of the "Site settings", so clearing the "Site settings" also causes all cookies to get deleted including cookies with an allow exception.

In case you use "Clear history when Firefox closes" or otherwise clear history.

  • using "Clear history when Firefox closes" in Firefox 102+ honors exceptions and keeps cookies with an allow exception, previous versions removed all cookies
  • clearing "Site settings" clears exceptions for cookies, images, pop-up windows, and software installation and exceptions for passwords and other website specific data
more options

Either way, if i have a cookie exception, and delete everything under the history...the EXCEPTION list you make an exception for the items in said list...thats why its called an exception.

more options

Cookie exceptions can only work properly if you keep the "Site settings" and if you use "Clear history when Firefox closes" to clear the cookies. Any other action on cookies affects all selected cookies. Firefox can store cookie data of open tabs in sessionstore.jsonlz4 as part of session data.

more options

I still feel like you are missing my point.

I am well aware that if i go into Settings>Privacy & Security and check the box for Clear history when Firefox closes, that all the items checked under that settings to the right will be deleted.

My concern is for the exception portion. The logic would dictate if i tell a system to remove everything EXCEPT items on this list, then it would do just that.

Example. I have Firefox Clear all my browsing history upon exit, but what if i want Facebook.com cookies to stay so I can be logged right back in when i start it up. The two settings(Exception list and Clear all history) should would together to make those requests work together. As it stand now, the delete takes priority and Clear everything, regardless if something is in the exception list(the exact opposite definition of an exception list)