Inline PDFs for UH Moodle

CRX ID
ilddijpognoadbfmlgnkgdogdciogmjn
Status
No Privacy Policy Live on Store
Description from extension meta

View University of Helsinki Moodle PDF downloads in Chrome instead of downloading to disk

Image from store
Inline PDFs for UH Moodle
Description from store

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

Latest reviews

Teo Uosukainen 2020-09-07

I avoided the common mistake.

Teo Uosukainen 2020-09-07

I avoided the common mistake.

Hugo Holmqvist 2019-05-02

5/5 would not content-disposition: attachment again

Hugo Holmqvist 2019-05-02

5/5 would not content-disposition: attachment again

Statistics

Installs
1
Market
Chrome Web Store
Rating
5.0 (2 votes)
Last update
2019-04-28
Version 1.19.1
Languages
en