User:Chlod/Scripts/DirectPDFDownload

DirectPDFDownload
Author(s)Chlod
StatusStable
UpdatedJanuary 29, 2020; 4 years ago (2020-01-29)
Browser supportFirefox (but likely works on all browsers)
Skin supportVector
SourceUser:Chlod/Scripts/DirectPDFDownload.js

Direct PDF Download is a script that that forces the "Download as PDF" button at the sidebar to download immediately.

With this userscript installed, the ElectronPdf landing page is completely bypassed – and the download will continue immediately.

Installation edit

To install the script, add this to your common.js file.

mw.loader.load( '/w/index.php?title=User:Chlod/Scripts/DirectPDFDownload.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Chlod/Scripts/DirectPDFDownload.js]]

Features edit

There are no configurable options since this userscript only does one task that has no options.

Source edit

The source can be found at User:Chlod/Scripts/DirectPDFDownload.js. Like all Wikipedia pages, the license is CC BY-SA 3.0.

Discussion edit

You may visit my talk page if you have any concerns.