This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

appName

Summary

appName Returns a string with the name of the browser/user agent. The HTML5 specification also allows any browser to return “Netscape” here, for compatibility reasons.

Property of dom/Navigatordom/Navigator

Syntax

Note: This property is read-only.

var result = navigator.appName;

Return Value

Returns an object of type StringString

Microsoft Internet Explorer

Returned by Internet Explorer 10 and earlier.

Netscape

Default. Returned by Netscape Navigator, Google Chrome, Mozilla Firefox, and IE11.

MSAppHost/1.0

Returned by WWAHost.exe.

Examples

var browserName = navigator.appName;
//broswerName returns "Netscape"

View live example

Syntax

Attributions