pdfViewerEnabled
Newly available since 2023-03-27
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.
Learn more
Specifications
- HTML (#pdf-viewing-support), from HTML Workstream (WHATWG).
Browser support
- Chrome 94 Released on 2021-09-21
- Chrome Android 94 Released on 2021-09-21
- Edge 94 Released on 2021-09-24
- Firefox 99 Released on 2022-04-05
- Firefox for Android 99 Released on 2022-04-05
- Safari 16.4 Released on 2023-03-27
- Safari on iOS 16.4 Released on 2023-03-27
Usage (according to Chrome Platform Status)
~5.112% of page loads. More data at chromestatus.
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist