TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN:jQuery plugin for new UK cookie legislation

2 点作者 poissonpie大约 13 年前
I did it all for the cookie is a jQuery plugin that I put together that sort of mimics bt.com's implementation of their cookie-consent request popup. This is pretty bare-bones - just the popup in the bottom right of the screen with a Yes/No button that will set a cookie to "yes" or "no" as a starter for ten.<p>Source: https://github.com/poissonpie/I-did-it-all-for-the-cookie<p>Some background for reference: The UK is implementing new laws which state that websites need to gain consent before storing cookies on user's machines. Previous HN thread discussing the law (which gave me the idea): http://news.ycombinator.com/item?id=3867166

1 comment

gmac大约 13 年前
Looks useful. But...<p>Bah! These are settings that should be dealt with globally by the browser, not idiosyncratically and by every website. This way is just annoying for everyone, developers and users alike.<p>I'm crossing my fingers that this stupid law won't be enforced, and am holding off adding annoying pop-ups of bureaucratic tedium to my sites. As anyone who knows online behaviour can attest, it's not as if anyone is actually going to _read_ them.
评论 #3880237 未加载