首页 扩展程序 Render PDFs Inline

Render PDFs Inline

提供方: chrome-webstore-publishing-group
15
效率 5,000+ 位用户

插件简介

Force PDFs to display inline instead of downloading. By Nick Semenkovich <semenko@alum.mit.edu>
Force PDFs to render inline instead of downloading. By Nick Semenkovich 

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

Released under the MIT License. See LICENSE for details.

其他信息

ID mhigkpfinipcldigeeonlokhpdpnkelg 版本 2016.4.7 上次更新日期 2016年4月8日 大小 20.37KiB 语言 支持1 种语言 开发者

semenko@alum.mit.edu

适用浏览器

谷歌浏览器、其他Chromium内核的浏览器

Render PDFs Inline Chrome插件下载

为打击盗链困扰,本站已启用人机验证
微信扫码关注左侧公众号,发送“插件”二字获得验证码,验证码5分钟全站有效