Navigator JavaScript Tutorial

The navigator object is a built-in object that is used to obtain information related to the Navigator browser.
Properties and Methods of the navigator object
Property/MethodDescription
appCodeNameRepresents the code name of the browser
appNameRefers to the official browser name
appVersionRefers to the version information of the browser
javaEnabled()Function that tests to see that Java is supported in the browser
languageRefers to the language of the browser
mimeTypesRefers to an array of MimeType objects that contains all the MIME types that the browser supports
platformA string representing the platform on which the browser is running
pluginsRefers to an array of Plugin objects that contains all the plug-ins installed in the browser
plugins.refresh()Checks for any newly installed plug-ins
preference()Allows reading and setting of various user preferences in the browser
taintEnabled()Tests to see whether data-tainting is enabled
userAgentString that represents the user-agent header


    
     Example of the navigator object