browsersays

navigator.javaEnabled

A method that has returned false for over a decade and is still checked by real sites. What it used to mean, and what its shape is used for now.

Checking the browser you are reading this in…

Entry in question 1: What your browser calls itself

What it is

A function that once told a page whether the Java browser plugin was installed. Browser plugins of that kind were removed years ago, so the specification now requires this function to exist and to always return false.

What a site can do with it

Nothing, from its answer. What is read instead is its shape: it must be a function, calling it must return false, and printing the function itself must produce the native-code form every built-in browser function prints. Each of those is a separate thing a modified runtime can get wrong.

Check it yourself

Open your browser's developer tools, go to the console, and paste this. Nothing is sent anywhere; the answer comes from the browser you are reading this in.

navigator.javaEnabled()

The full path recorded by the walk is navigator.javaEnabled, and that is the string the leaflet prints beside this entry.

What the answer is on an ordinary browser

Written by hand for each of the three engines, because a table generated from one sentence would be worth nothing to the person reading it.

Chrome
Present and returns false.
Firefox
Present and returns false.
Safari
Present and returns false.

If your browser is not present, the leaflet prints this instead of dimming the line: Not present. The method is gone rather than returning its usual false.

Where it sits in the leaflet

This is one of 9 entries in question 1, what your browser calls itself. The leaflet reads all 42 entries in one press and prints each answer beside the question, with the property name next to it so you can check any line.

Read my browser · navigator.appCodeName · navigator.pdfViewerEnabled