cookieBAR Plugin
With EU cookie law, site owners need to make the use of cookies very obvious to visitors. cookieBAR does just that.
There is a lot of mystery and fuss surrounding the new EU cookie legislation, but it’s essentially really simple. Cookies are files used to track site activity and most websites use them. Site owners need to make the use of cookies very obvious to visitors.
Cookie bar makes it simple and clear to visitors that cookies are in use and tells them how to adjust browser settings if they are concerned.
cookieBAR is a drop-in and forget, pure vanilla javascript plugin, with no jQuery nor any other dependency needed. It shows up when needed and stay silent when not: if a website has a cookie or some localStorage data set then the bar is shown, otherwhise nothing happens.
Once user clicks Allow Cookies cookieBAR will set a cookie for that domain with a name cookiebar that will expire in 30 days. What this means is that the plugin will only show up once month (this duration is configurable).
If a user decides to click Disallow Cookies, cookieBAR will simply remove all cookies and localStorage data (and will show up again the first time a cookie is detected).
cookieBAR is currently translated in:
- Catalan
- Czech
- Danish
- Dutch
- English
- French
- German
- Greek
- Hungarian
- Italian
- Spanish
- Swedish
- Polish
- Portuguese
- Romanian
- Russian
- Slovak
- Slovenian
- Swedish
Installation
- Upload
cookiebar-wp.php
to the /wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Use the configuration panel to set your desired configurations
Screenshots
The cookieBAR
Details panel
FAQ
Installation Instructions
- Upload
cookiebar-wp.php
to the /wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Use the configuration panel to set your desired configurations
Which languages are supported?
cookieBAR is currently translated in:
- Catalan
- Czech
- Danish
- Dutch
- English
- French
- German
- Greek
- Hungarian
- Italian
- Spanish
- Swedish
- Polish
- Portuguese
- Romanian
- Russian
- Slovak
- Slovenian
- Swedish
I don’t like the standard black bar, how can I change its appearance?
You can go to Appearance - cookieBAR
and pick another theme.
How do I configure cookieBAR’s behavior?
You can go to Appearance - cookieBAR
and have a look to the configuration options.
Changelog
1.7.0
- New option: show the cookie policy link in the main bar
1.6.5
- Bugfix in the wordpress plugin
1.6.4
- New ICO link for english language. Missing close paragraph tags in some language files
1.6.3
1.6.2
- Auto opt-in for non EEA users
1.6.1
- Switched to freegeoip.app, new theme momh, new instructions link for the opera browser
1.6.0
- All the images are now a single CSS sprite, code cleaning
1.5.36.1
- Fixed bug in cookies detection
1.5.35
- Switched from freegeoip to ipdata.co
1.5.34
- Small corrections in ro.html
1.5.33
- Updated version numbers, updated README.md, updated package.json
1.5.32
- Small corrections in de.html
1.5.31
- Switched to freegeoip.net.
1.5.30
- Updated Dutch translation.
1.5.29
- Added Russian translation.
1.5.28
1.5.27
- Updated Polish translation.
1.5.26
- Bugfix in CSS – default theme.
1.5.25
- Fixed Slovenian translation.
1.5.24
- Added Polish translation.
1.5.23
- Added Slovenian translation.
1.5.22
- Modified GeoIP lookups, added “skip GeoIp” option, added “hide details” option, new “Flying” theme.
1.5.21
- Added Swedish translation.
1.5.20
- Fix loading of language files, fix invalid CSS in altblack css
1.5.19
1.5.18
- Fixed typo in en.html, updated fr.html, added Slovak translation, added Czech translation.
1.5.17
- Optionally refresh page on CookieAllowed.
1.5.16
1.5.15
- Added Danish translation
- New: Added Alternative Black theme
- Bugfix: Fixed Romanian translation
1.5.14
- Switched from freegeoip.net to freegeoip.io
1.5.13
- Added Romanian translation
1.5.12
- New: Added “Accept cookies by scrolling window” option.
- Bugfix: “Always show cookie bar” option was not correctly working.
- Bugfix: Minified CSS files where present, but not in use.
- Misc: The startup process code was a bit messy, I did my best to clean it a bit, it should be easier to review and edit, if needed.
1.5.11
- New: All links in the cookiebar’s language files are now set with rel=”nofollow”
- New: Fix for body margins
1.5.10
- Added Portuguese translation
1.5.9
- Added Catalan and Spanish translation
1.5.8
- Added the Dutch translation
1.5.7
- Switched back from telize to freegeoip.
1.5.6
- Improved the French translation
1.5.5
- Removed the ‘http’ prefix for telize api
1.5.4
- Switched to Telize for ip geolocation
1.5.3
- New: Added minified CSS and JS
- Bugfix: cookieLawStates should include GB not UK
- Bugfix: When hiding the cookieBar, margins are not correctly reset
1.5.2
- New: Added Hungarian translation
- New: Add support for German
- Bugfix: Fix prompt for no consent
- Bugfix: Minor fixes and improvements
1.5.1
- New: Geolocation – show the bar only in countries affected by the cookie law
- New: Specify which kind of cookies are in use (technical, third party, tracking cookies)
- New: The link to the complete privacy page should be in the main banner
- Bugfix: cookieBAR’s cookie is now set at domain level
1.4.0
- Some new configuration options: always show and remember choice duration
1.3.0
- Added themes functionality and two more bundled themes
1.2
- Fixed a css bug that made the bar unreadable in some websites, some minor fixes
1.1.2
- Fixed a bug with Internet Explorer and custom privacy page
1.1
- Set your own privacy page, or use the default popup
1.0