Clear cookies with whitelisting some?

3

1

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?

Martin

Posted 2011-06-02T16:30:22.350

Reputation: 2 055

It does make sense, I do not know how to do it. – soandos – 2011-06-02T16:34:59.107

Ah, I found the duplicate to my question: How do I tell Firefox to only keep persistent cookies from sites I want?

– Martin – 2011-06-02T20:09:13.113

Answers

2

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.

afrazier

Posted 2011-06-02T16:30:22.350

Reputation: 21 316

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 – 2011-06-02T19:05:04.093

0

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.

soandos

Posted 2011-06-02T16:30:22.350

Reputation: 22 744