UNPKG

gdpr-cookie

Version:

A jQuery plugin to manage cookie settings in compliance with EU law

21 lines (15 loc) 946 B
# Changelog ### Version 0.3.0 * You can now have a checkbox checked by default. Use with care. (fixes [#2](https://github.com/thany/gdpr-cookie/issues/2) by [tmdevde](https://github.com/tmdevde)) * The advanced button can also toggle instead of going diabled. * It can now also switch between intro and checkboxes, instead of showing both. * You can control which cookie types are accepted before and after having seen the checkboxes. * Added an optional text between the subtitle and the checkboxes. ### Version 0.2.0 * It now requires only a single cookie to function * You can customize the name of the cookie (fixes [#1](https://github.com/thany/gdpr-cookie/issues/1) by [rawsource](https://github.com/rawsource)) * Better resillience against incorrect cookie values * Cookie expires was still hardcoded 😳 * It's now possible to reload the page after pressing the accept button ### Version 0.1.0 * Initial release