Navigator.javaEnabled()
This method always returns false.
Syntax
javaEnabled()
Parameters
None.
Return value
The boolean value false
.
Examples
if (window.navigator.javaEnabled()) {
// code will never be executed; the condition is always false
}
Specifications
Specification |
---|
HTML Standard # dom-navigator-javaenabled |
Browser compatibility
BCD tables only load in the browser