MozillaZine

Remove cookies on quit except selected ones?

User Help for Mozilla Firefox
fsinclaire
 
Posts: 6
Joined: February 10th, 2007, 2:21 pm

Post Posted November 10th, 2017, 11:07 am

I have Firefox 56 on iMac with OS 10.12. Is there a way (or an add-on) to configure Firefox to delete all cookies when I quit Firefox except cookies from a specific set of sites? Thank you.

Happy112

User avatar
 
Posts: 412
Joined: April 15th, 2017, 10:25 am
Location: Never-Never-Land

Post Posted November 10th, 2017, 11:33 am

Hi fsinclaire !

Would you please take a look at this article :

https://support.mozilla.org/en-US/kb/de ... tes-stored

Any good ?
You can keep your diamonds - they're just shiny stones; love is the only precious thing and doesn't cost a dime.

RobertJ
Moderator

User avatar
 
Posts: 10236
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted November 10th, 2017, 1:59 pm

.
You might want to try this extension Cookie AutoDelete. It will do what you want and a number of other things with the correct configuration. It will also work with FF57+.

.
FF 57.0 - FF 58b4 - Palemoon 27.3.0 - TB 52.4 - Mac OSX 10.13.1
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2017

fsinclaire
 
Posts: 6
Joined: February 10th, 2007, 2:21 pm

Post Posted November 12th, 2017, 3:54 pm

RobertJ, Thank you. As you suggested, I have installed Cookie AutoDelete. It looks good.
Question: I can't figure out how or where on Firefox (or Cookie AutoDelete) to see what cookies I've got. Cookie AutoDelete suggests checking to ensure it's working, but how?

LoveMyFoxy

User avatar
 
Posts: 1912
Joined: December 11th, 2009, 11:23 am
Location: USA

Post Posted November 12th, 2017, 4:25 pm

Tools>Options>Privacy>Show Cookies

Robert J--I've just switched to this too. Is there a shortcut link I can use to view the cookie list without having to go through Tools?
Desktop--Win 7 Ult. 64-bit, 6GB RAM /FF 52ESR 64/ Thunderbird 52 / MS Sec. Essent./ Windows firewall / Verizon FIOS

Gingerbread Man

User avatar
 
Posts: 7521
Joined: January 30th, 2007, 10:55 am

Post Posted November 13th, 2017, 3:00 am

You don't need an add-on for this.
  1. Enter about:preferences#privacy into the location bar.
  2. Click the Privacy & Security category on the left.
  3. Under History, choose "Firefox will: Use custom settings for history".
  4. Check "Accept cookies from websites" and choose "Keep until: I close Firefox".
  5. Click the Exceptions… button. Create "Allow" exceptions for the sites you want to keep cookies from. For example, enter https://mozilla.org to keep cookies from support.mozilla.org, addons.mozilla.org, and so on. http:// and https:// are separate, so don't omit the protocol when creating your exceptions.
Edit: Please note that due to bug 1406675, for the time being you also need to create Allow exceptions for most add-ons that need to store data. What you enter for "Address of website" is moz-extension://Internal UUID. Each add-on's internal UUID is different for each Firefox profile; to find it, enter about:debugging into the location bar.
Last edited by Gingerbread Man on November 15th, 2017, 6:03 am, edited 1 time in total.

jcostello
 
Posts: 1
Joined: February 21st, 2017, 11:54 am

Post Posted November 13th, 2017, 5:05 am

If you clear your History, all your cookies will be deleted.
If your clear your Site Preferences, your exception list will be deleted.

Cookie AutoDelete keeps it‘s own exception list and allows you to save it.

Cookies Export/import - https://addons.mozilla.org/en-US/firefo ... ortimport/ - allows you to save your cookies in a text file.
Last edited by jcostello on November 13th, 2017, 8:01 am, edited 1 time in total.

costark
 
Posts: 245
Joined: July 14th, 2004, 5:03 am

Post Posted November 13th, 2017, 7:22 am

fsinclaire wrote:RobertJ, Thank you. As you suggested, I have installed Cookie AutoDelete. It looks good.
Question: I can't figure out how or where on Firefox (or Cookie AutoDelete) to see what cookies I've got. Cookie AutoDelete suggests checking to ensure it's working, but how?

LoveMyFoxy wrote:Tools>Options>Privacy>Show Cookies
Robert J--I've just switched to this too. Is there a shortcut link I can use to view the cookie list without having to go through Tools?

1-Left Clk "Cookies-AD" button in Toolbar/ Top Rt, Clk "Settings"/ Far Left black Column "List of Expressions"

My experience: Whitelist choices go to FF Cookies; Choose Whitelist and Edit to Graylist - you must Remove manually from FF Cookies;
Edits in List of Expressions ((ie) White to Graylist) Do Not Show the Change UNTIL you Close the Tab and Re-Open List of Expressions

In List of Expressions Export Saves as [ .json] to your FF designated site (Desktop for me)- OR - OPEN w/ Notepad allows Save as [ .TXT ] or as "ALL Files"

Graylist keeps Cookies until Browser Closed. Not sure why most choices aren't Graylist.

Author states App will Delete 3rd Party Cookies but (I think) suggests "Never" allow - I'm still on Allow;

