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

The navigator.appName value for Firefox is Netscape.

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

有帮助吗?

解决方案

If you trust the user agent, you can use this web site: 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.

其他提示

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

before IE11, this value is:

"Microsoft Internet Explorer"

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

"Netscape"

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top