Question

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.?

Était-ce utile?

La solution

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.

Autres conseils

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top