Render PDFs Inline

Rate 4.43 / 7 votes
More than 248 users worldwide
Current version: 2016.4.7
Price: FREE
Download extension
Like this extension ? Like/Share it!
Force PDFs to display inline instead of downloading. By Nick Semenkovich <[email protected]>Force PDFs to render inline instead of downloading. By Nick Semenkovich <[email protected]>

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).

This extension works using the webRequest API -- and it's a bit slower than the alternative extension. If you're using the Beta or Dev versions of Chrome, my alternative extension uses the Declarative Web Request API -- which is faster.

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


WARNING: This may have security risks by overriding the attachment header. Use at your own risk.


======== CODE ========
Please contribute! https://github.com/semenko/chrome-force-pdf-inline

Copyright 2014-2015, Nick Semenkovich <[email protected]>

Released under the MIT License. See LICENSE for details.

Reviews of Render PDFs Inline extension

Similar extension