Uses HTML5 to display PDF files directly in the browser.

Latest Version

Version
4.6.129
Update
October 28, 2024
Size
3.21MiB
Developer
pdfjs.robwu.nl
Category
Users
1,000,000+
Rating
3.29492 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Alarms
DeclarativeNetRequestWithHostAccess
WebRequest
Tabs
WebNavigation
Storage
See more

PDF Viewer Extension

PDF.js is a Portable Document Format (PDF) viewer that is built with HTML5.

PDF.js is community-driven and supported by Mozilla. Our goal is to create a general-purpose, web standards-based platform for parsing and rendering PDFs.

This extension offers PDF.js as the default PDF viewer in Chrome. This is the official Chrome extension of the PDF.js project. Be careful of unrelated copycats.

If you want to use this viewer to view local files, visit chrome://extensions/?id=oemmndcbldboiebfnladdacbdfmadadm and put a check before \"Allow access to file URLs\".

Please report any issues at https://github.com/mozilla/pdf.js/issues

Don't have a Github account? I also accept feedback at [email protected]

Known issue: PDF files generated via a form (POST request) cannot be viewed.

Contains opt-out telemetry since version 1.5.285, see https://github.com/Rob--W/pdfjs-telemetry#privacy-policy
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "minimum_chrome_version": "103", "manifest_version": 3, "name": "PDF Viewer", "version": "4.6.129", "description": "Uses HTML5 to display PDF files directly in the browser.", "icons": { "128": "icon128.png", "48": "icon48.png", "16": "icon16.png" }, "permissions": [ "alarms", "declarativeNetRequestWithHostAccess", "webRequest", "tabs", "webNavigation", "storage" ], "host_permissions": [""], "content_scripts": [ { "matches": ["http://*/*", "https://*/*", "file://*/*"], "run_at": "document_start", "all_frames": true, "css": ["contentstyle.css"], "js": ["contentscript.js"] } ], "content_security_policy": { "extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'" }, "storage": { "managed_schema": "preferences_schema.json" }, "options_ui": { "page": "options/options.html" }, "options_page": "options/options.html", "background": { "service_worker": "background.js" }, "incognito": "split", "web_accessible_resources": [ { "resources": [ "content/web/viewer.html", "http:/*", "https:/*", "file:/*", "chrome-extension:/*", "blob:*", "data:*", "filesystem:/*", "drive:*" ], "matches": [""], "extension_ids": ["*"] } ]}
Read more