Alex-D / Cookies-EU-banner

1kb vanilla JS script which manages cookies consent banner display like asked by GDPR

Home Page:http://alex-d.github.io/Cookies-EU-banner/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use localStorage

garygreen opened this issue · comments

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.

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

Soon in 2.0.0