▲ | reactordev 3 days ago | ||||||||||||||||||||||||||||||||||||||||||||||
Instead of document.cookie consider document.localStorage since there’s verbiage around showing a notice on your site if you use cookies, etc, for tracking purposes. At least with local storage, you aren’t using cookies :P | |||||||||||||||||||||||||||||||||||||||||||||||
▲ | Tarq0n 3 days ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||
The law doesn't care whether it's a cookie or an equivalent. | |||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||
▲ | maurycyz 2 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||||||||
Except it's not tracking. Remembering user preferences is the original goal of cookies, and doesn't come with any legal requirements. The law is (paraphrasing) "You must use cookies or similar to be evil without permission". Advertising companies decided that instead of not being evil, they'd annoy users into giving permission. | |||||||||||||||||||||||||||||||||||||||||||||||
▲ | account42 2 days ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||||||||
How does this nonsense still get repeated in 2025? | |||||||||||||||||||||||||||||||||||||||||||||||
|