Firefox and Cookie Handling
Firefox and Cookie Handling
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
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
- Eadwine Rose
- Administrator
- Posts: 15240
- Joined: Wed Jul 12, 2006 2:10 am
Re: Firefox and Cookie Handling
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.
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
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
- darknetmatrix
- Posts: 79
- Joined: Mon Sep 28, 2015 2:59 am
Re: Firefox and Cookie Handling
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
Intel Xeon W3565 (4) @ 3.1GHz & Intel Xeon E31225 (4) @ 3.4Ghz
Re: Firefox and Cookie Handling
Thanks Eadwine, I'd already found that same info many times before asking here and yes that does work.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.
However the problem is I want it to keep some of the cookies upon closing instead of deleting them all.
Re: Firefox and Cookie Handling
Thanks darknetmatrix,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
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.
- darknetmatrix
- Posts: 79
- Joined: Mon Sep 28, 2015 2:59 am
Re: Firefox and Cookie Handling
I hope this can help you: https://support.mozilla.org/en-US/questions/1200198
HP Z400 Workstation HP Z210 Workstation
Intel Xeon W3565 (4) @ 3.1GHz & Intel Xeon E31225 (4) @ 3.4Ghz
Intel Xeon W3565 (4) @ 3.1GHz & Intel Xeon E31225 (4) @ 3.4Ghz
Re: Firefox and Cookie Handling
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.

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.

Re: Firefox and Cookie Handling
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.
Re: Firefox and Cookie Handling
Thanks Jay, yes that's the next step if no one here knows how to do this, thought I'd ask here first 
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.

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.
Re: Firefox and Cookie Handling
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?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
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.