• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part VII: Appendixes > The navigator Object [2|3|I]

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 objects reflecting the MIME types supported by the client browser. (Not 2|I.)

  • platform— Specifies the platform for which Netscape Navigator was compiled (for example, Win32, MacPPC, UNIX). New in JavaScript 1.2 and later.

  • plugins— An array of plugin objects reflecting the plug-ins in a document in the order of their appearance in the HTML document. (Not 2|I.)

  • userAgent— A string containing the complete value of the user-agent header sent in the HTTP request. The following contains all the information in appCodeName and appVersion:

    Mozilla/4.73 – (Win98; U)
    

PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint