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

Hour 10. Working with the Document Objec... > Reading Information about the Browse...

Reading Information about the Browser

The navigator object isn't part of the browser object hierarchy, but it is another useful object for scripting. This object contains information about the browser version. You can use this object to find out which browser and computer platform the user is running, and your script can change its behavior to match that browser.

Note

The navigator object is named after Netscape Navigator, which was the only browser that supported JavaScript when the language first appeared in Navigator 2.0. Despite its Netscape-specific name, this object is now supported in Microsoft Internet Explorer.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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