Code Monkey home page Code Monkey logo

jquery-eu-cookie-law-popup's People

Contributors

crmpicco avatar wimagguc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jquery-eu-cookie-law-popup's Issues

Expose EuCookieLawPopup()

Even though the documentation says it's possible to enter parameters with code such as this:

(new EuCookieLawPopup()).init({
  // ...
});

This actually doesn't work, as EuCookieLawPopup() is not available outside the closure where it's defined. I removed the "var" before its definition, so it's a global variable. Now it works, but there should be a more elegan solution. ;)

The closing button

Hello,

there is small issue with the plugin, I am not sure if you are aware, but the popup should not be accepted by clicking on the X button.

When that happens, I belive the popup should disappear, but it definitely should not be accepted.

By law it needs to be accepted only by clear consent, which in this case is the "Accept" button.

Are you still maintaining this plugin?

Thank you!

Josef

How to not accept cookies?

I see in the demos there is a check if a user accepted the cookies, but nowhere is an example if a user doesn't accept them. Even if I click the closing X it still says: cookie consent: true. What is needed to get cookie consent: false?

The "X" button still visible after closing the bar/popup.

Hello and thank you for sharing this excellent cookies bar that I am using in my Joomla 3.X website.

Because I have to use the cookie message in different languages, I have used the solution with a

and I have inserted into a module.
I have the following issue:

  • once I close the cookie bar the "X" of the closing bar still remain visible.
    It seems that the page read both the Javascript solution and the Div solution...
    Is there a possible to solve this issue?
    Many thanks and regards.
    Filippo
    1
    2

Add 'already accepted' function

Great plugin. But when dynamically loading Google Analytics, the user_cookie_already_accepted can be triggered early.

My work-around was to add an additional public function, so you can check cookie acceptance at any time:
alreadyAccepted : function() {
// No need to display this if user already accepted the policy
return userAlreadyAcceptedCookies();
}

compact setting is missing

When I use javascript stting I can't set compact Style= true so looking in code something is missing.

I have added inside

if (settings) {

those line

if (typeof settings.compactStyle !== 'undefined') {
     _self.params.compactStyle = settings.compactStyle;
}

Please change ticks/quote signs on demo page (blog version), quotes are invalid

I tried everything with the demo code on your website blog demo page and nothing worked, till I thought of the often re-occurring irritation that many display scripts have (and a few text-editors) for code when presented in a copy-paste box - namely ticks and quotation characters being wrongly output into the writers versions, not the straight ones. They are invalid for the javascript code posted on the blog page where we can grab the copy-paste code. On the Github pages they are correct. But the blog uses these - โ€ - instead of these - " -. Also the single quotes are being tilted from what should be - ' - into - โ€˜ -. Please change that so no more people have to wonder. Or direct us to the Github for demos only, at least for the copy-paste.

Perhaps you were copy-pasting the code into or out of mac TextEdit, that screws these up all the time. When in Atom, the characters persisted and I got nothing but errors. Works fine now though, when changed.

Doesn't work

I just go to the demo pages, and no cookie bar or whatever ever shows up. Not when I delete all cookies, and not when I open them in a Private window.

I'm using Firefox 61, Ghostery (enhanced anti-tracking, enhanced ad blocking, smart blocking all OFF), and AdBlock (subscribed to EasyList and "Dutch"). No proxy or whatever that messes with things.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.