pdfViewerEnabledBaseline · Widely available
The navigator.pdfViewerEnabled property is a boolean for whether the browser navigates to and shows a PDF in the browser window or downloads the PDF.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Mar 27, 2023. Widely available since Sep 27, 2025.
Browser support
DesktopChrome
1–93Not supported
94+Supportedsince Sep 21, 2021
Current: 155Edge
12–93Not supported
94+Supportedsince Sep 24, 2021
Current: 154Firefox
1–98Not supported
99+Supportedsince Apr 5, 2022
Current: 157Safari
1–16.3Not supported
16.4+Supportedsince Mar 27, 2023
Current: 27MobileChrome Android
18–93Not supported
94+Supportedsince Sep 21, 2021
Current: 155Firefox Android
4–98Not supported
99+Supportedsince Apr 5, 2022
Current: 157Safari iOS
1–16.3Not supported
16.4+Supportedsince Mar 27, 2023
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: mimeTypes.
Feature detection
JS · check before using
if ("Navigator" in globalThis && "pdfViewerEnabled" in Navigator.prototype) {
// Navigator.pdfViewerEnabled is available
}Documentation (MDN)
Specification
Sub-features
Support for each part of the feature (2). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| Navigator.mimeTypes | 1 | 12 | 1 | 1 | 18 | 4 | 1 |
| Navigator.pdfViewerEnabled | 94 | 94 | 99 | 16.4 | 94 | 99 | 16.4 |