首页 生产工具 Inline PDFs for UH Moodle

Inline PDFs for UH Moodle

用户数 : 18 分类 : 生产工具 扩展大小 : 9.38KiB 最后更新时间 : 2019-04-28 版本 : 1.19.1
prev extension banner next extension banner
                            Tired of your browser automatically downloading Moodle PDFs to disk? Me too. This extension makes Chrome show PDFs in University of Helsinki's Moodle as a new tab instead.

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

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

Boring technical details:
It rewrites "Content-Disposition: attachment" into "Content-Disposition: inline" when:
- the pathname matches "https://moodle.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-moodle-pdf-extension/issues/new
                        
查看更多
下载 如何离线安装? Chrome store

分享

close
qr-code

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

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

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

正在验证
验证成功