Skip to Content
Platform.Ontology

PDF viewer enabled

Whether the browser shows PDFs inline instead of downloading them.

Gets silentlyDevice detailsBrowser identityWeb browsersWhen the page loadsWhile you use it

In one line

Can see if your browser shows PDFs inline instead of downloading them

Whether the browser shows PDFs inline instead of downloading them.

A single boolean that replaced plugin enumeration. False on some mobile browsers and on users who disabled the viewer. Low entropy but common in bot checks.

What it can and can't do

What the user does: Nothing. It happens when the page loads

It can

  • Check one yes or no setting
  • Decide to embed a PDF or offer a download link
  • Use it with other checks to spot bots

It cannot

  • See which PDF files you opened
  • See which other plugins you have
  • Learn much; it is a single yes or no
  • Change your PDF setting

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported942021-09-21None
EdgeSupported942021-09-24None
FirefoxSupported992022-04-05None
SafariSupported16.42023-03-27None
Safari on iPhoneSupported16.42023-03-27Safari iOS true
Chrome on AndroidSupported942021-09-21false on Android Chrome by default
Samsung InternetSupported17.02022-05-04None

How a site asks for it

APInavigator.pdfViewerEnabled
Browser compat keysapi.Navigator.pdfViewerEnabled
How access is grantednone
What the user seesNone
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsread fresh on every page load; nothing stored
How to take it backnone needed (no grant)
Inside an iframeReadable from cross-origin iframes too (same values)

Typical flow

  1. Page script reads the value
  2. No prompt is shown

Data you get

Shape: object
How often: static per session

FieldTypeUnitRangePrecision
pdfViewerEnabledbooleanNonetrue or falseNot listed

Technical limits

  • One bit only

The story

What it is

A yes or no: does your browser show PDF files inside the page instead of downloading them?

For you

You never see it asked. It only decides whether a PDF link opens right in your tab or downloads. A site can also see the answer, but it tells little about you.

For makers

It is one yes or no flag, so it is a weak clue. Bot defence teams include it because headless browsers and odd setups often answer differently. Some sites use it to choose between an inline viewer and a download button.

Where you see it

TypeExampleApps
productivityA document site shows a Preview button when your browser can display PDFs, and a Download button when it cannot.None named
shoppingA shop offers a size guide as an inline PDF only if the browser can show it.None named
bankingA bank statement page opens a PDF in a tab on desktop and downloads it on a phone that cannot show it.None named
securityA bot defence tool notices a visitor with no PDF viewer and no plugins, and raises the risk score.DataDome
educationAn online course shows reading material in the page for browsers that support PDFs.None named
analyticsA fingerprinting library adds the flag to a device profile.FingerprintJS

Risks

  • Very low value alone
  • Part of a bigger profile

What the platform says

Good uses and abuse

Legitimate uses

  • Offer PDF vs download

Known abuse

  • Headless-browser tell (false)

Scores

ScoreValueMeaning
Sensitivity1 of 5How revealing the data is
Utility2 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits0.5Rough identifying entropy, when known

History

  • 2021-09, Chrome 94: Shipped; plugins list hardcoded to 5 PDF entries

Sources

How well checked: Based on official documentation.

On this page