Полезная информация

JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference

Navigator.appVersion Property


Navigator.appVersion Property---the platform and version of the browser


Navigator 2.0, Internet Explorer 3.0




navigator.appVersion is a read-only string property that specifies platform and version information for the browser. For Navigator 2.0 and 3.0, this property has the following format:

version (platform; encryption[; detail])

version is the version number; "2.01", for example. platform is a general indication of the platform. For example, "Win16" indicates a 16-bit version of Windows, "Win95" indicates Windows 95, and "X11" indicates a Unix platform running the X Window System. encryption is either "U" indicating a domestic U.S. release of Navigator, with strong encryption, or "I" indicating an international release with weakened encryption capabilities (to comply with U.S. government export control laws on cryptographic technologies.) Finally, the optional detail may provide additional information about the platform. On my platform, for example, it is the string "Linux 1.2.13 i486".

In Internet Explorer 3.0 running on Windows 95, this property has the value "2.0 (compatible; MSIE 3.0A; Windows 95)". Note that IE 3.0 reports a version number of "2.0". This is to be compatible with Navigator 2.0, which it most closely resembles. The remainder of the string does contain complete IE version information, however.

See Also

"Navigator", "Navigator.appCodeName", "Navigator.appName", "Navigator.userAgent"

Previous Home Next
Navigator.appName Book Index Navigator.javaEnabled()

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell