navigator object
Contains information about the client.
Members
The navigator object has these types of members:
Methods
The navigator object has these methods.
| Method | Description |
|---|---|
| javaEnabled |
Returns whether Java is enabled. |
| msLaunchUri |
This method is used to start a service or app, such as an email client, that handles a given protocol. The URI contains the protocol for the default service or app, such as mailto://john@contoso.com. |
| taintEnabled |
Returns whether data tainting is enabled. |
Properties
The navigator object has these properties.
| Property | Description |
|---|---|
|
Retrieves the code name. | |
|
Retrieves the application's minor version value. | |
|
Retrieves the name of the client. | |
|
Retrieves the platform and version of the application. | |
|
Retrieves the current operating system language. Note This property does not indicate the language or languages set by the user in Language Preferences, located in the Internet Options dialog box. | |
|
Retrieves whether client-side persistent cookies are enabled. Persistent cookies are those that are stored on the client-side computer. | |
|
Retrieves a string denoting the CPU class. | |
|
Gets a reference to a geolocation object, which reports the geographic location of the device running the application. | |
|
Returns a String indicating whether tracking protection is enabled. | |
|
Returns whether manipulation feature support is available, such as touch panning and zooming using CSS rules. | |
|
Returns the maximum number of touch points supported. | |
|
Returns whether pointer input features are enabled for touch or mouse, such as pointer or gesture events. | |
|
Retrieves a value indicating whether the system is online. | |
|
Retrieves the name of the user's operating system. | |
|
Retrieves the default language used by the operating system. | |
|
Retrieves a string equivalent to the HTTP user-agent request header. | |
|
Retrieves the operating system's natural language setting. |
Standards information
There are no standards that apply here.
Remarks
Windows Internet Explorer 9. The geolocation property is only supported for webpages displayed in IE9 Standards mode. For more information, see Defining Document Compatibility.
Send comments about this topic to Microsoft
Build date: 11/27/2012
