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