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 |
|---|---|
| confirmSiteSpecificTrackingException |
Indicates whether an exception exists for a given domain. |
| confirmWebWideTrackingException |
Indicates whether an exception exists for services from a given domain. |
| getGamepads |
Returns an array of gamepad objects that describe the state of each active gamepad device. |
| getVRDisplays |
Returns a promise that resolves to an array of VRDisplay objects that are currently connected to the device. |
| 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. |
| msSaveBlob | |
| msSaveOrOpenBlob | |
| removeSiteSpecificTrackingException |
Removes a previously-granted tracking exception for a domain. |
| removeWebWideTrackingException |
Removes a previously-granted tracking exception for a service host. |
| requestMediaKeySystemAccess |
Requests access to the specified Key System. |
| sendBeacon |
Provides an asynchronous and non-blocking way to transmit data to a provided URL. |
| storeSiteSpecificTrackingException |
Requests an exemption to the "Do not Track" (DNT) rule for a given website. |
| storeWebWideTrackingException |
Requests an exemption to the "Do not Track" (DNT) rule for services used by other websites. |
| taintEnabled |
Returns whether data tainting is enabled. |
Properties
The navigator object has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Returns an array that contains every VRDisplay object that is currently presenting. | |
|
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. | ||
|
Returns a String indicating whether the user set a preference not to be tracked . | ||
|
Gets a reference to a geolocation object, which reports the geographic location of the device running the application. | ||
|
Returns the number of logical processors available to the browser. | ||
|
Read-only |
The maximum number of simultaneous touch contacts supported by the device. | |
|
Read-only |
Returns whether manipulation feature support is available, such as touch panning and zooming using CSS rules. | |
|
Retrieves a value indicating whether the system is online. | ||
|
Retrieves the name of the user's operating system. | ||
|
Provides information about registered plug-ins. | ||
|
Read-only |
Deprecated. Indicates if pointer events are fired for pointing input. | |
|
Read-only |
Returns the product token associated with a user-agent. | |
|
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.