Created this to make deleting my history easier. I tried at first deleting them all at once but the website would only delete a few and stop. Because of this I added a timeout of 4 seconds between each deletion which works great and prevents them from over-queueing. Also added a console.log
statement so you can see the progress.
- Copy the contents of
code.js
- Go to https://www.youtube.com/feed/history/comment_history
- Hold down
Page Down
button until you reach the end of the history - Open developer console (can open from hamburger menu or pressing F12 in Windows)
- Paste the code into the console and run it (you may have to right click and hit "Force Paste")