admin管理员组文章数量:1357382
Are there any checks (or binations of checks) I can run with Modernizr where:
- IE6 fails, but higher versions do not fail?
- IE7 fails, but higher versions do not fail?
IE8 fails, but higher versions do not fail?
all IEs fail?
all browsers fail, but iOS devices do not fail?
- all browsers fail, but Android devices do not fail?
I want to use Modernizr to check browsers, devices based on feature detection instead of User Agent sniff?
CLOSED - thx, got the message
thx, ez
Are there any checks (or binations of checks) I can run with Modernizr where:
- IE6 fails, but higher versions do not fail?
- IE7 fails, but higher versions do not fail?
IE8 fails, but higher versions do not fail?
all IEs fail?
all browsers fail, but iOS devices do not fail?
- all browsers fail, but Android devices do not fail?
I want to use Modernizr to check browsers, devices based on feature detection instead of User Agent sniff?
CLOSED - thx, got the message
thx, ez
Share Improve this question edited Apr 5, 2011 at 20:54 ezmilhouse asked Apr 4, 2011 at 19:50 ezmilhouseezmilhouse 9,1298 gold badges31 silver badges38 bronze badges 1- IMO You are asking too many questions at once. – Knu Commented Apr 5, 2011 at 20:27
1 Answer
Reset to default 7The whole point in feature detection is to be agnostic of browsers and your application/website should enhance/degrade based on the existence of a feature not the existence of a browser.
The reason we browser detect for MS is because you may need to use CSS workarounds to avid known css display bugs, which is separate from feature detection. For this kind of browser detection checkout HTML5 boiler plate.
本文标签:
版权声明:本文标题:javascript - Modernizr checks that exclude IE6, IE7, IE8 or IE at all, that identify iOS devices - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743994481a2572736.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论