1.0.15
June 20th, 2022
Added
- Make Cookie Byte work with static caching
Changed
- Some minor code cleanup
- Make statically cached sites update, when the CookieByte CP configuration is saved
1.0.12
November 22nd, 2021
Fixed
- Fix bug that falsely set the consents into the browsers' cookies after accepting cookies through a cookie cover
1.0.11
November 4th, 2021
- Fix bug that prevents the output of the javascript code which should be executed when a cookie category is consented to
1.0.9
November 4th, 2021
Fixed
- Fix bug that prevents the output of the javascript code which should be executed when a cookie category is consented to
1.0.7
August 17th, 2021
Fixed
- Bug that ignored unchecked checkboxes in the cookie modal when the settings were changed afterwards #3
1.0.6
August 12th, 2021
Fixed
- Cookie covers with the same handle on one page are now collectively closed #2
- Warning: Make sure to replace all instances of '#ddmcc-button-accept' to '.ddmcc-button-accept' in your custom styles, else the buttons of the covers might not be styled anymore.
1.0.5
August 11th, 2021
Added
- Cookie covers now close as soon as their cookie category or cookie categories have been consented to from elsewhere
- The cookie modal closes as soon as all cookie categories have been consentend to from elsewhere
Fixed
- All cookies covers of the same cookie category are now closed at the same time #2
1.0.4
July 26th, 2021
- Added check if a background image was set on a cookie cover
- Fixed possible error 'Cannot render an array variable as a string: {{ bg_image }}'
1.0.1
May 6th, 2021
- Added prevention for running a callback multiple times.
- Added autorun option for controlling if the callbacks are automatically run with initialization of the class.
1.0.0
April 13th, 2021
Added
- Cookie modal
- customizable text
- customizable position
- customizable background
- checkbox for each cookie category
- two buttons: "Select all" and "Confirm selection"
- Cookie content cover
- customizable text
- customizable background image
- JavaScript
- Object
CookieConsent
: consent & callback management- Method
hasConsent(cookieCategories)
for checking consent of cookie category/categories - Method
consent(cookieCategories)
for consenting to cookie category/categories - Method
registerCallback(cookieCategory, callback)
Registering a callback function after consenting to a cookie category - Method
unregisterCallback(cookieCategories)
unregistering callback functions - Method
runCallback(cookieCategories)
runs the callback if the cookie category/categories have already been consented to - Method
runCallbacks()
runns callbacks of all consented cookie categories
- Method
- Object
CookieModal
: modal initialization- Method
show()
Makes the modal appear - Method
hide()
Makes the modal disappear
- Method
- Object
CookieCovers
: initialization of content covers- Method
getCoverByHandle(handle)
Returns content cover element by handle - Method
show(cover)
Makes the given content cover appear - Method
hide(cover)
Makes the given content cover disappear
- Method
- Object
- CSS
- Pre-defined styles for modal and content covers
- Pre-defined styles for checkboxes, buttons and tooltips
- Tags
- Tags for checking consent, the modal and the content covers
- Control Panel
- 3 Tabs for customizing the addon, the modal and the content covers
- English and German translation files
- English and German default config files
- Icon for navigation item