20

I'd like to remove cookies when I close Chrome, but only for a certain site. Chrome can do this, or says it can, but it doesn't work. When I restart Chrome the cookie for the site is still there. I thought maybe a chrome process was sticking around and keeping the cookie alive, but I checked in the task manager and there were no Chrome processes left.

  1. Settings->Advanced->Privacy and Security->Content Settings->Cookies->Clear on Exit

enter image description here

However if I visit the site, then close Chrome and restart, there is still a cookie there from the site. You can see the cookie in "See all cookies and site data" (Settings->Advanced->Privacy and Security->Content Settings->Cookies->See all cookies and site data).

enter image description here

enter image description here

UPDATE after disabling all extensions, the 1 cookie still remains.

  • Any pinned tabs, or bookmarks to the sites? Extensions, apps, add-ons? If you disconnect from the internet, then start Chrome, are the cookies still there? – Xen2050 Feb 25 '18 at 1:34
  • I do have an extension that's specific to that site, yes. I'm not sure what a pinned tab is. I don't have a bookmark that I know of, but there may be one buried in some folder for all I know. – felwithe Feb 25 '18 at 2:37
  • 2
    The extension could be downloading info/cookies immediately upon startup, if you don't have an internet connection then nothing should be re-downloading the cookies before you can look at them. Similar for a bookmark, firefox used to try downloading a site "thumbnail" even without visiting a site, but that might not have been a cookie specifically, but just another idea to check. You'd have to search for "pinned tab" for more info, I don't use them personally, but it's in Chrome's right-click a tab menu - basically keeps a tab open all the time. – Xen2050 Feb 25 '18 at 2:43
  • Removing the extension changed the size of the cookie from 214kb (very large for a cookie I think) to 130 bytes. However it still exists. Before closing the browser there are 11 cookies, and after restarting there is just that one, so maybe it's another extension. I'll try disabling all extensions. – felwithe Feb 25 '18 at 10:17
  • UPDATE: after disabling all extensions, the one cookie remains. (This is down from the 11 cookies that Chrome removes on exit, and the 1 cookie that the extension was setting. This is a single cookie of around 2000 bytes.) – felwithe Feb 25 '18 at 10:28
4

I see that you first posted this issue around 12 months ago (FEB 18). Fast forward 12 months later to FEB 19 and it is still an issue. This feature to 'Clear on exit' in the Chrome/Privacy and security/Content settings/Cookies area is not working. Cookies are still retained for any added sites after Chrome restarts.

I have a feeling that this has something to do with not interfering with subscription paywalls, but I digress...

There is a manual workaround for this. While not fully automated (or ideal!), it barely takes a few seconds to do.

One-off step In the Chrome browser URL bar, directly input the path 'chrome://settings/siteData' then save a bookmark to it. If - like me - you don't mind having the Chrome bookmarks bar always visible, it gives you instant access to manually clear cookies by site.

At the start of every session (only if you will be visiting the site in question)

  1. Click on the bookmark
  2. Search for the cookie(s) in question
  3. Click on the trash icon to clear them

Note: you don't need to restart the browser after the above steps.

Hope this helps.

3

I think this may be because your cookie says www.reddit.com but your rule says reddit.com. When adding a site, the example shows [*.] at the start:

sample

Try changing it to [*.]reddit.com.

2

This is definitely a bug, I noticed it recently, imagine my horror when I had thousands of cookies, even though I had set chrome to clear cookies on exit several months ago. Didn't have any such issue on Firefox.

  • 3
    A bug?? Very trusting man ... – Diagon Sep 17 '18 at 22:45
0

According to http://crbug.com/750452, this was fixed on Feb 18, 2019.
That would mean this issue should not occur in Chrome Version 73 and newer.

protected by Community Mar 25 at 17:40

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.