Navigator: javaEnabled() method - Web APIs | MDN
Syntax
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 |