Created
April 25, 2011 21:13
-
-
Save davestevens/941240 to your computer and use it in GitHub Desktop.
Get links to music in bandcamp
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
javascript:(function(){ | |
var TEMP = -1; | |
var HTML = ''; | |
while(mine = TralbumData.trackinfo[++TEMP]) { | |
HTML += '<a href="' + mine.file + '" target="_blank">' + mine.title + '</a><br/>' + "\n"; | |
} | |
var newdiv = document.createElement('div'); | |
newdiv.setAttribute('id', 'helloWorld'); | |
newdiv.style.background = "#000"; | |
newdiv.innerHTML = HTML; | |
document.body.appendChild(newdiv); | |
} | |
/* you can use this as a bookmarklet in your browser. when on an bandcamp site just click the bookmark and a list of all the available songs with direct links to download will be created. | |
YOU SHOULD REALLY PAY FOR MUSIC IF YOU LIKE IT THOUGH */ | |
)(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment