html

html5 の機能がブラウザでサポートされているかを確認

2014年5月31日

window オブジェクトの配下にある html5 の機能名(プロパティ名)を判定することで確認することができます。

if (window.Worker) {
// サポートしている場合
}
else {
// サポートしていない場合
}

Detection Techniques
http://diveintohtml5.info/detect.html

-html