Re:No-Bullshit Guide to Detecting Everything in HTML5
by Nwallins on Friday May 14, 2010 @12:16PM
(#1347670)
Yes, it screams for a wrapper library. Might take all of 10 minutes to design the API.
[ Parent
| on HN ]
Re:No-Bullshit Guide to Detecting Everything in HTML5
by MarkPilgrim on Friday May 14, 2010 @01:00PM
(#1347823)
Modernizr (linked at the end of my guide) can detect some of these features, plus a few others:
http://github.com/Modernizr/Modernizr
My longer chapter on detecting HTML5 features ( http://diveintohtml5.org/detect.html ) explains the detection patterns, and shows how to detect things with or without Modernizr. I've been working with the Modernizr developers to expand their detections, and at the same time some of the code in this guide is taken directly from Modernizr.