ihavecookies
ihavecookies copied to clipboard
jQuery plugin to display cookie consent message (EU regulation)
- Added secure and samesite options to setCookie - Updated readme - Add minimal build tooling - Fix hardcoded secure/samesite behaviour
Minor changes proposed by IDE (IntelliJ) Fix: closing tag in div#gdpr-cookie-message Change: Use same expiration (settings.expires) in cookie "cookieControlPrefs" than cookie "cookieControl"
Please add an event, when the user clicks the button to show more settings.
I also added some minimal build tooling (that you can leave out of course)
Hello, I would suggest having separate labels (or buttons) for accepting all cookies and saving the settings made on the customize page. To my users it is confusing to have...
Hello, I would suggest adding an option to change the id of the consent element from #gdpr-cookie-message to #_something-else_. This way, it would be harder for ad-blockers like to prevent...
This pull request saves to the body element into a variable to prevent it from being loaded twice. Finally, an if statement is simplified. No big changes, just very small...