Contents Quick Reference
The global navigator object that contains information about the environment in which the XUL document is loaded in.
Properties and Methods:
The browser's code name. For Mozilla, this is the string 'Mozilla'.
The browser's title.
Version information for the browser. This value can be passed to parseFloat (or parseInt) to get a numeric version. However, this property contains additional information.
Returns true if the user has cookies enabled.
Returns true if the user has Java is enabled.
The browser's language.
An array of the MIME content types supported by the browser.
A string that identifies the operating system, version and processor that the browser is running under.
The platform that the browser is running on.
An array of the plugins that are installed.
The first form can be used to retrieve a user preference with a given name. In Mozilla, these preferences are stored in the user's profile directory in a file called prefs.js. The second form can be used to modify a preference.
The product name of the browser or the viewer component. Under Mozilla, this will be the string 'Gecko'.
Additional information about the product. Under Mozilla, this will be the build date.
The user agent used for HTTP connections. This is a concatenation of a number of the other navigator object's fields.
The vendor of the browser.
Additional information about the vendor of the browser.