The navigator browser object contains the version information of the Navigator being used. Reflects the profile of the browser currently in use. The JavaScript client runtime engine automatically creates navigator objects.
For more detailed information, you can check msdn or the documentation of Navigator 2.0 and later. Here we will make a simple explanation
Including several major attributes:
appCodeName Return The browser's "code name" (?), the popular IE and NN both return 'Mozilla'.
The following example shows the value of the appCodeName attribute:
document.write("The value of navigator.appCodeName is" navigator.appCodeName)
appName returns the browser name. IE returns 'Microsoft Internet Explorer', NN returns 'Netscape'.
The following example shows the value of the appName attribute:
document.write("The value of navigator.appName is " navigator.appName)
appVersion returns the browser version, including the major version number, Information such as minor version number, language, operating platform, etc.
language language
mimeType represents the supported MIME types as an array
platform returns the operating platform of the browser, for browsers on Windows 9x, returns 'Win32' ( Case may vary).
userAgent returns all the above information. For example, IE5.01 returns 'Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)'.
plugins represents the installed plug-ins as an array
javaEnabled() returns a Boolean value, indicating that the current browser allows or disallows Java.
Detect the browser version, supported MIME types, and installed plug-ins. This object contains two sub-objects: plug-in object and MIME type object.
For example: