The navigator object contains information about the version of Netscape Navigator in use. You can use the navigator object to determine information about which version of Netscape Navigator your reader is currently using.
syntax
navigator.propertyName
example:
Code:
<HTML>
<BODY>
<CENTER>
<SCRIPT Language = "JavaScript">
document.write ("I see you're using <b>")
document.write (navigator.appName," ",navigator.appVersion)
document.write ("</b> aka ",navigator.appCodeName,". ")
document.write ("That's cool!")
</SCRIPT>
</CENTER>
</BODY>
</HTML>