X
Pritisnite ovdje da biste otišli na mobilnu verziju stranice.

Forum podrške

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

Objavljeno

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
Citiraj

Dodatni detalji o sistemu

Instalirani priključci

  • Shockwave Flash 32.0 r0

OpenH264 Video Codec

Aplikacija

  • Korisnički agent: Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0

Više informacija

cor-el
  • Top 10 Contributor
  • Moderator
17537 rješenja 158573 odgovora

Korisan odgovor

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.
Je li vam ovo pomoglo? 1
Citiraj

Vlasnik pitanja

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
Je li vam ovo pomoglo?
Citiraj
cor-el
  • Top 10 Contributor
  • Moderator
17537 rješenja 158573 odgovora

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.
Je li vam ovo pomoglo?
Citiraj

Vlasnik pitanja

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.
Je li vam ovo pomoglo?
Citiraj

Vlasnik pitanja

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.
Je li vam ovo pomoglo?
Citiraj
Postavite pitanje

Morate se prijaviti na račun da biste odgovarali na poruke. Molimo postavite novo pitanje, ako još uvijek nemate račun.