The Navigator object contains information about the browser.
Note: There is no public standard applied to the Navigator object, but this object is supported by all browsers.
Navigator Object Properties:
Properties |
Description |
appCodeName |
Returns the code name of the browser. |
appMinorVersion |
Returns the secondary version of the browser. |
AppName |
Returns the name of the browser. |
AppVersion |
Returns the platform and version information for the browser. |
Browserlanguage |
Returns the language of the current browser. |
cookieenabled |
Returns a Boolean value that indicates whether cookies are enabled in the browser. |
Cpuclass |
Returns the CPU level of the browser system. |
OnLine |
Returns a Boolean value that indicates whether the system is in offline mode. |
Platform |
Returns the operating system platform on which the browser is running. |
Systemlanguage |
Returns the default language used by the OS. |
UserAgent |
Returns the value of the user-agent header of the server sent by the client. |
Userlanguage |
Returns the natural language setting of the OS. |
To print the Navigator object in Google Chrome:
The Navigator object in the small Tips:js