JavaScript Class
Navigator
The Navigator object is designed to contain information about the version of the browser which is being used. All of its properties (which are read-only) contain information about different aspects of the browser.
appCodeName Property
This property contains a string which specifies the code name of the browser.
Syntax: navigator.appCodeName
appName Property
This property is a string that specifies the name of the browser. With a Netscape browser this property contains the string "Netscape", while with an IE explorer it contains "Microsoft Internet Explorer".
Syntax: navigator.appName
appVersion Property
This property contains information about the browser version being used. If it is a Netscape browser, it contains the release number, the language used, the platform on which the browser is running, and either the letter I to indicate the international release, or the letter U for the domestic US release which has stronger encryption. e.g., '4.5 [en] (WinNT; I)'. With IE, this property only contains information about the compatible version of Internet Explorer and the platform, such as: '4.0 (compatible; MSIE 4.01; Windows NT)'.
Syntax: navigator.appVersion
platform Property
This property contains a string indicating the machine type for which the browser was compiled. e.g., 'Win32' is a 32 bit Windows machine.
Syntax: navigator.platform
userAgent Property
This property contains a string representing the value of the user-agent header sent by the client to the server in the http protocol. This information consists of the code name and the version of the browser, and is used by the server to identify the client.
Syntax: navigator.userAgent
|