读取浏览器的名称和版本----通常称为 浏览器嗅探(browser sniffing) 是不可取的,因为这使得我们的脚本依赖于特定的浏览器,而不是支持这种脚本的任何用户代理。
基于48个网页-相关网页
Browser-sniffing 浏览器嗅探
以上来源于: WordNet
The WHATWG and others always thought that browser sniffing wasn't such a good idea.
WHATWG 以及其他项目始终认为嗅探浏览器并非一个好主意。
In this release, there is no more browser sniffing, where there are specific if statements for a browser or version.
在这个发布版中,不再需要仔细区分浏览器,因为有一个针对浏览器或版本的特殊if语句。
History sniffing has been known for years as a possible way to discover what sites a browser has visited, but this is the first time that anyone has shown it actually happening on the open Internet.
很多年前,人们就已经知道历史记录嗅探可用来揭示一个浏览器访问过什么样的网站,但是这还是首次披露在互联上有人这么干。
应用推荐