MDN self-hosted library · e01.org

Navigator: javaEnabled() method

HTML DOM

HTML DOM

This method always returns false.

Syntax

javaEnabled()

Parameters

None.

Return value

The boolean value false.

Examples

if (window.navigator.javaEnabled()) {
  // code will never be executed; the condition is always false
}

Specifications

Browser compatibility