Javascript Reference
Categories: navigator

javascript navigator Description

@March 15, 2008, 1:22 a.m.
navigatorFirefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a  

  

The navigator object in many ways represents the browser application. As such, the browser is outside the scope of the document object model. Even so, the navigator object plays an important role in scripting, because it allows scripts to see what browser and browser version is running the script. In addition to several key properties that both Navigator and Internet Explorer have in common, each browser also extends the property listing of this object in ways that would generally benefit all browsers. IE duplicates this object under the clientInformation object name, but for cross-browser compatibility, you can use the navigator object reference in all browsers.

 
Object Model Reference
 
  • navigator
  • [window.]navigator
 
Object-Specific Properties
 
appCodeNameappMinorVersionappNameappVersion
browserLanguagecookieEnabledcpuClasslanguage
mimeTypes[ ]onLineoscpuplatform
plugins[ ]productproductSubsecurityPolicy
systemLanguageuserAgentuserLanguageuserProfile
vendorvendorSub
 
Object-Specific Methods
 
javaEnabled( )preference( )taintEnabled( )
 
Object-Specific Event Handler Properties

None.


Powered by Linode.