Friday 18th November, 2016
3:30pm to 4:05pm
This is talk about browser sniffing. And yes, I do realise it is 2016. I know browser sniffing is ugly and we should all be using feature detection. But a quick search on Github still shows millions of lines of code referring to user agents strings. So this message clearly hasn’t landed yet. But why is browser sniffing a bad choice? This talk will dive into history and show the origin of the user agent string and the hidden battle between browser makers and web developers. It will show its simple beginnings and the horrible monstrosity it has become.
Niels is a self-professed browser geek. He runs one of the largest Open Device Labs in the world and is the creator of HTML5test.com. A couple of years ago he needed a browser sniffing library for HTML5test, and because existing libraries were not any good, he created one by himself - WhichBrowser. A decision he regrets to this very day.
Sign in to add slides, notes or videos to this session