Navigator object


Navigator Object


Navigator Object

The Navigator object contains information about the browser.

NoteNote: There is no public standard for navigator objects, but all browsers support it.


Navigator object properties

PropertiesDescription
appCodeNameReturn the code name of the browser
appNameReturn the name of the browser
appVersion Return the platform and version information of the browser
cookieEnabledReturn a Boolean value indicating whether cookies are enabled in the browser
platformReturns the operating system platform on which the browser is running
userAgentReturns the user-agent header sent by the client to the server Value

Navigator Object Method

##MethodDescriptionjavaEnabled()Specifies whether Java is enabled in the browsertaintEnabled()Specifies whether the browser enables data taint ( data tainting)