2

Identical to an old question from 2009

Upon exit, I want Firefox to clear all cookies except those set by (for example) wikipedia.org. Also, firefox should allow all sites to set cookies when running.

Is this possible with just the default settings/options without installing any addons? No matter which way I try, firefox either clears all cookies or none on exit.

I'm asking for recent versions of Firefox, specifically FF51 running on Windows 10 if it makes any difference.

kabZX
  • 871

2 Answers2

-1

here's where you set cookie options. about:config

enter image description here

But selective delete on exit requires an addon such as https://addons.mozilla.org/en-US/firefox/addon/selectivecookiedelete/

Update

https://addons.mozilla.org/en-US/firefox/search/?platform=windows&q=selectivecookiedelete

-1

You can do this (see screenshots of Firefox Options) Clear cookies when closing Firefox

You can whitelist your trusted sites using Exceptions Whitelist trusted sites enter image description here

If you want to sync these settings across Firefox on different devices you can use a Firefox account (I can't add the 3rd link as I'm newbie on this site).

==============

Following earlier problems with unexpected cookies remaining in the Firefox browser I have retested on 2 Windows 10 machines. One using Firefox beta (55.0b13) and Firefox (55.0b13) developer edition. In both cases they cleared unwanted cookies from the browser after closing all the tabs and then restarting the browser. Sites specified in the Exceptions - cookies kept their cookies.

Given I had problems with Win 7 and Firefox 54 before it shows you need to check your browser cookies periodically to ensure things are working normally.

I had less success syncing exceptions (i.e. the list of sites that are allowed to keep cookies). However, that is probably down to my lack of experience with this feature.

JohnC
  • 453