首页 生产工具 Inline PDFs for MOOC Helsinki

Inline PDFs for MOOC Helsinki

用户数 : 3 分类 : 生产工具 扩展大小 : 104KiB 最后更新时间 : 2020-11-26 版本 : 1.0.0
prev extension banner next extension banner
                            View MOOC Helsinki PDF downloads in Chrome instead of downloading to disk
Tired of your browser automatically downloading MOOC PDFs to disk? Me too. This extension makes Chrome show PDFs in MOOC Helsinki as a new tab instead.

See the code on GitHub: https://github.com/cxcorp/inline-mooc-pdf-extension

--------------------------------

Boring technical details:
It rewrites "Content-Disposition: attachment" into "Content-Disposition: inline" when:
- the pathname matches "https://mooc.helsinki.fi/*"
- either the pathname ends in .pdf or the response's Content-Type is application/pdf
- the network request was made from the browser's main frame or a subframe (doesn't touch XHR, style requests, etc.)


Is the extension broken for you? Does it break something else?

Create a new issue here: https://github.com/cxcorp/inline-mooc-pdf-extension/issues/new

                        
查看更多
下载 如何离线安装? Chrome store

分享

全部评论

    展开更多评论

    错误提示保存失败
    成功提示保存成功
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“插件”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功
    下载遇到问题?请添加QQ群:398095333
    close
    qr-code

    为打击盗链困扰,本站已启用公众号验证
    微信扫码关注上方公众号,回复“脚本”二字获得验证码,验证码5分钟内全站有效。

    正在验证
    验证成功