diff --git a/files/en-us/web/api/navigatorplugins/javaenabled/index.html b/files/en-us/web/api/navigatorplugins/javaenabled/index.html index 8be93ba9d0a605c..f929b6a1dfda16a 100644 --- a/files/en-us/web/api/navigatorplugins/javaenabled/index.html +++ b/files/en-us/web/api/navigatorplugins/javaenabled/index.html @@ -9,7 +9,7 @@ ---

{{ APIRef("HTML DOM") }}

-

This method indicates whether the current browser is Java-enabled or not.

+

This method always returns false.

Syntax

@@ -19,14 +19,10 @@

Syntax

Example

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

Notes

- -

The return value for this method indicates whether the preference that controls Java is on or off - not whether the browser offers Java support in general.

-

Specifications