this post was submitted on 01 Oct 2021
0 points (NaN% liked)

Programmer Humor

32716 readers
623 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] DmMacniel@feddit.de 0 points 1 year ago (1 children)

Sure it is a thing but JavaScript on that domain can access it either injected or provided by the site. This is quite risky. Cookies can be http only so that client code cant access it.

[–] Zzombiee2361@lemmy.world 0 points 1 year ago (1 children)

How is storing hideCookieBanner: false on local storage risky?

[–] DmMacniel@feddit.de 0 points 1 year ago

What would the benefit of storing that in local storage?