Alex-D / Cookies-EU-banner

1kb vanilla JS script which manages cookies consent banner display like asked by GDPR
http://alex-d.github.io/Cookies-EU-banner/
MIT License
439 stars 57 forks source link

Use localStorage #44

Closed garygreen closed 5 years ago

garygreen commented 5 years ago

It would be cool if this library would use localStorage to store the dismiss rather than a cookie. At least make it an option. Most developers don't care that a cookie is set and it just clutters every subsequent request.

Alex-D commented 5 years ago

Done. Not as good as cookie way, but should be OK.

Soon in 2.0.0