Remove all videos from a YouTube playlist. Open a playlist page and run this script. Adjust the interval time if needed, but as low as 50, or maybe lower, should be fine.
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
setInterval(() => { | |
document.querySelector('.ytd-playlist-video-list-renderer #menu yt-icon.style-scope.ytd-menu-renderer').click() | |
setTimeout(() => document.querySelector('#items > ytd-menu-service-item-renderer:nth-child(4) > tp-yt-paper-item > yt-formatted-string').click(), 1) | |
}, 100) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment