(Javascript)所有浏览器的“navigator.appName”值列表?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8098844/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-26 02:15:58  来源:igfitidea点击:

(Javascript) List of "navigator.appName" values for all browsers?

javascriptbrowserbrowser-detectionnavigator

提问by u775856

What values are returned for navigator.appNamevalues for all common browsers?

navigator.appName所有常见浏览器的值都返回哪些值?

The navigator.appNamevalue for Firefox is Netscape.

navigator.appNameFirefox的值Netscape

What values are returned for IE, Firefox, Google Chrome, Safari, Opera, Flock, etc.?

IE、Firefox、Google Chrome、Safari、Opera、Flock 等返回什么值?

采纳答案by Francis

If you trust the user agent, you can use this web site: http://www.useragentstring.com/

如果你信任用户代理,你可以使用这个网站:http: //www.useragentstring.com/

It provides an API to analyse your current browser. It also has data on about every user agent you can imagine.

它提供了一个 API 来分析您当前的浏览器。它还包含有关您可以想象的每个用户代理的数据。

回答by david

Just found out IE11 preview has changed the value of navigator.appName:

刚刚发现 IE11 预览版改变了 navigator.appName 的值:

before IE11, this value is:

在 IE11 之前,这个值是:

"Microsoft Internet Explorer"

now with IE11 preview, this value has been changed to:

现在使用 IE11 预览版,此值已更改为:

"Netscape"

not sure why MS did this, nor is this going to be permanent after the release of IE11

不知道为什么 MS 这样做,这也不会在 IE11 发布后永久存在