HTML DOM Navigator javaEnabled( ) Method Last Updated : 14 Jun, 2023 Comments Improve Suggest changes Like Article Like Report The navigator javaEnabled() method is used for returning a Boolean value that specifies whether Java is enabled in a browser or not. It returns true if Java is enabled in the browser else it returns false. Syntax: navigator.javaEnabled()Note: This method has been deprecated and is no longer used. Return Value: A Boolean, indicating whether the browser has Java enabled.It returns true if enabled, false if not. Below program illustrates the Navigator javaEnabled() method :Checking whether a browser has Java enabled or not. HTML <!DOCTYPE html> <html> <head> <title> Navigator javaEnabled() Method in HTML </title> <style> h1 { color: green; } h2 { font-family: Impact; } body { text-align: center; } </style> </head> <body> <h1>GeeksforGeeks</h1> <h2>Navigator javaEnabled() Method</h2> <p> For checking whether the browser has Java enabled or not, double-click the "Check Java" button: </p> <button ondblclick="check_java()"> Check Java </button> <p id="jav"></p> <script> function check_java() { var j = "Is Java Enabled : " + navigator.javaEnabled(); document.getElementById("jav").innerHTML = j; } </script> </body> </html> Output: Before clicking the button: After clicking the button: Supported Browsers: The browser supported by navigator javaEnabled() are listed below: Google ChromeInternet ExplorerFirefoxOperaSafari Comment More infoAdvertise with us Next Article HTML DOM Navigator javaEnabled( ) Method S Shubrodeep Banerjee Follow Improve Article Tags : Web Technologies HTML HTML-Property Similar Reads HTML DOM Navigator taintEnabled() Method The Navigator taintEnabled() method was best avoided in JavaScript version 1.2, and has been deprecated since then to prevent run-time errors in the future. Data Tainting was a security feature to destroy or remove the highly infectious data used by JavaScript 1.2. It has been completely discarded b 2 min read HTML DOM Navigator language Property The Navigator language property is used for returning the browser's language version. It is a read-only property and it returns a string representing the language version of the browser. Some of the possible language codes are : en-USfrende Syntax: navigator.language Below program illustrates the Na 1 min read HTML DOM Node isSupported() Method The isSupported() method in HTML DOM is used to check the specified feature is supported by the specified node or not. This method is not supported by many browsers. It returns true if the feature is supported else it returns false. Syntax: node.isSupported(feature, version) Note: This method has be 2 min read HTML DOM Navigator onLine Property The Navigator onLine property is used for returning a Boolean value which specifies whether a browser is in the online or offline mode. It is a read-only property which returns true if the browser is in online mode or false if it is in the offline mode. Syntax: navigator.onLineReturn Value: A Boolea 2 min read HTML DOM Navigator cookieEnabled Property The cookieEnabled property is used to return a Boolean value which specifies whether the browser has cookies enabled or not. It returns true if cookies are enabled else it returns false. Syntax: navigator.cookieEnabled Below program illustrates the Navigator cookieEnabled Property: Checking whether 1 min read Like