Don't Download PDFs icon

Don't Download PDFs

by chrome-webstore-publishing-group

v2024.10.22 Updated Oct 17, 2024 13.17KiB
CWS
2K
Users
★ 4.14
21 reviews
#2455
of 38.6K
tools
#489 of 9.6K
⚠️Not updated in over a year

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 <semenko@alum.mit.edu> Released under the MIT License. See LICENSE for details.
Don't Download PDFs screenshot 1

Reviews (4 cached)

★☆☆☆☆2024-03-21
porg

Good feature idea! Sadly a of 2024-03-21 the extension in it lates released version 2016.4.7 is not working anymore in the current Chrome 122.0.6261.129. Tried it on https://www.bmf.gv.at/services/publikationen/das-steuerbuch.html where the PDFs use "Content-Disposition: attachment" and enforcing PDF inline display fails, instead the PDFs just trigger a download.

★☆☆☆☆2020-07-14
Hari Tharani

not even opening very bad n not useful

★☆☆☆☆2019-11-20
Chris Vydas

Did not work at all! Not working on pc and not working on mobile.

★★☆☆☆2015-11-12
Paul Combal

It doesn't seem to always work.

Permissions (2)

Permissions

declarativeNetRequest Can block or redirect network requests declarativeNetRequestFeedback

Details

Version 2024.10.22
Updated Oct 17, 2024
Size 13.17KiB
First Seen Mar 22, 2026