TOC PREV NEXT INDEX

domref



window.navigator


Returns a reference to the navigator object.

Syntax

nav = window.navigator
 

Parameters

nav is a navigator object reference.

Example

nav = window.navigator;
 
if ( nav.language != en ) {
 
   res = window.confirm(lang_warn);
 
}
 

Notes

The navigator object is used to examine the actual browser being used. It includes properties like appName, appCore, plugins (described below) for getting information about the browser itself.

All of the properties and methods available from window.navigator can also be referenced simple with navigator.

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX