Forked from timothyarmstrong/delete-videos-from-playlist.js
Created
January 22, 2020 23:40
-
-
Save gogvale/45233db5e8b46b4e270eb46ec81e18c8 to your computer and use it in GitHub Desktop.
Delete all videos in YouTube Playlist
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
(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