User-Agent Sniffing on the new NYT mobile site
Just recently wrote about the difference between Device Detection, User-Agent sniffing and Feature detection. A bad example of UA sniffing is the new New York Times mobile site. See some sample code below. Not very elegant, scalable, future friendly or maintainable. Even if the newspaper is a “simple” site, with few bells and whistles, this […]