Cookie Delete Timer at 1 minute per [ limitation doesn't exist with Firefox, so theoretically you could set a lower delay value by typing in .1 (which is 6 seconds) or even 0 for instant cleanup after tab close.
You use the dot (0.1) or comma (0,1) depending on which locale you have uses.
Remember to save afterward!
Be warned that a lower value will cause merchant sites that use PayPal to break.
One workaround is to have another tab of that merchant site before the site redirects you to PayPal.
I don't fully understand this but presume Default 1-Minute is Good.

Hoping members will post as they learn best use of App settings.
Firefox 57(64) - Win 7-64 Hm Prem - i5 8G - ESET EIS - MBAM Prem 3 - SuperAS Pro - Macrium Reflect 7 - Diskeeper Pro 15- EPIM Mail - Secunia PSI 3 - NO Java or Flash

fsinclaire
 
Posts: 6
Joined: February 10th, 2007, 2:21 pm

Post Posted November 13th, 2017, 8:51 am

Gingerbread Man - Do I understand you correctly that the add-on "Cookie AutoDelete" is not necessary for what I want to do, and that by following your five steps, at quitting Firefox will KEEP cookies from the websites I have added to the list at Preferences>Privacy & Security>History>Exceptions, and will delete all other cookies (all cookies from websites NOT on the Exceptions list)?

LoveMyFoxy - Thank you for your suggestion. "Show Cookies" is not at Tools on my Firefox. Maybe it's because I'm on a Mac and you have Windows. But, here's the thing: your suggestion prompted me to look again, and I found it. I thank you for that. In Firefox for OS X, it's at Firefox>Preferences>Privacy & Security>History>Show Cookies! I don't know why I didn't see it before. So, thanks.
Last edited by fsinclaire on November 13th, 2017, 9:16 am, edited 2 times in total.

fsinclaire
 
Posts: 6
Joined: February 10th, 2007, 2:21 pm

Post Posted November 13th, 2017, 8:59 am

costark - When I open Cookies AutoDelete>Settings>List of Expressions, I do not see a choice to Export or Save as you suggest at:
costark wrote:In List of Expressions Export Saves as [ .json] to your FF designated site (Desktop for me)- OR - OPEN w/ Notepad allows Save as [ .TXT ] or as "ALL Files"

Is there something somewhere I need to "enable"?

RobertJ
Moderator

User avatar
 
Posts: 10236
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted November 13th, 2017, 9:52 am

fsinclaire wrote:LoveMyFoxy - Thank you for your suggestion. "Show Cookies" is not at Tools on my Firefox.

Go to Firefox Preferences and then in

Privacy & Security > History > Select Firefox will use custom settings for history

scroll down and there is a button to "Show Cookies ..."

Firefox looks the same on all platforms for the same version.

LoveMyFoxy is using FF52 and there have been changes since then.

.
FF 57.0 - FF 58b4 - Palemoon 27.3.0 - TB 52.4 - Mac OSX 10.13.1
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2017

costark
 
Posts: 245
Joined: July 14th, 2004, 5:03 am

Post Posted November 13th, 2017, 11:43 am

fsinclaire wrote:costark - When I open Cookies AutoDelete>Settings>List of Expressions, I do not see a choice to Export or Save as you suggest at:
costark wrote:In List of Expressions Export Saves as [ .json] to your FF designated site (Desktop for me)- OR - OPEN w/ Notepad allows Save as [ .TXT ] or as "ALL Files"

Is there something somewhere I need to "enable"?

I used the Wrong IMGUR Link and RobertJ had to use my Image in the Next Post.

You have to Clk on this but it should show entire screen
https://i.imgur.com/ax80OIV.jpg

Tools/Options/Privacy-Security: History: I have Use Custom Settings/ Accept Cookies fr Websites Chkd/ Accept 3rd Party Always/ Keep Until: I Close FF/ Clear History: When FF Closes
Above Settings Not Guanteed Correct but what I have now ... I did Not read where FF Settings affected this App's Options (ie) Export/Import but hope you can solve the issue.

Image is too large and breaks the forum format.
Last edited by costark on November 13th, 2017, 12:13 pm, edited 5 times in total.
Firefox 57(64) - Win 7-64 Hm Prem - i5 8G - ESET EIS - MBAM Prem 3 - SuperAS Pro - Macrium Reflect 7 - Diskeeper Pro 15- EPIM Mail - Secunia PSI 3 - NO Java or Flash

RobertJ
Moderator

User avatar
 
Posts: 10236
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted November 13th, 2017, 11:55 am

.
It is hard to miss
Image


.
FF 57.0 - FF 58b4 - Palemoon 27.3.0 - TB 52.4 - Mac OSX 10.13.1
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2017

fsinclaire
 
Posts: 6
Joined: February 10th, 2007, 2:21 pm

Post Posted November 13th, 2017, 1:10 pm

costark and RobertJ - The mistake is mine. I had misunderstood costark's comment
costark wrote:In List of Expressions Export Saves as [ .json] to your FF designated site (Desktop for me)- OR - OPEN w/ Notepad allows Save as [ .TXT ] or as "ALL Files"

to be an answer to my question
fsinclaire wrote:I can't figure out how or where on Firefox (or Cookie AutoDelete) to see what cookies I've got

when instead, costark's comment, if I followed it properly, displays not a list of existing cookies, but my list of the sites exempted from Cookies AutoDelete auto deleting.
My question asking how to view existing cookies was answered indirectly by LoveMyFoxy as
fsinclaire wrote:Firefox>Preferences>Privacy & Security>History>Show Cookies

RobertJ
Moderator

User avatar
 
Posts: 10236
Joined: October 15th, 2003, 7:40 pm
Location: Chicago IL/Oconomowoc WI

Post Posted November 13th, 2017, 1:13 pm

.
Enjoy, FF57.0 arrives tomorrow.

.
FF 57.0 - FF 58b4 - Palemoon 27.3.0 - TB 52.4 - Mac OSX 10.13.1
Computers I've used: IBM 7094/UNIVAC 1108/IBM 360/DEC PDP11/DEC VAX-11 780/DEC VAXstation 8000/Sun SPARCstation 2/Mac from 1984 to 2017

Return to Firefox Support


Who is online

Users browsing this forum: Google [Bot] and 19 guests