User:Chlod/Scripts/DirectPDFDownload
Appearance
< User:Chlod | Scripts
| Author | Chlod |
|---|---|
| Status | Release |
| Updated | January 29, 2020 |
| Browsers | Firefox (but likely works on all browsers) |
| Skins | Vector |
| Source | User:Chlod/Scripts/DirectPDFDownload.js |
Direct PDF Download is a script 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.