X
Tap here to go to the mobile version of the site.
An updated version of Firefox is available to address the issues with Add-ons disabled or fail to install on Firefox. You can download the update for your OS here: https://www.mozilla.org/firefox/new/ For Known Issues and Workarounds, please check out the update at https://support.mozilla.org/kb/add-ons-disabled-or-fail-to-install-firefox

Support Forum

Delete selected cookies on exiting Firefox

Jer
Posted

When I delete Firefox cookies, I would like to delete only selected cookies, which would be about 98% of them. There are a few web sites that use stored cookies to let me log in faster, if they don't find their cookies I have to get an email, text or phone call to log in. In past I used CCleaner which had a list of cookies to keep. Past several months CCleaner isn't even listing that it see any cookies, others are seeing the same thing- it just not deleting cookies for IE, Chrome or Firefox.

Question, is there a way with standard Firefox to delete cookies on close, but have a list to save and not delete? I see where to create list to allow, allow for session or block. But I am thinking that list isn't for keeping if I were to click on "clear data" or check the option to "Delete cookies and site data when Firefox is closed".

Bleachbit will clear cookies, but it doesn't give you options to save certain cookies. There may be some plugin/addons to FF, but I get nervous about all the options they need like view all data. I understand why, but would rather do it all within FF standard code.

I am using Windows 7 Pro 64 bit, Firefox 65.0.2

When I delete Firefox cookies, I would like to delete only selected cookies, which would be about 98% of them. There are a few web sites that use stored cookies to let me log in faster, if they don't find their cookies I have to get an email, text or phone call to log in. In past I used CCleaner which had a list of cookies to keep. Past several months CCleaner isn't even listing that it see any cookies, others are seeing the same thing- it just not deleting cookies for IE, Chrome or Firefox. Question, is there a way with standard Firefox to delete cookies on close, but have a list to save and not delete? I see where to create list to allow, allow for session or block. But I am thinking that list isn't for keeping if I were to click on "clear data" or check the option to "Delete cookies and site data when Firefox is closed". Bleachbit will clear cookies, but it doesn't give you options to save certain cookies. There may be some plugin/addons to FF, but I get nervous about all the options they need like view all data. I understand why, but would rather do it all within FF standard code. I am using Windows 7 Pro 64 bit, Firefox 65.0.2

Modified by Jer

Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0

More Information

philipp
  • Top 25 Contributor
  • Moderator
5245 solutions 23206 answers

hi Jer, you can create exceptions for the cookie behaviour of particular sites in the privacy & security section of the firefox options under "Manage Permissions" - those will be respected when you set "Delete cookies and site data when Firefox is closed".

hi Jer, you can create exceptions for the cookie behaviour of particular sites in the privacy & security section of the firefox options under "Manage Permissions" - those will be respected when you set "Delete cookies and site data when Firefox is closed".
Was this helpful to you?
Quote

Question owner

Thanks, I still a little confused.

By respected you mean Firefox won't delete when I check the delete on close box, if allowed in the manage section? Would I have to also put in the sub domains? I notice it won't let me use a wildcard like

  • .mozilla.org

Would I have to enter the url for each sub domain?

Thanks, I still a little confused. By respected you mean Firefox won't delete when I check the delete on close box, if allowed in the manage section? Would I have to also put in the sub domains? I notice it won't let me use a wildcard like *.mozilla.org Would I have to enter the url for each sub domain?
Was this helpful to you?
Quote
philipp
  • Top 25 Contributor
  • Moderator
5245 solutions 23206 answers

Jer said

By respected you mean Firefox won't delete when I check the delete on close box, if allowed in the manage section?

yes, exactly :))

Would I have to also put in the sub domains? I notice it won't let me use a wildcard like
  • .mozilla.org
Would I have to enter the url for each sub domain?

yes, there is no wildcard support - what you need to specify in the list is the protocol (https:// or http://) and the full top level domain for the cookies that should be kept. an alternative way to achieve the same result is to right-click a page you're visiting & where you want to keep cookies, go to "view page info" > "permissions" & set cookies to "allow".

if you want to have more flexibility and make use of wildcards you might also use an addon like https://addons.mozilla.org/firefox/addon/cookie-autodelete/ instead.

''Jer [[#answer-1211992|said]]'' <blockquote> By respected you mean Firefox won't delete when I check the delete on close box, if allowed in the manage section? </blockquote> yes, exactly :)) <blockquote> Would I have to also put in the sub domains? I notice it won't let me use a wildcard like *.mozilla.org Would I have to enter the url for each sub domain? </blockquote> yes, there is no wildcard support - what you need to specify in the list is the protocol (https:// or http://) and the full top level domain for the cookies that should be kept. an alternative way to achieve the same result is to right-click a page you're visiting & where you want to keep cookies, go to "view page info" > "permissions" & set cookies to "allow". if you want to have more flexibility and make use of wildcards you might also use an addon like https://addons.mozilla.org/firefox/addon/cookie-autodelete/ instead.
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8314 solutions 68040 answers

Jer said

By respected you mean Firefox won't delete when I check the delete on close box, if allowed in the manage section?

Well, if you remove a cookie in the Manage Data dialog, it will be removed when you click Save Changes. There is no way to set a cookie to be undeletable in that dialog.

Also, bear in mind that these work differently:

  • Delete cookies and site data when Firefox is closed => sets Firefox to shorten all cookie lifetimes to session only except for sites you have given Allow permission to set persistent cookies
  • Clear history when Firefox closes => if set to remove cookies, removes all cookies without exception (unless something has changed recently)
''Jer [[#answer-1211992|said]]'' <blockquote> By respected you mean Firefox won't delete when I check the delete on close box, if allowed in the manage section? </blockquote> Well, if you remove a cookie in the Manage Data dialog, it will be removed when you click Save Changes. There is no way to set a cookie to be undeletable in that dialog. Also, bear in mind that these work differently: * Delete cookies and site data when Firefox is closed => sets Firefox to shorten all cookie lifetimes to session only except for sites you have given Allow permission to set persistent cookies * Clear history when Firefox closes => if set to remove cookies, removes all cookies without exception (unless something has changed recently)
Was this helpful to you? 1
Quote

Question owner

Thanks, that answers my questions. Looks like I can use FF and there is an addon. I don't know why, every since they started showing permissions, I get a little freaked out. I still use NoScripts and have for years and it has about every permission possible. But then I used it for so long I feel more comfortable.

Thanks, that answers my questions. Looks like I can use FF and there is an addon. I don't know why, every since they started showing permissions, I get a little freaked out. I still use NoScripts and have for years and it has about every permission possible. But then I used it for so long I feel more comfortable.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17083 solutions 154306 answers

Did you consider to use a Private Browsing mode window? All PB mode share a separate cookie jar (i.e. not the cookie jar use in normal mode) and all PB mode session data is kept in memory and discarded automatically when all PB mode windows are closed or when you close Firefox. Otherwise you can set the cookie permission for this domain to session cookies.

Did you consider to use a Private Browsing mode window? All PB mode share a separate cookie jar (i.e. not the cookie jar use in normal mode) and all PB mode session data is kept in memory and discarded automatically when all PB mode windows are closed or when you close Firefox. Otherwise you can set the cookie permission for this domain to session cookies.
Was this helpful to you? 0
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.