Skip to content

Instantly share code, notes, and snippets.

@christophemarois
Last active April 2, 2020 17:03
Show Gist options
  • Save christophemarois/2fddbcd8d7433ede74305e7afb2f121b to your computer and use it in GitHub Desktop.
Save christophemarois/2fddbcd8d7433ede74305e7afb2f121b to your computer and use it in GitHub Desktop.
Bypass waiting on IMSLP
// ==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()
}
})()
@christophemarois
Copy link
Author

@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