Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some cookies won't get deleted no matter what #121

Open
juanriccio opened this issue Mar 25, 2021 · 11 comments
Open

Some cookies won't get deleted no matter what #121

juanriccio opened this issue Mar 25, 2021 · 11 comments

Comments

@juanriccio
Copy link

I love this extension and have been using it for at least a couple years already.
Recently, I noted this problem - some cookies won't get deleted. They are not protected.
I also use Firefox containers (not the Facebook limited container - the general ones)
In particular, some eBay cookies can't get deleted either in a specific, eBay only container, or in a tab outside any container.
There could be more sites/cookies that have the same issues. If it's useful, I can report more cases.

THANKS for this great extension!

@strikegh
Copy link

strikegh commented Apr 5, 2021

Same issue. Not sure when it started, but recently (in the past couple of months). I also have Multi Account Containers add-on and it seems they don't play nice together. I am now unable to delete any cookies at all using the trashcan button no matter what container I open the Cookie Quick Manager page in, and even if I disable Multi Account Containers, still no dice. Doesn't matter if cookies are protected or not.

@juanriccio
Copy link
Author

I tried unprotecting individual cookies or "unprotect all cookies/session cookies", but whatever I do it seems I am unable to delete cookies, so that some containers get progressively more and more filled with "eternal" (well, nearly :-) cookies.

@Gatienzo
Copy link

Gatienzo commented May 3, 2021

Hi. I have the same problem. I can´t delete cookies from a container
spotify (some expired), google and stripe

@aureq
Copy link

aureq commented May 22, 2021

Same issue here.

I looked into the console while accessing the addon and upon pressing the delete button, I have the following

Object { "Not removed": null }
Object { RemovedError: "No error but not removed" }
Object { name: "WMF-Last-Access", value: "05-May-2021", domain: "commons.wikimedia.org", hostOnly: true, path: "/", secure: true, httpOnly: true, sameSite: "no_restriction", session: false, firstPartyDomain: "", … }
   domain: "commons.wikimedia.org"
   expirationDate: 1622937600
   firstPartyDomain: ""
   hostOnly: true
   httpOnly: true
   name: "WMF-Last-Access"
   path: "/"
   sameSite: "no_restriction"
   secure: true
   session: false
   storeId: "firefox-container-1"
   value: "05-May-2021"
   <prototype>: Object { … }

This cook is not protected and I can't delete it either. I tried to protect and unprotect it but no luck either.

@sebasira
Copy link

sebasira commented Jul 2, 2021

Same happens to me! I can not delete a single cookie. I'm also using the MultiContainer addon

@Red-Eagle-LXIX
Copy link

Red-Eagle-LXIX commented Jul 22, 2021

Same issue, some cookie won't delete via the addon but do in the regular FF cookie system.

I do not have the Firefox Multi-Account Containers addon installed.
EDIT: while I do not have the Firefox Multi-Account Containers I do have Sidebery installed which appears to integrate/have similar/same functionality. Although none of the cookies created were for any containers. As others have mentioned, native Firefox cookie management was able to delete said cookie without issue.

Possibly relevant? I see Wikimedia mentioned and google. It was those same domains I had issue with (as well as several others not mentioned).

@Dennywuh
Copy link

Same issue. Currently 202 cookies that Cookie Quick Manager won't delete but that I can delete with no difficulty via Firefox or CCleaner.

@minicode01
Copy link

Getting the same issue here, with Firefox Multi-Account Containers, trying to "Delete Current Context Cookies".

For example there are 65 cookies in the context (container), asking CookieQuickManager to delete them, and then it shows 13. Asking to delete again, still show 13. Going to the details, I can see all these remaining cookies, none of them are protected.

I also cannot delete them one a a time (by going to Manage All Cookies, and then drop-down to the container, right click to the cookie and select Delete). There is no explanation as of why the cookie is not being deleted; it just keeps showing up there. I tried to select Unprotect and then Delete. Same: does as if it worked, but the cookie is still there.

The only way to really get rid of it is either deleting the container and re-creating it; or cleaning cookies from the Firefox menu, but this gets rid of all cookies in all contexts, including some I would prefer to keep.

I'm willing to make any other tests and provide feedback.

Please help,

Thanks!

@tptlab
Copy link

tptlab commented Sep 25, 2021

I examined cookies.sqlite in my profile directory.
And found that those cookies has partitionKey= in originAttributes column. In addition, they cannot be edited by this addon. It creates another cookie on clicking save button.

I'm not sure what is this value but I hope it help you to find the root cause.

@dry4ng
Copy link

dry4ng commented Oct 26, 2021

Same issue here. Is this project dead? So many reports and no replies from developers.

@ormax3
Copy link

ormax3 commented Nov 27, 2022

@tptlab

While this extension supports first-party isolation, it was never updated to support the newer partitioned cookies (i.e dynamic state partitioning) which supersedes FPI cookies:

https://hacks.mozilla.org/2021/02/introducing-state-partitioning/

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/cookies#storage_partitioning

By default, cookies.get(), cookies.getAll(), cookies.set(), and cookies.remove() work with cookies in unpartitioned storage. To work with cookies in partitioned storage in these APIs, topLevelSite in partitionKey must be set.

Since this extensions does not specify the partitionKey option in the cookies API calls, it will only see and work with unpartitioned cookies.


An example of another addon that supports partitioned cookies:

https://addons.mozilla.org/en-US/firefox/addon/a-cookie-manager/

Notice the two columns it displays "domain" and "partition". Sadly the UI is less intuitive as it does not offer a way to group cookies by domain, it displays all cookies as a flat list...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests