diff --git a/files/en-us/web/api/navigator/index.html b/files/en-us/web/api/navigator/index.html index 1977e4876f048bd..e0900de4a150e98 100644 --- a/files/en-us/web/api/navigator/index.html +++ b/files/en-us/web/api/navigator/index.html @@ -38,7 +38,7 @@

Standard properties

{{domxref("NavigatorConcurrentHardware.hardwareConcurrency")}} {{readonlyInline}}
Returns the number of logical processor cores available.
{{domxref("NavigatorPlugins.javaEnabled")}} {{readonlyInline}}
-
Returns a {{domxref("Boolean")}} flag indicating whether the host browser is Java-enabled or not.
+
Returns false.
{{domxref('Navigator.keyboard')}} {{readonlyinline}} {{experimental_inline}}
Returns a {{domxref('Keyboard')}} object which provides access to functions that retrieve keyboard layout maps and toggle capturing of key presses from the physical keyboard.
{{domxref("NavigatorLanguage.language")}} {{readonlyInline}}
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