Item logo image for Don't Download PDFs

Don't Download PDFs

semenkovich.com
3.9(

17 ratings

)
ExtensionTools5,000 users
Item media 1 screenshot

Overview

Encourage PDFs to show in the browser instead of downloading. By Nick Semenkovich <semenko@alum.mit.edu>.

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.

3.9 out of 517 ratings

Google doesn't verify reviews. Learn more about results and reviews.

Review's profile picture

jkOct 6, 2024

Used to work really well, though the latest update made the PDF detection really aggressive and it tries to render PDFs out of zip files as well. Could you fix this real quick?

1 person found this review to be unhelpful
Review's profile picture

porgMar 21, 2024

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.

1 person found this review to be unhelpful
Review's profile picture

AmirOct 11, 2022

All you need to not to save a PDF but to read it!

1 person found this review to be helpful

Details

  • Version
    2024.10.22
  • Updated
    October 17, 2024
  • Size
    13.17KiB
  • Languages
    English
  • Developer
    Website
    Email
    semenko@alum.mit.edu
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has disclosed that it will not collect or use your data.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes

Support

For help with questions, suggestions, or problems, please open this page on your desktop browser

Google apps