Navigator.javaEnabled()
This method always returns false.
Syntax
result = window.navigator.javaEnabled()
Example
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