JavaScript Reference :: Navigator

A Navigator object is automatically created by a browser window.

methods

boolean javaEnabled()
Returns true if the browser is Java enabled, false if not.
void preference
When UniversalPreferencesRead and/or UniversalPreferencesWrite are true, allows a signed script to get and/or set the following preferences.
  • autoupdate.enabled
  • browser.enable_style_sheets
  • general.always_load_images
  • javascript.enabled
  • network.cookie.cookieBehavior
  • network.cookie.warnAboutCookies
  • security.enable_java
boolean taintEnabled()
Returns true if the browser has data tainting enabled, false if not.

properties

appCodeName
The code name of the browser.
appName
The full name of the browser, e.g. "Netscape" or "Microsoft Internet Explorer".
appVersion
Version information, which differs between browsers.
language
The language code of the browser.
mimeTypes
An array containing all the MIME types supported by the browser.
platform
The machine type for which the browser was compiled, e.g. "Win32".
plugins
An array of the plug-in objects installed in the browser.
userAgent
The value of the user-agent header sent by the client to the server in the HTTP header packet.

events