這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

cookieBAR

描述

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

螢幕截圖

  • The cookieBAR
  • Details panel

安裝

  1. Upload cookiebar-wp.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the configuration panel to set your desired configurations

常見問題

Installation Instructions
  1. Upload cookiebar-wp.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. 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.

評價

2018年10月19日
Ich bin sehr zufrieden mit dem Plugin. Deswegen gibts auch gleich 5 Sterne. Was ich aber noch gerne sehen würde, wäre eine Anpassungsmöglichkeit an das eigene Theme. Für erfahrene Nutzer zwar kein Problem, dafür aber für Anfänger. Ebenso wäre es besser mit den typischen Übersetzungsdateien zu arbeiten, statt mit HTML-Dateien. Hier wäre ich gerne bereit zu helfen 🙂 Dennoch bestes Plugin für die Cookie-Info-Leiste! Man muss sich um nichts kümmern. Einmal eingestellt und fertig. Danke dafür!
閱讀全部3個評價

貢獻者及開發者

“cookieBAR” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 cookieBAR 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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

  • Unreleased

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

  • Added package.json.

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

  • Update nl.html

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

  • Add Croatia to EU list.

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

  • First working version