Last active
August 5, 2016 20:01
-
-
Save foolmoron/b3a25ef22be6bab780aa6b3505dbcbb2 to your computer and use it in GitHub Desktop.
Auto skip certain songs on Soundcloud by title
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
function autoSkip(songName) { | |
setInterval(() => { | |
if (document.querySelector('.sound.playing .soundTitle__title').innerText.toLowerCase().indexOf(songName.toLowerCase()) >= 0) { | |
document.querySelector('.skipControl__next').click(); | |
} | |
}, 500); | |
} | |
autoSkip('Cold Water'); // seriously plz stop remixing this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment