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