UPDATED 10.25.2021
Modifications by Michael-Jennings:
- The "deleteLimit" variable lets you set the maximum number of videos to remove.
- Improved document.querySelector(...) criteria so "[Private]"/"[Deleted]" videos get removed too. (Originally it would not remove them, and when enough stacked up at the top the page would stop loading more items, which stopped the removal process)
- Throttled the automated "Remove from" button click rate to 1 per interval so YouTube can keep up with the requests and to accurately count completed deletes.