Render PDFs Inline

Force PDFs to display inline instead of downloading. By Nick Semenkovich

什么是Render PDFs Inline?

Render PDFs Inline是由https://semenkovich.com开发的Chrome扩展程序,该扩展的主要功能是“Force PDFs to display inline instead of downloading. By Nick Semenkovich ”。

下载Render PDFs Inline扩展crx文件

下载Render PDFs Inline扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        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.                    

扩展基本信息

名称 Render PDFs Inline Render PDFs Inline
ID mhigkpfinipcldigeeonlokhpdpnkelg
官方URL https://chromewebstore.google.com/detail/render-pdfs-inline/mhigkpfinipcldigeeonlokhpdpnkelg
简介 Force PDFs to display inline instead of downloading. By Nick Semenkovich
文件大小 20.37 KB
安装次数 6,047
当前版本 2016.4.7
更新时间 2016-04-08
上架时间 2016-04-08
评分 4.07/5 共14次评分
开发者 https://semenkovich.com
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/semenko/chrome-force-pdf-inline
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "background": {
        "scripts": [
            "background.js"
        ],
        "persistent": true
    },
    "author": "Nick Semenkovich",
    "content_security_policy": "script-src 'self'; object-src 'self'",
    "description": "Force PDFs to display inline instead of downloading. By Nick Semenkovich ",
    "manifest_version": 2,
    "name": "Render PDFs Inline",
    "permissions": [
        "webRequest",
        "webRequestBlocking",
        "*:\/\/*\/*"
    ],
    "icons": {
        "16": "icons\/icon16.png",
        "48": "icons\/icon48.png",
        "128": "icons\/icon128.png"
    },
    "version": "2016.4.7"
}