JavaScript to use in a browser console that bulk adds and deletes videos from YouTube playlists
- Open console in a browser.
- Copy script contents (from a text editor) and paste it into the console and press enter.
- I recommend testing it out on a few videos in an empty playlist, because YouTube could change at any time.
- youtube-playlist-add-all.js: Run this script to automatically add available videos that could be manually added from the page. Can be run from various YouTube pages.
- youtube-playlist-remove.js: Run this script to automatically remove videos from a personal playlist. Must be on the playlist's page.
- youtube-playlist-extract.js: Run this script to extract a playlist's URLs. Must be on the playlist's page.