Seneste svar på Hello, How to keep only certain cookies and delete all other history/browsing content when Firefox is closed? Thankshttps://support.mozilla.org/da/questions/12705242020-04-08T07:33:48-07:00Sorry to be a pain in the tush, but does that mean if I "Delete cookies when closing..", the cookies2020-04-08T07:33:48-07:00MichaelJonashttps://support.mozilla.org/da/questions/1270524#answer-1303734<p>Sorry to be a pain in the tush, but does that mean if I "Delete cookies when closing..", the cookies I've listed in Allow will not be deleted, but the others will?
</p>You can let the cookies expire when Firefox is closed to make them session cookies instead of using 2020-04-08T07:27:57-07:00cor-elhttps://support.mozilla.org/da/questions/1270524#answer-1303731<p>You can let the cookies expire when Firefox is closed to make them session cookies instead of using "Clear history when Firefox closes" to clear all cookies including cookies with an allow exception you may want to keep.
</p>
<ul><li>Options/Preferences -&gt; Privacy &amp; Security<br>Cookies and Site Data: [ ] "Delete cookies and site data when Firefox is closed"
</li></ul>
<p>You can create an allow exception to keep cookies for specific websites.
</p>
<ul><li>Options/Preferences -&gt; Privacy &amp; Security<br>Cookies and Site Data: "Manage Permissions"
</li></ul>
<p>A cookie allow exception is only honored if you use "Delete cookies and site data when Firefox is closed" and not when you use "Clear history when Firefox closes" to clear the cookies.
</p>Using Mac Mini, and latest FF update. I still need clear instructions for keeping cookies for selec2020-04-08T05:52:41-07:00MichaelJonashttps://support.mozilla.org/da/questions/1270524#answer-1303698<p>Using Mac Mini, and latest FF update. I still need clear instructions for keeping cookies for selected sites when I delete cookies for all other sites.
</p><p>I'm trying to not have to login in to selected sites after every time I clean cookies.
</p><p>I can't find this in FF, and the extensions I've looked at don't seem to do that.
</p><p>Thanx for helping.
</p>Couldn't get it to work correctly so decided not to waste anymore time on it & installed the Coo2019-10-13T11:31:31-07:00interfusionhttps://support.mozilla.org/da/questions/1270524#answer-1258645<p>Couldn't get it to work correctly so decided not to waste anymore time on it &amp; installed the Cookie Quick Manager add-on.
It does the job ok.
</p>Interesting...I nearly always close the tabs before closing FF and definately did close them first w2019-10-12T17:51:49-07:00interfusionhttps://support.mozilla.org/da/questions/1270524#answer-1258535<p>Interesting...I nearly always close the tabs before closing FF and definately did close them first when experimenting before posting earlier.
I do have 'browser.tabs.closeWindowWithLastTab' set to false, not sure if that makes a difference or not.
I'm on version 69.0.1 (64-bit) on MX-Linux &amp; I don't see a sessionstore file anywhere in my profile folder.
There is a sessionstore-backup folder that contains 2 files named recovery, one has a jsonlz4 extension.
</p>If you keep tabs open when you close Firefox then its cookies are retained in sessionstore.jsonlz4 a2019-10-12T16:19:09-07:00cor-elhttps://support.mozilla.org/da/questions/1270524#answer-1258524<p>If you keep tabs open when you close Firefox then its cookies are retained in sessionstore.jsonlz4 as part of the session data if that is what you use.
</p>Thanks for the reply cor-el.
After a restart some cookies that haven't been given allow exceptions a2019-10-12T13:35:26-07:00interfusionhttps://support.mozilla.org/da/questions/1270524#answer-1258513<p>Thanks for the reply cor-el.
After a restart some cookies that haven't been given allow exceptions are still there, is that the expected behaviour?
My intention is to have all cookies, except the ones I specify, be auto deleted each time Firefox is closed.
Do I need an add-on for this?
Thanks
</p>Let the cookies expire when Firefox is closed to make them session cookies instead of using "Clear h2019-10-12T09:21:04-07:00cor-elhttps://support.mozilla.org/da/questions/1270524#answer-1258474<p>Let the cookies expire when Firefox is closed to make them session cookies instead of using "Clear history when Firefox closes" to clear the cookies.
</p>
<ul><li>Options/Preferences -&gt; Privacy &amp; Security<br>Cookies and Site Data: [ ] "Delete cookies and site data when Firefox is closed"
</li></ul>
<p>You can create an allow exception to keep specific cookies.
</p>
<ul><li>Options/Preferences -&gt; Privacy &amp; Security<br>Cookies and Site Data -&gt; Manage Permissions
</li></ul>
<p>If you use "Clear history when Firefox closes" to clear the cookies then all cookies are removed including cookies with an allow exception.
You can still use "Clear history when Firefox closes" to clear the cache.
</p>
<ul><li><a href="https://support.mozilla.org/en-US/kb/delete-browsing-search-download-history-firefox" rel="nofollow">https://support.mozilla.org/en-US/kb/delete-browsing-search-download-history-firefox</a>
</li></ul>
<p>Note that you lose pinned tabs if you select to clear the browsing history.
</p>