Hacker News new | ask | show | jobs
by vklj 4681 days ago
Actually, most warning implementations punish those users that disable cookies in their browsers by forcing them to see the obnoxious warning every time they visit the site.

This is arguably worse than the previous situation.

1 comments

... This isn't some "punishment" this is how the internet works. If you opt out of being tracked and cookies... how would that be remembered? That is really a sign it's working. This is part of why this is such an amazingly defective law
Some pages (eg. all that use the consent.truste.com script) use localStorage to store the decision. That way the decision remains client-side and can still be persistent by hiding the question via javascript.
This law applies to any kind of "data" stored on the client, so using localStorage to store the user's answer would be breaking the law. http://www.cookiepedia.co.uk/eu-cookie-law
I don't remember the specifics. They could add a checkbox "store this decision locally", which would allow storing this single information - and localStorage is the best place to put it (unlike cookies).