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

Latest Version

Version
1.19.1
Update
April 28, 2019
Size
10.12KiB
Developer
Category
Users
4
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
WebRequest
WebRequestBlocking
Https://moodle.helsinki.fi/*
See more

Inline PDFs for UH Moodle Extension

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
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Inline PDFs for UH Moodle", "version": "1.19.1", "description": "View University of Helsinki Moodle PDF downloads in Chrome instead of downloading to disk", "manifest_version": 2, "background": { "scripts": ["background.js"] }, "permissions": [ "webRequest", "webRequestBlocking", "https://moodle.helsinki.fi/*" ], "icons": { "16": "icon16.png", "32": "icon32.png", "48": "icon48.png", "128": "icon128.png" }}
Read more

Similar Extensions

icon

Steam Workshop Downloader Extension · Productivity 4 32 ★ 79.31KiB

icon

Save as PDF Extension · Productivity 4 1992 ★ 32.72KiB

icon

PDF Dark Theme Extension · Accessibility 4 9 ★ 20.15KiB

icon

Moodle Downloader Extension · Productivity 4 300 ★ 53.97KiB

icon

Infor IDM extension Extension · Developer Tools 4 0 ★ 349KiB

icon

Auto Resume Downloads Extension · Productivity 4 99 ★ 1.07MiB

icon

doqment PDF Reader Extension · Productivity 4 21 ★ 4.28MiB

icon

Always Clear Downloads 2 Extension · Productivity 4 52 ★ 15.47KiB

icon

Motrix WebExtension Extension · Productivity 4 62 ★ 326KiB

icon

Pdf Merger - Merge pdf files online Extension · Productivity 4 0 ★ 322KiB

icon

Open in PDF Reader Extension · Productivity 4 50 ★ 56.02KiB

icon

PDF Reader Extension · Productivity 4 78 ★ 5.87MiB

icon

Google Sheets Downloader Extension · Productivity 4 4 ★ 63.13KiB

icon

Download All PDFs Extension · Productivity 4 31 ★ 197KiB

icon

Foxit PDF Editor Cloud: Edit and Convert Extension · Productivity 4 6 ★ 176KiB

icon

PDF Unlocker Extension · Productivity 4 1 ★ 35.13KiB

icon

DarkPDF by Waseem Akram Extension · Productivity 4 7 ★ 95.64KiB

icon

Pitch.com PDF Downloader Extension · Productivity 4 6 ★ 311KiB

icon

Direct Download Links for OneDrive Extension · Productivity 4 2 ★ 49.63KiB

icon

Remove Metadata from PDF Extension · Productivity 4 7 ★ 2.26MiB

icon

Progressive Downloader Extension · Productivity 4 27 ★ 21.82KiB

icon

Moodle Buddy Extension · Productivity 4 217 ★ 1.02MiB

icon

Download Manager for Chrome Extension · Productivity 4 0 ★ 238KiB

icon

Markdown Preview Plus Extension · Productivity 4 234 ★ 2.24MiB

User reviews

icon

Teo Uosukainen (ID: 000000e0f0d249dc) Voted 5 ★ - Updated 09/07/2020 I avoided the common mistake.

icon

Hugo Holmqvist (ID: 0000009a2ce3de68) Voted 5 ★ - Updated 05/02/2019 5/5 would not content-disposition: attachment again