Browser Detection Using the Navigator Object

The navigator has some properties that are supported by both Netscape and Internet Explorer. Two of them are:

  1. appName -- browser official name. "Netscape" for Netscape Navigator and "Microsoft Internet Explorer" for MS IE.
  2. appVersion -- browser version
  3. cookieEnabled -- IE 4 and NE 6
  4. browserLanguage -- IE 4+ only

We can use these properties to identify the type and version of browser the client is using.

The following is your browser type and version:

You can right click on the page and select "view source" to see the coding.