Navigator Object
Navigator object
The Navigator object contains information about the browser.
Note: There is no published standard that applies to the navigator object, but it is supported by all browsers.
Navigator Object Properties
Property | Description |
---|---|
appCodeName | Returns the codename of the browser |
appName | Returns the name of the browser |
appVersion | Returns the browser's platform and version information |
cookieEnabled | Returns a boolean indicating whether cookies are enabled in the browser |
platform | Returns the operating system platform on which the browser is running |
userAgent | Returns the value of the server's user-agent header sent by the client |
Navigator Object Methods
Method | Description |
---|---|
javaEnabled() | Specifies whether to enable Java in the browser |
taintEnabled() | Specifies whether the browser enables data tainting |