The navigator Object [2|3|I]

The navigator object reflects information about the version of browser being used.

Properties

  • appCodeName— A string value containing the code name of the client (for example, "Mozilla" for Netscape Navigator).

  • appName— A string value containing the name of the client (for example, "Netscape" for Netscape Navigator).

  • appVersion— A string value containing the version information for the client in the following form:

    versionNumber (platform; country)
    

    For example, Navigator 4.73 for Windows 98 (English version) would have an appVersion property with the value "4.73 – (Win98; U)".

  • language— Specifies the translation of Netscape Navigator (a read-only property). New in JavaScript 1.2 and later.

  • mimeTypes— An array of mimeType ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.