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.
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?
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.
AmirOct 11, 2022
All you need to not to save a PDF but to read it!
Details
- Version2024.10.22
- UpdatedOctober 17, 2024
- Size13.17KiB
- LanguagesEnglish
- DeveloperWebsite
Email
semenko@alum.mit.edu - Non-traderThis 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
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