They failed the "secure" part - nothing else matters, and that does not mean that rolling your own should be discouraged - it means that these things are hard, and chances are your pet project will be less secure than established systems.
> Please do not link to that website until they wake up and stop insulting visitors with this UI nightmare
Had I known that this happend for your UA, I would not have - worked like a charm on my side.
Thank the French for that, who are the main reason behind the EU legislation about Cookies.
> Also this is not a website a pro developer would ever read or point to
Gatekeeping, are we? "Pro developers" don't waste time searching for some obscure original source for a meaningless online discussion - they pick the first result of their favorite search engine.