[wordpress插件] cookieBARcookieBAR

wordpress 插件 文章 2020-04-02 10:00 449 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

There is a lot of mystery and fuss surrounding the new EU cookie legislation, but it’s essentially really simple.

关于新的欧盟Cookie立法,有很多谜团和大惊小怪,但这实际上非常简单。

Cookies are files used to track site activity and most websites use them.

Cookies是用于跟踪网站活动的文件,大多数网站都使用它们。

Site owners need to make the use of cookies very obvious to visitors.

网站所有者需要使cookie的使用对访问者非常明显。

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.

Cookie栏使访问者可以简单,清楚地了解正在使用的cookie,并告诉他们如何调整浏览器设置。

cookieBAR is a drop-in and forget, pure vanilla javascript plugin, with no jQuery nor any other dependency needed.

cookieBAR是一个简单易用的纯香草javascript插件,无需jQuery或任何其他依赖项。

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.

它会在需要时显示,而在不需要时保持沉默:如果网站上有Cookie或某些localStorage数据集,则显示该栏,其他则什么也没有发生。

Once user clicks Allow Cookies cookieBAR will set a cookie for that domain with a name cookiebar that will expire in 30 days.

一旦用户单击“允许Cookie”,cookieBAR将使用该cookie的名称为该域设置一个cookie,该cookie将在30天后过期。

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).

如果用户决定单击“禁止Cookie”,则cookieBAR只会删除所有cookie和localStorage数据(并在第一次检测到cookie时再次显示)。

cookieBAR is currently translated in:

cookieBAR当前翻译为:

    • Catalan
    • 加泰罗尼亚语

    • Czech
    • 捷克

    • Danish
    • 丹麦语

    • Dutch
    • 荷兰人

    • English
    • 英语

    • French
    • 法语

    • German
    • 德语

    • Greek
    • 希腊语

    • Hungarian
    • 匈牙利语

    • Italian
    • 意大利语

    • Spanish
    • 西班牙语

    • Swedish
    • 瑞典语

    • Polish
    • 波兰语

    • Portuguese
    • 葡萄牙语

    • Romanian
    • 罗马尼亚语

    • Russian
    • 俄语

    • Slovak
    • 斯洛伐克语

    • Slovenian
    • 斯洛文尼亚语

    • Swedish
    • 瑞典语

安装步骤

    1. Upload cookiebar-wp.php to the /wp-content/plugins/ directory
    2. cookiebar-wp.php 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Use the configuration panel to set your desired configurations
    6. 使用配置面板设置所需的配置

下载地址
https://downloads.wordpress.org/plugin/cookiebar.1.7.0.zip
-EOF-

AI助手支持GPT4.0