Share via


navigator HTML Object

The navigator object contains information about the browser.

Properties

Property Data type Access Description
appCodeName String Read-only Retrieves the code name of the browser. The value is always "Mozilla".
appName String Read-only Retrieves the name of the browser. The value is always "Microsoft Pocket Internet Explorer".
appVersion String Read-only Retrieves the platform and version of the browser.
Note   For Windows Mobile 2002 software and earlier, this value is always "2.0 (compatible: MSIE 3.02; Windows CE)".
For Windows Mobile 2003 software, this value is always "4.0 (compatible: MSIE 4.01; Windows CE)".
platform String Read-only Retrieves the platform of the browser. The value is always "WinCE".
Note   Supported only for devices running Windows Mobile 2003 software or later.
userAgent String Read-only Retrieves a string equivalent to the HTTP user-agent request header.
Note   For Windows Mobile 2000, the value is always "Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; 240x320)".
For Windows Mobile 2002, the value is always "Mozilla/2.0 (compatible; MSIE 3.02; Windows CE; PPC; 240x320)".
For Windows Mobile 2003, the value is always "Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; ScreenRes)".
ScreenRes represents the actual resolution of the device, which can vary beginning with devices running Windows Mobile 2003 software; it is usually 240x320 or 480x640.

Methods

Method Syntax Description
javaEnabled Enabled=javaEnabled Returns whether Java is enabled. This always returns False on Pocket Internet Explorer.
taintEnabled Enabled=taintEnabled Returns whether data tainting is enabled. This always returns False on Pocket Internet Explorer.

Requirements

Pocket PC: Windows Mobile 2000 and later
OS Versions: Windows CE 3.0 and later

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.