Created
January 20, 2020 13:55
-
-
Save ignitz/12ee3f02bc25de75f217fb47489591a3 to your computer and use it in GitHub Desktop.
Delete entire playlist Watch Later on Youtube
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
var items = $('body').getElementsByClassName("yt-uix-button yt-uix-button-size-default yt-uix-button-default yt-uix-button-empty yt-uix-button-has-icon no-icon-markup pl-video-edit-remove yt-uix-tooltip"); | |
function deleteWL(i) { | |
setInterval(function() { | |
items[i].click(); | |
}, 500); | |
} | |
for (var i = 0; i < 1; ++i) | |
deleteWL(i); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment