If the webpage has no tracklist the script seems to fail. I added the following code after line 143, which displays the download button next to the track title:
if (hoverdiv.length == 0){
hoverdiv = document.querySelectorAll('h2.trackTitle')
}
(there is probably a better way doing this but I'm no js dev and this was just quickly thrown together) Otherwise works without a problem
If the webpage has no tracklist the script seems to fail.
I added the following code after line 143, which displays the download button next to the track title:
(there is probably a better way doing this but I'm no js dev and this was just quickly thrown together)
Otherwise works without a problem