MDN self-hosted library · e01.org

Navigator: plugins property

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

js
if ("PDF Viewer" in navigator.plugins) {
  // browser supports inline viewing of PDF files.
}