Overview
Encourage PDFs to show in the browser instead of downloading. By Nick Semenkovich <semenko@alum.mit.edu>
Annoyed by PDFs that save and download instead of opening? This extension forces PDFs to render inline instead of downloading (by overwriting the "Content-disposition: attachment" header). Features: - Only rewrites content that's in a main window (main_frame) - Rewrites all responses with "Content-type: application/pdf" - Rewrites responses with "Content-type: application/octet-stream" with a filename=*.pdf ======== 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.
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?
Nick SemenkovichDeveloperOct 6, 2024
Thanks for the feedback! This should be fixed in the latest update, let me know if it's still an issue & please share the URL.
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.
Nick SemenkovichDeveloperOct 6, 2024
Thanks! This should be partially fixed in the latest version -- per this issue: https://github.com/semenko/chrome-force-pdf-inline/issues/6
AmirOct 11, 2022
All you need to not to save a PDF but to read it!
Details
- Version2024.10.20
- UpdatedOctober 7, 2024
- Size20.78KiB
- 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