Check the browser version, supported MIME types, and installed plug-ins (plug-in ). This object contains two sub-objects: a plug-in object and a mime-type object.
Attributes of the navigator object:
Format: navigator. Attribute
Appcodename code
Appname
Appversion
Language
Mimetype indicates the supported MIME type in array
Machine Type of the browser for compiling Platform
Plug-ins use arrays to indicate installed plug-ins
Useragent User Agent header
Example 1:
<SCRIPT>
With (document ){
Write ("your browser information: <ol> ");
Write ("<li> Code:" + navigator. appcodename );
Write ("<li> name:" + navigator. appname );
Write ("<li> Version:" + navigator. appversion );
Write ("<li> language:" + navigator. Language );
Write ("<li> compilation platform:" + navigator. Platform );
Write ("<li> User header:" + navigator. useragent );
}
</SCRIPT>
Example 2:
<SCRIPT>
If (document. All ){
Document. Write ("your browser is: MSIE ");
} Else {
Document. Write ("your browser is: Navigator ");
}
</SCRIPT>