Firefox and Cookie Handling

Message
Author
User avatar
JmaCWQ
Posts: 290
Joined: Fri Sep 09, 2016 4:42 am

Firefox and Cookie Handling

#1 Post by JmaCWQ »

Hello All,

Using Firefox 69.0.1, does anyone know how to set Preferences > Privacy & Security's history/cookie settings so when FF is closed it will clear all history, cache and cookies except for some cookies I want to keep?
There are tutorials around but all I can find is ones years out of date & the settings menus have changed since then.
I don't want to use an add-on.

Thanks

User avatar
Eadwine Rose
Administrator
Posts: 15243
Joined: Wed Jul 12, 2006 2:10 am

Re: Firefox and Cookie Handling

#2 Post by Eadwine Rose »

One google search gave me this: https://www.groovypost.com/howto/automa ... temp-exit/

Looks different, but still applies.


To be found here:

about:preferences#privacy
Then scroll down to history.
MX-23.6_x64 July 31 2023 * 6.1.0-39amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
darknetmatrix
Posts: 79
Joined: Mon Sep 28, 2015 2:59 am

Re: Firefox and Cookie Handling

#3 Post by darknetmatrix »

these things are well explained here: https://support.mozilla.org/en-US/kb/cl ... ta-firefox
HP Z400 Workstation HP Z210 Workstation
Intel Xeon W3565 (4) @ 3.1GHz & Intel Xeon E31225 (4) @ 3.4Ghz

User avatar
JmaCWQ
Posts: 290
Joined: Fri Sep 09, 2016 4:42 am

Re: Firefox and Cookie Handling

#4 Post by JmaCWQ »

Eadwine Rose wrote: Sat Oct 12, 2019 4:47 am One google search gave me this: https://www.groovypost.com/howto/automa ... temp-exit/

Looks different, but still applies.


To be found here:

about:preferences#privacy
Then scroll down to history.
Thanks Eadwine, I'd already found that same info many times before asking here and yes that does work.
However the problem is I want it to keep some of the cookies upon closing instead of deleting them all.

User avatar
JmaCWQ
Posts: 290
Joined: Fri Sep 09, 2016 4:42 am

Re: Firefox and Cookie Handling

#5 Post by JmaCWQ »

darknetmatrix wrote: Sat Oct 12, 2019 4:49 am these things are well explained here: https://support.mozilla.org/en-US/kb/cl ... ta-firefox
Thanks darknetmatrix,
Already read that several times too before I posted, the problem with that page is it doesn't explain how to keep some of the cookies upon closing while removing everything else...unless I missed it.
It apparently could be done on older versions as there's quite a few tutorials showing the settings for this, but the newer versions of FF the settings are different & don't appear to have the necessary options that need changing to enable it.

User avatar
darknetmatrix
Posts: 79
Joined: Mon Sep 28, 2015 2:59 am

Re: Firefox and Cookie Handling

#6 Post by darknetmatrix »

HP Z400 Workstation HP Z210 Workstation
Intel Xeon W3565 (4) @ 3.1GHz & Intel Xeon E31225 (4) @ 3.4Ghz

User avatar
JmaCWQ
Posts: 290
Joined: Fri Sep 09, 2016 4:42 am

Re: Firefox and Cookie Handling

#7 Post by JmaCWQ »

Thanks again, yes seen that one several times also, but the settings described there to change don't appear in the current version of FF that I can see.

When I set "Use custom settings for history", the "Accept cookies from websites" and "Keep until:" settings don't appear like it's shown on that page.
The pic below is what I see in settings.
Under Cookie and Site Data, clicking "Clear Data" gives 3 options, clear all cookies and site data, clear the cache, or both.
Clicking "Manage Data" shows all the cookies with the option to remove only the selected ones or all at once.
"Manage Permissions" gives the options to block or allow cookies on different sites.

Under History, "Clear History" is obvious, with options to check/uncheck different parameters.
And the "Settings" beside Clear history when Firefox closes gives the same check/uncheck options as the Clear History options.


Image

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Firefox and Cookie Handling

#8 Post by JayM »

I suggest as this is a Firefox-specific question that you ask it in the Mozilla support forum. You'll probably have better luck being guided to a solution that suits you there.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
JmaCWQ
Posts: 290
Joined: Fri Sep 09, 2016 4:42 am

Re: Firefox and Cookie Handling

#9 Post by JmaCWQ »

Thanks Jay, yes that's the next step if no one here knows how to do this, thought I'd ask here first :cool:
Maybe Mozilla's removed that ability from the newer versions.
Add-ons can do it from what I've read, though I'd prefer to not use them if possible.

User avatar
jeffreyC
Posts: 539
Joined: Mon May 27, 2019 10:39 am

Re: Firefox and Cookie Handling

#10 Post by jeffreyC »

JmaCWQ wrote: Sat Oct 12, 2019 6:34 am Thanks Jay, yes that's the next step if no one here knows how to do this, thought I'd ask here first :cool:
Maybe Mozilla's removed that ability from the newer versions.
Add-ons can do it from what I've read, though I'd prefer to not use them if possible.
The ability to use add-ons is usually considered to be one of the greatest strengths of Firefox, so why wouldn't you use them?

Post Reply

Return to “Software / Configuration”