【发布时间】:2013-11-20 19:17:43
【问题描述】:
我最近在一次工作面试中被问到这个问题,特别是关于 Javascript。我想知道正确的反应。
feature detection、feature inference 和使用User agent 字符串之间到底有什么区别?
【问题讨论】:
-
所有这些都可以在互联网上轻松查找,不是吗?这应该是第一步,不清楚的然后可能会成为一个很好的堆栈溢出问题。
-
谷歌搜索时还有很多资源
feature detection vs. user agent,比如Browser detection versus feature detection
标签: javascript user-agent browser-feature-detection