X
Tippen Sie hierhin, um die Version dieser Website für Mobilgeräte aufzurufen.

Hilfeforum

Hello, How to keep only certain cookies and delete all other history/browsing content when Firefox is closed? Thanks

Veröffentlicht

I cannot figure out how to keep only certain chosen cookies and delete all others, plus delete the cache and all history upon closing Firefox. Can this be done without using an add-on? Thanks

I cannot figure out how to keep only certain chosen cookies and delete all others, plus delete the cache and all history upon closing Firefox. Can this be done without using an add-on? Thanks
Zitieren

Mehr Details zum System

Installierte Plugins

  • Shockwave Flash 32.0 r0

OpenH264 Video Codec

Anwendung

  • User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0

Weitere Informationen

cor-el
  • Top 10 Contributor
  • Moderator
17470 Lösungen 157890 Antworten
Veröffentlicht

Hilfreiche Antwort

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.

  • Options/Preferences -> Privacy & Security
    Cookies and Site Data: [ ] "Delete cookies and site data when Firefox is closed"

You can create an allow exception to keep specific cookies.

  • Options/Preferences -> Privacy & Security
    Cookies and Site Data -> Manage Permissions

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.

Note that you lose pinned tabs if you select to clear the browsing history.

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. *Options/Preferences -> Privacy & Security<br>Cookies and Site Data: [ ] "Delete cookies and site data when Firefox is closed" You can create an allow exception to keep specific cookies. *Options/Preferences -> Privacy & Security<br>Cookies and Site Data -> Manage Permissions 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. *https://support.mozilla.org/en-US/kb/delete-browsing-search-download-history-firefox Note that you lose pinned tabs if you select to clear the browsing history.
Hat Ihnen das weitergeholfen? 1
Zitieren

Fragesteller

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

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
Hat Ihnen das weitergeholfen?
Zitieren
cor-el
  • Top 10 Contributor
  • Moderator
17470 Lösungen 157890 Antworten
Veröffentlicht

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.

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.
Hat Ihnen das weitergeholfen?
Zitieren

Fragesteller

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 & 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.

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 & 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.
Hat Ihnen das weitergeholfen?
Zitieren

Fragesteller

Couldn't get it to work correctly so decided not to waste anymore time on it & installed the Cookie Quick Manager add-on. It does the job ok.

Couldn't get it to work correctly so decided not to waste anymore time on it & installed the Cookie Quick Manager add-on. It does the job ok.
Hat Ihnen das weitergeholfen?
Zitieren
Stellen Sie eine Frage

Sie müssen sich mit Ihrem Benutzerkonto anmelden, um auf Beiträge zu antworten. Bitte stellen Sie eine neue Frage, wenn Sie noch kein Benutzerkonto haben.