Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to remove all cookies, on shutdown, of any websites not pinned? Manually adding websites to the exception list isn't straightforward since some websites saves multiple cookies from different domains.

I'm looking for a solution for either Chrome/Chromium or Firefox.

share|improve this question
OP are you still looking for an answer? If so, you may need to repost your question as this is flagged for closure. Regards, – Ringtail Mar 17 '12 at 23:15

To see what cookies a particular site sets, the View Cookies Firefox Add-On can help. That or just open the sites you want to pin one at a time to see which cookies get set. Then pin them all and set your cookie policies. From there, you can go back to manually whitelisting or use the Cookies Manager Plus Add-On to do it for you. For example, I've used these in the past to identify and whitelist the Google two-factor authentication cookie that remembers you for 30 days, while still deleting all other cookies when I close Firefox.

share|improve this answer

Use Biscuit extension for Firefox. It allows you to select which cookies you want to preserve, so when Firefox closes, it deletes only the cookies not protected.

share|improve this answer
Yes, you suggested this to me on a previous answer, but unfortunately, it doesn't solve the problem of figuring out all the cookies I need to preserve. – Oxwivi Dec 19 '11 at 11:17
Well, perhaps not al of them, but at least you know the domain. Just protect the ones of the pinned domains. – lovinglinux Dec 19 '11 at 22:11
That's the problem, protecting just the domains of pinned websites are not enough. A good example is Gmail - besides cookies for, there are other cookies from or even I wish there was some automatic methods to find which ones to keep. – Oxwivi Dec 20 '11 at 9:22
I keep all google, gmail and youtube. – lovinglinux Dec 20 '11 at 22:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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