Created
July 23, 2022 21:53
-
-
Save iloveitaly/8da41a553ab5e596853d5d0fcad20e87 to your computer and use it in GitHub Desktop.
Download all PDFs for contributions in fidelity charitable by copy & pasting this into your browser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$x("//a[contains(@href, \"fc-services/api/v1/document/download\")]").forEach(el => { el.download = el.text.replace("(PDF)", "").replace("/", "-") + ".pdf"; var e = document.createEvent('MouseEvents'); e.initEvent('click' ,true ,true); el.dispatchEvent(e);}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment