Hacker News new | ask | show | jobs
by thinkingemote 386 days ago
I recently looked at how websites handled these simple "accept cookies" buttons - turns out lots of them did them like your example but more like {trackUser(); } else {trackUser(); } The only effect was to close the popup.

Even some (most?) off the shelf cookie consent libraries don't handle the turning the actual cookies off.