Navigator: javaEnabled() method
This method always returns false.
Syntax
js
javaEnabled()
Parameters
None.
Return value
The boolean value false
.
Examples
js
if (window.navigator.javaEnabled()) {
// code will never be executed; the condition is always false
}
Specifications
Specification |
---|
HTML> # dom-navigator-javaenabled> |
Browser compatibility
Loading…