Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
It does make sense, I do not know how to do it. –  soandos Jun 2 '11 at 16:34
    
Ah, I found the duplicate to my question: How do I tell Firefox to only keep persistent cookies from sites I want? –  Martin Jun 2 '11 at 20:09

2 Answers 2

up vote 4 down vote accepted

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.

share|improve this answer
    
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.

share|improve this answer

Your Answer

 
discard

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.