Export (0) Print
Expand All

navigator HTML Object

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

The navigator object contains information about the browser.

Placing about:version in the address box of Internet Explorer Mobile will cause the browser to navigate to file://\windows\about.htm. This will display the navigator object's properties.

Property Data type Access Description

appCodeName

String

Read-only

Retrieves the code name of the browser. The value is always "Mozilla".

appMinorVersion

String

Read-only

Retrieves the Internet Explorer Mobile version number.

appName

String

Read-only

Retrieves the name of the browser.

appVersion

String

Read-only

Retrieves the platform and version of the browser.

Bb415448.note(en-us,MSDN.10).gifNote:
For Smartphone 2002 and Pocket PC 2002 software and earlier, this value is always "2.0 (compatible: MSIE 3.02; Windows CE)".
Bb415448.note(en-us,MSDN.10).gifNote:
For Windows Mobile 2003 software, this value is always "4.0 (compatible: MSIE 4.01; Windows CE)".

cookieEnabled

String

Read-only

Retrieve if the persistent cookies are enabled.

cpuClass

String

Read-only

Retrieves the CPU architecture of the device. Equivalent to UA-CPU.

platform

String

Read-only

Retrieves the platform of the browser. The value is always "WinCE".

Bb415448.note(en-us,MSDN.10).gifNote:
Supported only for devices running Windows Mobile 2003 software or later.

systemLanguage

String

Read-only

Retrieves the system language as specified in RFC 1766 and used by the desktop version of Internet Explorer.

userAgent

String

Read-only

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

The value of this string for Internet Explorer Mobile is "Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile m.n )". Where m is the major and n is the minor number of the version of Internet Explorer Mobile.

userAgentOS

String

Read-only

Retrieves the operating system used on the device.

userLanguage

String

Read-only

Retrieves the user language as specified in RFC 1766 and used by the desktop version of Internet Explorer.

Method Syntax Description

javaEnabled

Enabled=javaEnabled

Returns whether JavaScript is enabled. This always returns False on Internet Explorer Mobile.

taintEnabled

Enabled=taintEnabled

Returns whether data tainting is enabled. This always returns False on Internet Explorer Mobile.

Windows MobilePocket PC 2000 and later, Smartphone 2002 and later

Community Additions

ADD
Show:
© 2014 Microsoft