Skip to content

Instantly share code, notes, and snippets.

@audionerd
Created January 31, 2015 23:15
Show Gist options
  • Save audionerd/55a4d8406a17e0403325 to your computer and use it in GitHub Desktop.
Save audionerd/55a4d8406a17e0403325 to your computer and use it in GitHub Desktop.
I <3 AFX
// A script to click each download button on this page: https://soundcloud.com/user48736353001/sets/all
// run it in the Developer Console in Chrome with the page open.
// Worked for me! ¯\_(ツ)_/¯
// I still can't figure out how Metal Beat was recorded. It's INSANE.
list = document.getElementsByClassName('sc-button-download')
[].forEach.call(list, function(el) {
var evt = document.createEvent("MouseEvents")
evt.initMouseEvent("click", true, true, window, 1, 0, 0, 0, 0, false, false, false, false, 0, null)
el.dispatchEvent(evt)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment