MarcellusDrum@lemmy.ml to Programmer Humor@lemmy.ml · 3 years agoI mean at least they are honest?lemmy.mlimagemessage-square8fedilinkarrow-up1186arrow-down11
arrow-up1185arrow-down1imageI mean at least they are honest?lemmy.mlMarcellusDrum@lemmy.ml to Programmer Humor@lemmy.ml · 3 years agomessage-square8fedilink
minus-squareNewDark@lemmy.worldlinkfedilinkarrow-up16arrow-down1·2 years agolocalStorage is a thing, don’t need cookies for browser state
minus-squaremacniel@feddit.delinkfedilinkarrow-up3·2 years agoSure 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.
minus-squareZzombiee2361@lemmy.worldlinkfedilinkarrow-up5·2 years agoHow is storing hideCookieBanner: false on local storage risky?
minus-squaremacniel@feddit.delinkfedilinkarrow-up2arrow-down3·2 years agoWhat would the benefit of storing that in local storage?
minus-squarebighi@lemmy.worldlinkfedilinkarrow-up5·2 years agoRemembering that the user asked to not see that banner again.
localStorage is a thing, don’t need cookies for browser state
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.
How is storing
hideCookieBanner: false
on local storage risky?What would the benefit of storing that in local storage?
Remembering that the user asked to not see that banner again.