Created
February 11, 2014 23:50
-
-
Save dgershman/8946888 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // ==UserScript== | |
| // @name Embedded PDF downloader | |
| // @namespace http://www.versomas.com/ | |
| // @version 0.1 | |
| // @description Replaces object tag for the PDF and replaces it with a simple link for download | |
| // @match http://userscripts.org/scripts/show/181143 | |
| // @copyright 2014, radius314 | |
| // ==/UserScript== | |
| var letterLink = $("object")[0].data; | |
| $("object")[0].html = "<a href='" + letterLink + "' target='_blank'>Download Letter</a>"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment