Skip to content
4.1
20 reviews
2.0K
users
Published
October 17, 2024

Screenshots

Don't Download PDFs screenshot 1

Description

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. <a href="" download>) 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 <[email protected]> Released under the MIT License. See LICENSE for details.
Add to Chrome

Quick Info

Version
2024.10.22
Size
13.17KiB
Price
Free
Type
Extension

Categories

Languages

English