User:Chlod/Scripts/DirectPDFDownload
Userscript that forces the "Download as PDF" button to download immediately
From Wikipedia, the free encyclopedia
Direct PDF Download is a script that forces the "Download as PDF" button at the sidebar to download immediately.
| Author | Chlod |
|---|---|
| Status | Stable |
| Updated | January 29, 2020 |
| Browsers | Firefox (but likely works on all browsers) |
| Skins | Vector |
| Source | User:Chlod/Scripts/DirectPDFDownload.js |
With this userscript installed, the ElectronPdf landing page is completely bypassed – and the download will continue immediately.
Installation
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
There are no configurable options since this userscript only does one task that has no options.
Source
The source can be found at User:Chlod/Scripts/DirectPDFDownload.js. Like all Wikipedia pages, the license is CC BY-SA 3.0.
Discussion
You may visit my talk page if you have any concerns.