Latest web development tutorials

Navigator Objects

Navigator Objects

Navigator object contains information about the browser.

NoteNote: There isno standard navigator object used in public, but all browsers support the object.


Navigator object properties

Attributes Explanation
appCodeName Return to the browser code name
appName Returns the name of the browser
appVersion Return to the browser platform and version information
cookieEnabled Returns indicating whether cookie-enabled browser boolean value
platform Returns the operating system running the browser platform
userAgent The return value sent by the client server's user-agent header

Navigator object methods

method description
javaEnabled () Specifies whether to enable Java in your browser
taintEnabled () Provisions browser data tainting is enabled (data tainting)