Firefox (4) allows me to Accept cookies from sites (with Exceptions to Allow or Deny for some). However, as far as I can see, it ain't possible to use the option Keep until: I close Firefox and still keep some cookies when I close.

Is it somehow possible to keep only a whitelist of cookies and clear all the rest on close?

Does this even make sense, or should I just make a whitelist of cookies and keep those regardless of closing Firefox?


If the master setting for your cookies is "until I close Firefox" I think that sites you whitelist will get to keep cookies after you close the browser.

  • This is in fact correct. I have just tried it with my FF 4.0.1. (Note that Clear History when Firefox closes is not checked, only Until I close for cookies.) – Martin Jun 2 '11 at 19:05

This is a workaround that may generate some errors. Set the permissions for the folders that the sites you want to keep to removing the delete permission for your user. This way, firefox will not be able to delete them (ever). This might cause problems.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.