4 out of 17 rated this helpful - Rate this topic

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.

taintEnabled

Returns whether data tainting is enabled.

 

Properties

The navigator object has these properties.

PropertyDescription

appCodeName

Retrieves the code name.

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.

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.

geolocation

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

msDoNotTrack

Returns a String indicating whether tracking protection is enabled.

msManipulationViewsEnabled

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

msMaxTouchPoints

Returns the maximum number of touch points supported.

msPointerEnabled

Returns whether pointer input features are enabled for touch or mouse, such as pointer or gesture events.

onLine

Retrieves a value indicating whether the system is online.

platform

Retrieves the name of the user's operating system.

systemLanguage

Retrieves the default language used by the operating system.

userAgent

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

userLanguage

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

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.