Last active
July 9, 2018 09:23
-
-
Save helb/6dd8a41ae8bbf420f8a8abcc89e72c62 to your computer and use it in GitHub Desktop.
YouTube – unsubscribe all
This file contains hidden or 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
// run in console on https://www.youtube.com/feed/channels (and wait): | |
document.querySelectorAll("paper-button[subscribed]").forEach((btn, i) => { | |
setTimeout(()=>{ | |
btn.click(); | |
setTimeout(()=>{ | |
document.querySelector("paper-button.style-blue-text").click() | |
}, 500) | |
}, 1000 + (i*2500)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment