multi-account-containers icon indicating copy to clipboard operation
multi-account-containers copied to clipboard

Reset cache/cookies of containers without deleting them

Open pollti opened this issue 8 years ago • 38 comments

It would be great to have an option to delete a container's data (cache/cookies/...) without recreating the container.

pollti avatar Mar 02 '17 10:03 pollti

This also ties in to the cookie deletion modal inside the settings. As far as I can tell, deleting a cookie there deletes it in all containers. Which means I need to login into all my accounts in various containers, which is rather unfortunate.

Perhaps more concretely, I would like to wipe all (or some) cookies from the default container leftover from setting up the various containers. I.e. visited github in default before assigning it to "work". Now every time I visit some other site, GitHub can potential track me.

Related, but not for this issue, is the ability to block cookies in some containers. See #1193

maxnordlund avatar Apr 15 '18 12:04 maxnordlund

The option to delete cache and cookies of a specific container is a must.

AdKiller avatar May 26 '18 19:05 AdKiller

Um, when will this get fixed? It's been 18 months?

oneEyedCharlie avatar Oct 25 '18 17:10 oneEyedCharlie

I assumed when using the "Clear Cookies and Site Data..." button that only cookies and site data from the current container would be affected. When I discovered that cookies from other containers were also deleted, it made me wonder if the multi-account containers add-on was actually segregating cookies at all. After doing some research I believe that the problem is just with clearing cookies, not with setting cookies—but I want to emphasize the potential for losing trust with users if the "Clear Cookies and Site Data" feature does not respect containers.

jbyler avatar Dec 04 '18 22:12 jbyler

but I want to emphasize the potential for losing trust with users if the "Clear Cookies and Site Data" feature does not respect containers.

I'm a bit dubious using the '(dis)trust', nevertheless, I agree with the premise of the argument (feature request).

bugz8unny69 avatar Dec 21 '18 21:12 bugz8unny69

Combined with #1346 this would be very powerful. I want to allow new sites/pages to open in a default container and only open a site in a container with my cookies in it when I explicitly choose too. Then periodically delete cookies from the default container (or on a policy like every day or on FF close).

activescott avatar Feb 22 '19 20:02 activescott

Duh, I can't believe this hasn't been implemented yet?

How am I supposed to clean my cache of a container if it gets broken? I'm surprised this essential feature is missing!

NeatWolf avatar Oct 30 '19 09:10 NeatWolf

Dear Mozilla Team.

This would be a highly appreciated feature. For example add a drop-down menu in the "Clear All history" dialog for selecting the container, including the default container. This would allow clearing only that specific container.

As of now, we have to clear the history of all containers and then re-login to the websites of that container. In my case, I would like to more often clear the history of my default container, but leave my specific containers untouched.

cruzzer avatar Jan 09 '20 14:01 cruzzer

Dear Mozilla Team.

This would be a highly appreciated feature. For example add a drop-down menu in the "Clear All history" dialog for selecting the container, including the default container. This would allow clearing only that specific container.

As of now, we have to clear the history of all containers and then re-login to the websites of that container. In my case, I would like to more often clear the history of my default container, but leave my specific containers untouched.

This 100%. I'd love to have some containers where the cookies are never cleared (so to stay logged in), even when I clear all history/cookies from the "Privacy & Security" menu and also vice versa where I can delete cache/cookies inside a certain container only if need be. There needs to be options and flexibility around this.

Joseei avatar Feb 13 '20 02:02 Joseei

Absolutely agree here. The Multi-Account Containers combined with the ability to automatically destroy all cookies for one of the containers when you exit or on a periodic basis (24-hours?) would be a great addition. I've found "Cookie Quick Manager" that allows me to do this manually, but I'd love to see it built in as a "self destructing container" feature.

w457381n avatar Feb 24 '20 15:02 w457381n

Seconding this feature request. This capability is essential, but I can second @dbm1175 and confirm that Cookie Quick Manager integrates very nicely with the containers and allows you to achieve this functionality right now!

do-adams avatar Mar 09 '20 03:03 do-adams

Not sure if I'm just doing it plain wrong, but the container is keeping cached files not matter the cache-control policy associated to a resource. My only way to force a refresh this way is to do it from the dev panel tool Disable cache checkbox. I could hardly recommend that plugin to anyone with such shortcomings. Please correct me and tell me that there is a solution for this. I've been truly enjoying the comfort this plugin, especially in providing a simple way to handle different account connections to the same website. I hope this will be addressed.

popindavibe avatar May 25 '20 13:05 popindavibe

I think this extension does anything you want : Cookie-AutoDelete

No, it does not. I use Cookie-AutoDelete for a long time, then i noticed that some stupid poll i clicked (without authorizing) remembered the answer. I tried manually deleting container cookies in Cookie-AutoDelete without any luck. Clearing all browser cache\cookies helped.

poiNt3D avatar Apr 17 '21 13:04 poiNt3D

It's great that there are some solutions for clearing cookies from containers, but we really need a way to clear the cache from a container. Currently, it seems you need to delete the whole container and re-create it. Global cache clear does not clear the cache of containers!

politas avatar Dec 01 '21 23:12 politas

To clarify, when you do clear all cache from the settings, does it also clear it for all containers or only for no container?

shmerl avatar Dec 04 '21 23:12 shmerl

As a developer who uses multi-account containers to log into various dev/staging/production/overseas environments. It would definitely be nice to be able to clear the cookies/cache/local storage for a given container without affecting the other containers.

Kaleb-JCI avatar Jan 12 '22 16:01 Kaleb-JCI

I tried manually deleting container cookies in Cookie-AutoDelete without any luck. Clearing all browser cache\cookies helped.

This might have to do with Total Cookie Protection. If you enable ETP Strict, Firefox isolates cookies and storage according to their first and third party contexts. Cookie AutoDelete hasn't been updated to handle the new behavior, the issue is being tracked here.

My current settings are ETP Strict + Clear data on exit (with whitelisted sites for persistent logins within containers). Unfortunately, this means whitelisted site data is kept in every container. I'd like to be able to keep Google cookies in the Google container and clear them outside of it.

crisp5 avatar Mar 09 '22 00:03 crisp5

This would be really convenient when you've accidentally logged into a site in the wrong container.

calebplum avatar Mar 29 '22 07:03 calebplum

I have FF clearing my cookies every session, and yet sites that I try to isolate from having access to my daily browsing get to keep their cookies forever.

Tyler-2 avatar Mar 30 '22 17:03 Tyler-2

There is a regular Firefox functionality to clear cookies. It could be achieved by two clicks:

image

The only problem is that this kind cleaning cause cleaning site related cookies and data for all containers.

So maybe correct way could be asking not MAC developers to provide cleaning functionality but ask Firefox developers to honor container that site is open in when they perform cleaning.

achernyakevich-sc avatar Apr 02 '22 09:04 achernyakevich-sc

That's fair. I couldn't find anything on Mozilla Connect, but there's this 4-year-old bug in Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1480175. Maybe some day... :)

crisp5 avatar Apr 02 '22 18:04 crisp5

There was a similar request in the Firefox Support Forum: Manage cookies in a container

Official answer:

I think that you will need to use a Cookie Manager extension for finer cookie control like Multi-Account Containers. You can search the Add-ons website.

  • Cookie Quick Manager https://addons.mozilla.org/firefox/addon/cookie-quick-manager
  • Cookiebro - Cookie Manager https://addons.mozilla.org/firefox/addon/cookiebro/
  • Cookie Manager https://addons.mozilla.org/firefox/addon/a-cookie-manager/

djbrown avatar May 07 '22 11:05 djbrown

Is there any status for this in Firefox? Would be nice to do without an extension

jackbritchford avatar Jan 28 '23 12:01 jackbritchford

Would be nice to do the cache at all.

politas avatar Jan 30 '23 10:01 politas

Agree with @jackbritchford . I just came across this today when I wanted to move a site to a new container (preferred) or delete all the cookies etc from one container ... and found it doesn't work. 👎

bunk3m avatar Apr 26 '23 20:04 bunk3m

I can't quite believe this feature isn't implemented!
Deleting and re-creating a container seems excessive for a simple clean up. Also belongs as an entry in the docs on this page: https://support.mozilla.org/en-US/kb/containers

LCameron avatar May 09 '23 01:05 LCameron

"Clear cookies and site data" in addition to clearing more, does not work some pages and I must delete Container. Example: I have local install of Nextcloud and sometimes I cannot get tjhe page to work in Container only. Please check that https://github.com/mozilla/multi-account-containers/pull/2498 and merge...

timur-g avatar Jul 03 '23 11:07 timur-g

Would be great to see this implemented, it's a major oversight imo.

Does this extension use any privileged APIs not accessible to user-written extensions, if not, then I guess we could fork?

chriscz avatar Oct 09 '23 05:10 chriscz

Would definitely be very nice feature!

ddybing avatar Oct 16 '23 10:10 ddybing