TOC PREV NEXT INDEX

Put your logo here!


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. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX