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.?
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.?
Share Improve this question edited Sep 17, 2014 at 15:43 p.campbell 101k70 gold badges262 silver badges326 bronze badges asked Nov 11, 2011 at 19:19 夏期劇場夏期劇場 18.3k46 gold badges140 silver badges225 bronze badges 7 | Show 2 more comments2 Answers
Reset to default 10Just 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
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.
navigator.appName
is using for? (or) just useless property? – 夏期劇場 Commented Nov 11, 2011 at 19:28navigator.userAgent
andnavigator.platform
are more likely to be useful. But even still, it's better to do feature detection over browser detection. Sometimes you do have to drop down to browser detection, but it should be a last resort. – Matt Greer Commented Nov 11, 2011 at 19:37