Created
April 11, 2014 21:08
-
-
Save timothyarmstrong/10501804 to your computer and use it in GitHub Desktop.
Delete all videos in YouTube Playlist
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() { | |
var i = window.setInterval(function() { | |
var closeButton = document.querySelector('.pl-video-edit-remove'); | |
if (closeButton) { | |
closeButton.click(); | |
} else { | |
window.clearInterval(i); | |
} | |
}, 500); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This still works if you add
&disable_polymer=true
to the end of the playlist's url. e.g. For the watch later playlist, use:https://www.youtube.com/playlist?list=WL&disable_polymer=true