We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

navigator.javaEnabled

« DOM Reference

Summary

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

Syntax

result = window.navigator.javaEnabled()

Example

if (window.navigator.javaEnabled()) {
   // browser has java
}

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.

Specification

DOM Level 0. Not part of specification.

Document Tags and Contributors

Last updated by: Nickolay,