Last active
April 2, 2020 17:03
-
-
Save christophemarois/2fddbcd8d7433ede74305e7afb2f121b to your computer and use it in GitHub Desktop.
Bypass waiting on IMSLP
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 IMSLP wait bypasser | |
// @version 0.1 | |
// @description Bypass waiting on IMSLP | |
// @author @christophemarois | |
// @match http://imslp.org/* | |
// @match https://imslp.org/* | |
// ==/UserScript== | |
(function(){ | |
let link = document.querySelector('#sm_dl_wait') | |
if (link) { | |
let a = document.createElement('a') | |
a.href = link.getAttribute('data-id') | |
a.setAttribute('download', true) | |
document.body.appendChild(a) | |
a.click() | |
} | |
})() |
@dino-prpic I made this a long time ago, not sure it works anymore.
Look at https://github.com/Roboe/userscripts/tree/master/imslp-subscription-skipper for a possibly more up-to-date version
BTW this is a userscript, custom code that's ran in certain domains by browser extensions, notably Tampermonkey and Greasemonkey.
Good luck!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can I use this?