Hacker News new | ask | show | jobs
by borne0 3272 days ago
While on the topic of tracking, is there a plugin that lets you delete cookies using rules on a per domain basis? for example, cookies are useful for some sites, and others they are useful for certain periods of time, and thereafter it would be nice to get rid of them (and yet more sites shouldn't be able to leave cookies at all). I know there are some plugins that let you block all cookies, or manage them after the fact, but I want something rule based and automated
2 comments

Self Destructing Cookies is basically this. You can whitelist domains to keep cookies.
vanilla cookies in Chrome allows quick cookie clearing (one click) and you can customize rules to save specific cookies. Self Destructing Cookies on FF is fantastic also.
I use this [1] -- it's great. I have it set to delete any cookies not on the whitelist 30 minutes after last set. That way I can log into a site that's not on the whitelist and do something and after I've stopped using for 30 mins I'm logged out and cookies deleted. However - it's not perfect. It doesn't delete local storage, local databases, or Flashâ„¢ storage. There is a nest of Chromium issues [2] needed to be resolved to make this work. It looks like the most recent related work was done Sep 2016 [3] so maybe there's some hope, even though the issues have been open for 5+ years. Of course I have the option of working on it myself but having looked at the 5-10 related issues I think it would take quite some time to develop an understanding of all the APIs.

[1] https://chrome.google.com/webstore/detail/vanilla-cookie-man...

[2] https://bugs.chromium.org/p/chromium/issues/detail?id=78093

[3] https://bugs.chromium.org/p/chromium/issues/detail?id=589586...