navigator.pdfViewerEnabled
Whether your browser opens PDFs itself rather than downloading them. A single true-or-false that also stands in for a much older plugin question.
Checking the browser you are reading this in…
Entry in question 1: What your browser calls itself
What it is
One boolean: does this browser display PDF files inline instead of handing them to the operating system. It was added to replace an older technique that inspected the browser's plugin list, which had become one of the strongest identifying signals on the web.
What a site can do with it
By itself it splits browsers into two large groups and tells a site nothing about you personally. It matters mostly as a paired check with the older plugin list — the two are supposed to agree about the same underlying capability, so a runtime that fakes one and not the other has produced a contradiction.
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.pdfViewerEnabled The full path recorded by the walk is navigator.pdfViewerEnabled, 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 true on desktop, where the built-in viewer is always available.
- Firefox
- Present and true. Firefox has shipped its own PDF viewer for years.
- Safari
- Present and true on desktop macOS.
If your browser is not present, the leaflet prints this instead of dimming the line: Not present. Its absence suggests either an older build or a stripped runtime.
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.javaEnabled · navigator.deviceMemory