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

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.