Javascript Reference
Categories: navigator

javascript navigator appName

@March 15, 2008, 1:22 a.m.
appNameFirefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a  

Read-only  

Reveals the model name of the browser.

 
Example
 
var isNav = navigator.appName == "Netscape";
 
Value

String values. NN: "Netscape"; IE: "Microsoft Internet Explorer". Some other browsers return these values to appear to be compatible with one of the mainstream browsers.

 
Default

Depends on browser.


Powered by Linode.