cfenollosa / eu-cookie-law Goto Github PK
View Code? Open in Web Editor NEWHelping webmasters comply with the EU cookie law
Helping webmasters comply with the EU cookie law
Hi @cfenollosa
Thanks for sharing your code. I was hoping to use it in a production project but notice there is no license attached. Would you be willing to choose and add a License to your project?
Hi @cfenollosa
denyConsent()
should unbind scroll and clicks events when a user deactivates the cookies.
You can test it in your blog: click "deactivate cookies", click a link to an other page... and the google analytics code is downloaded.
These 2 lines inside denyConsent()
should fix this issue.
$(window).unbind("scroll");
$("a:not(.noconsent)").unbind("click");
Cheers
Marco
Hey hi. Go to your Demo, scroll little bit down and up. You have automatic accepted
You know you can probably just get away with a "Privacy policies & cookies" link in the footer, then say what cookies you use on that page.
Rather than off-putting with the user straight away. If the user gives a shit they'll visit that page.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.