Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

navigator object

Contains information about the client.

Members

The navigator object has these types of members:

Methods

The navigator object has these methods.

MethodDescription
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

Saves the File or Blob to disk.

msSaveOrOpenBlob

Launches the associated application for a File or Blob.

taintEnabled

Returns whether data tainting is enabled.

 

Properties

The navigator object has these properties.

PropertyAccess typeDescription

appMinorVersion

Retrieves the application's minor version value.

appName

Retrieves the name of the client.

appVersion

Retrieves the platform and version of the application.

browserLanguage

Retrieves the current operating system language. For Windows Store apps, see Remarks.

Note  This property does not indicate the language or languages set by the user in Language Preferences, located in the Internet Options dialog box.

cookieEnabled

Retrieves whether client-side persistent cookies are enabled. Persistent cookies are those that are stored on the client-side computer.

cpuClass

Retrieves a string denoting the CPU class.

doNotTrack

Returns a String indicating whether the user set a preference not to be tracked .

geolocation

Gets a reference to a geolocation object, which reports the geographic location of the device running the application.

maxTouchPoints

Read-only

The maximum number of simultaneous touch contacts supported by the device.

msManipulationViewsEnabled

Read-only

Returns whether manipulation feature support is available, such as touch panning and zooming using CSS rules.

onLine

Retrieves a value indicating whether the system is online.

platform

Retrieves the name of the user's operating system.

plugins

Provides information about registered plug-ins.

pointerEnabled

Read-only

Deprecated. Indicates if pointer events are fired for pointing input.

product

Read-only

Returns the product token associated with a user-agent.

userAgent

Retrieves a string equivalent to the HTTP user-agent request header.

 

Standards information

There are no standards that apply here.

Remarks

The geolocation property is only supported for webpages displayed in a Windows Store app using JavaScript. For more information, see Defining Document Compatibility.

 

 

Show:
© 2015 Microsoft