News for hackers. Stuff that matters.
Re:The long and sordid history of the user-agent HTTP header... by y0ghur7_xxx on Sunday July 15, 2012 @11:08AM (#4247069)
...and everyone pretended to be everyone else, and confusion abounded.

And then JavaScript driven feature detection came to be, and everyone thought it was a good idea. And the people wrung their hands and wept

Re:The long and sordid history of the user-agent HTTP header... by tomjen3 on Sunday July 15, 2012 @12:46PM (#4247339)
Not really, because it won't allow you to serve an MS compitable css page.
Re:The long and sordid history of the user-agent HTTP header... by ksherlock on Sunday July 15, 2012 @05:22PM (#4248182)
IE conditional comments solve that problem.
Re:The long and sordid history of the user-agent HTTP header... by TazeTSchnitzel on Sunday July 15, 2012 @03:13PM (#4247749)
What's wrong with it? Unlike user agent sniffing, it works properly.
Re:The long and sordid history of the user-agent HTTP header... by sesqu on Sunday July 15, 2012 @09:56PM (#4248963)
Oh? So how do I use it to detect which box model to use in my CSS?

How do I use it to detect whether I can use gradients?

And if you're just thinking about javascript, I've ran into a few text manipulation functions that always returned "not implemented". But hey, sniffer says they're there!

edit: Oh, and there's still plenty of html fun, too. How does your browser support <video>? <thead>? <svg>? I'm guessing the answer starts with "javascript".

Re:The long and sordid history of the user-agent HTTP header... by nfm on Sunday July 15, 2012 @05:14PM (#4248150)
I think the GP was referring to weeping with joy.
Re:The long and sordid history of the user-agent HTTP header... by bluesnowmonkey on Sunday July 15, 2012 @05:58PM (#4248308)
People don't wring their hands with joy.
Re:The long and sordid history of the user-agent HTTP header... by yahelc on Sunday July 15, 2012 @08:24PM (#4248710)
They wrung their hands of user agent sniffing and wept for joy.
Re:The long and sordid history of the user-agent HTTP header... by TazeTSchnitzel on Sunday July 15, 2012 @05:18PM (#4248170)
Oh, in that case, carry on!