TOC PREV NEXT INDEX

Put your logo here!


window.navigator.javaEnabled()


This method indicates whether the current browser is Java-enabled or not.

Syntax

bool = window.navigator.javaEnabled 

Parameters

bool is a boolean value.

Example

if ( window.navigator.javaEnabled() ) { 
   // browser has java 
} 

Notes

The return value for this method indicates whether the preference that controls Java is on or off-not whether the browser offers Java support in general.

Specification

DOM Level 0. Not part of specification. 


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