Encourage PDFs to show in the browser instead of downloading. By Nick Semenkovich .

Latest Version

Version
2024.10.22
Update
October 17, 2024
Size
13.17KiB
Developer
semenkovich.com
Category
Users
2,000+
Rating
3.94118 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
DeclarativeNetRequest
DeclarativeNetRequestFeedback
See more

Don't Download PDFs Extension

Annoyed by PDFs that download and save instead of just showing in the tab?

This extension encourages PDFs to show in the browser rather than downloading.

That's it. Nothing else.

======== Details ========

This works by setting the \"Content-Disposition: Inline\" header under these conditions:

- Content is displayed in the full window (main_frame)
AND

- The response contains \"Content-type: application/pdf\"
OR
- The response contains \"Content-type: application/octet-stream\" with a filename of \"*.pdf\"

Note that some sites use the \"download\" attribute in links (e.g. ) which we can't override, but you can right-click those PDFs and select \"Open Link in a New Tab\".

======== CODE ========
https://github.com/semenko/chrome-force-pdf-inline

Copyright 2014-2024 Nick Semenkovich

Released under the MIT License. See LICENSE for details.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "author": "Nick Semenkovich", "description": "Encourage PDFs to show in the browser instead of downloading. By Nick Semenkovich .", "manifest_version": 3, "background": { "service_worker": "service_worker.js" }, "name": "Don't Download PDFs", "permissions": [ "declarativeNetRequest", "declarativeNetRequestFeedback" ], "host_permissions": [\t"" ], "declarative_net_request": { "rule_resources": [{ "id": "ruleset", "enabled": true, "path": "ruleset.json" }] }, "icons": { "48": "icons/icon48.png", "128": "icons/icon128.png" }, "version": "2024.10.22"}
Read more

Similar Extensions

icon

Docs Viewer Extension · Productivity 2,000+ 9 ★ 19.06KiB

icon

No PDF Download Extension · Productivity 2,000+ 42 ★ 8.05KiB

icon

PDF Forcedownload Blocker Extension · Productivity 2,000+ 41 ★ 2.99KiB

icon

Soda PDF Viewer: Edit, Convert, Compress PDF files Extension · Productivity 2,000+ 4 ★ 1.7MiB

icon

WebAssembly PDF Viewer Editor Extension · Productivity 2,000+ 2 ★ 41.91KiB

icon

Modify Content-Type Extension · Developer Tools 2,000+ 35 ★ 42.36KiB

icon

Wiki Researcher Extension · Productivity 2,000+ 4 ★ 345KiB

icon

Block Unreachable Scripts Extension · Productivity 2,000+ 6 ★ 11.06KiB

icon

PDF Viewer Extension · Productivity 2,000+ 2 ★ 2.03MiB

icon

Hover Read Extension · Productivity 2,000+ 6 ★ 50.18KiB

icon

Render Selection Extension · Developer Tools 2,000+ 3 ★ 351KiB

icon

Undisposition [Racle fork] Extension · Productivity 2,000+ 35 ★ 15.47KiB

icon

Beck PDF Downloader Extension · Accessibility 2,000+ 15 ★ 4.7KiB

icon

Awesome PDF Viewer, Reader Extension · Productivity 2,000+ 110 ★ 28.99KiB

icon

In-Browser File Viewer Extension · Accessibility 2,000+ 4 ★ 8.22KiB

icon

Rumin Extension · Productivity 2,000+ 5 ★ 544KiB

icon

HTML5 PDF Printing in Chrome Extension · Accessibility 2,000+ 2 ★ 3.02MiB

icon

Extension log Extension · Productivity 2,000+ 12 ★ 45.45KiB

icon

Turbo Outliner Extension · Productivity 2,000+ 16 ★ 16.94KiB

icon

Simplex Search - Direct Download Everything Extension · Productivity 2,000+ 7 ★ 36.58KiB

icon

Scroll Preview Extension · Productivity 2,000+ 27 ★ 68.71KiB

icon

Peek: Preview PDFs, Office files, and more Extension · Productivity 2,000+ 20 ★ 197KiB

icon

PDF Viewer for Vimium C Extension · Productivity 2,000+ 30 ★ 2.88MiB

icon

Lazy Linker Extension · Productivity 2,000+ 7 ★ 54.37KiB

User reviews

icon

Amir (ID: 0000008eaa6c98b3) Voted 5 ★ - Updated 10/11/2022 All you need to not to save a PDF but to read it!

icon

Hari Tharani (ID: 000000801c2a6acb) Voted 1 ★ - Updated 07/14/2020 not even opening very bad n not useful

icon

Michael Richter (ID: 00000066e7e5cc16) Voted 5 ★ - Updated 02/21/2020 Exactly what I was looking for.

icon

Chris Vydas (ID: 000000a1b7cc9ce4) Voted 1 ★ - Updated 11/20/2019 Did not work at all! Not working on pc and not working on mobile.

icon

Ellen Winney (ID: 000000267b30345d) Voted 5 ★ - Updated 05/30/2019 Needed this for a website that insisted its PDFs be downloaded instead of just displayed inline. This extension did exactly what I needed, thanks.