Firefox - how to retain certain cookies?

Status
Not open for further replies.

uninfected1

Level 11
Thread author
Verified
Top Poster
Well-known
Forum Veteran
Jan 28, 2016
531
1,899
969
Alpha Centauri
I want to delete cookies when Firefox closes but retain some, specifically, cookies for DuckDuckGo custom settings. I've tried various online suggestions like creating exceptions for duckduckgo cookies, unchecked cookies and site preferences in Settings For Clearing History, but the duckduckgo cookies are always deleted. Is there any way to stop this happening?

PS - I know there's an add-on that will change the new tab url but I'd rather not use it.
 
@uninfected1 i think you can save cookies from sites through CCleaner options.
If you have CCleaner installed you should take a look.
For Firefox i would look it and answer again
 
@uninfected1 i searched in Firefox but i am not sure if it will work you have to see for yourself because i don't have Firefox installed.
In options>privacy>history select "adjust settings for history".
In the third box which says "accept cookies from sites" on the right side there is a box "exceptions".
I think in there you can insert the site you want and the cookies will not be deleted.
Of course you will tick the box "clean history when Firefox closes".
This is the fourth box and it is under the option " preserve until".
Once again i don't have Firefox installed so i can't say for sure it will work.
Waiting for your comment and i hope i have helped.
 
  • Like
Reactions: uninfected1
Thanks a lot for your help @tonibalas. The more I look into this the more it seems you need to use a third party program to preserve selected cookies. For instance, ghacks suggests 2 methods to keep certain cookies, one of them the same method you describe, which I've tried. A complete waste of time as their update at the end of the article says neither method works.

What I've ended up doing is to copy the URL generated after configuring DuckDuckGo and then setting that as my Home Page. It used to be possible to do the same with new tab pages in Firefox but now a new tab redirect extension is required.
 
Last edited:
  • Like
Reactions: tonibalas
@uninfected1 instead of keeping cookies you can add the URL you find in Duckduckgo to your favorites.
You can make a folder just for those url's so even you delete history you wont lose the sites you search in DDG
 
  • Like
Reactions: uninfected1
Status
Not open for further replies.

You may also like...