內容簡介
新的歐盟Cookie法規引起了很多神秘和煩擾,但它實際上非常簡單。Cookie 是用於跟踪網站活動的文件,大多數網站都在使用它們。網站所有者需要向訪問者清楚明確地說明使用 cookies 的情況。
Cookie bar 讓訪問者了解 cookies 的使用情況,如果他們有任何疑慮,還會告訴他們如何調整瀏覽器設置。
cookieBAR 是一個快速且易於使用的純粹的 javascript 插件,不需要 jQuery 或任何其他依賴。只有當需要時才會出現,平時保持靜默:如果網站已經設置了一個 cookie 或某些本地存儲區域數據,那麼就會顯示 cookie 條,否則什麼都不會發生。
一旦用戶點擊允許 cookies,cookieBAR 將為該域設置一個名為 cookiebar 且在 30 天後到期的 cookie。這意味著插件將每個月顯示一次(此持續時間可配置)。
如果用戶決定點擊不允許 cookies,cookieBAR 將簡單地刪除所有 cookies 和本地存儲的數據(並在檢測到 cookie 時再次顯示)。
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
