If you set Google Chrome to purge all website cookies and site data when you close the browser, it nonetheless keeps the site data for two specific websites: YouTube and Google itself.
- Best Android browsers for your favorite mobile devices
- How to reset Google Chrome
- Ariana Grande releasing new single Positions — how to stream it
“Perhaps this is just a Google Chrome bug, not intentional behavior, but the question is why it only affects Google sites, not non-Google sites,” Johnson wrote. “I’ve tested using the latest Google Chrome version 86.0.4240.75 for macOS, but this behavior was also happening in the previous version of Chrome. I don’t know when it started.”
To set Google to get rid of all site cookies and data every time you quit the browser, go to Settings, then “Privacy and security” and then “Cookies and other site data” and then toggle the switch labeled “Clear cookies and site data when you quit Chrome.”
In theory, this should work on all sites. But according to Johnson, it doesn’t.
“Chrome exempts Google’s own sites, such as Search and YouTube, from this setting,” he wrote. “After I quit and relaunch, the [YouTube] cookies are deleted, but the database storage, local storage, and service workers are still there!”
He found the same behavior related to Google.com, but no other websites.
How to get around the Google exemption
We haven’t tested this on Windows, but because Chrome behaves pretty much the same way on all desktop platforms, we’d expect the same behavior there. Retaining site data isn’t that big a deal, but it does permit Google to track users who might have thought they were exempting themselves from such things.
“Many users set Chrome to automatically delete cookies-and-site-data on exit … to prevent being stalked around the web even though it often requires them to log back into websites the next time they visit due to their per-session cookies being wiped,” The Register’s Kieren McCarthy noted.
McCarthy reached out to Google for comment, and the search giant claimed it was an innocent mistake.
“We are aware of a bug in Chrome that is impacting how cookies are cleared on some first-party Google websites,” Google told The Register. “We are investigating the issue, and plan to roll out a fix in the coming days.”