Visit the comment list page in a desktop browser: https://www.youtube.com/feed/history/comment_history
Continue scrolling to the bottom until you get to the very end of your comment history.
Open the JavaScript console.
Visit the comment list page in a desktop browser: https://www.youtube.com/feed/history/comment_history
Run this code snippet:
let deleteButton = document.querySelector('button[aria-label*="Delete"');
while (deleteButton !== null) {
deleteButton.click();
deleteButton.remove();
deleteButton = document.querySelector('button[aria-label*="Delete"');
}
Continue scrolling to the bottom until you get to the very end of your comment history.
Keep the tab open and the screen awake until the multitude of "Deleting now" toast notifications stop appearing. Recommend using a program like Caffeine / Amphetamine to keep the computer awake.
Open the JavaScript console.
Open a new tab to the same page. Repeat the processes as needed.
Run this code snippet:
Looks like we found a Stack Exchange WYSIWYG bug. The above is formatted as a code snippet, inside of the numbered list, it but fails to render as such.
let deleteButton = document.querySelector('button[aria-label*="Delete"');
while (deleteButton !== null) {
deleteButton.click();
deleteButton.remove();
deleteButton = document.querySelector('button[aria-label*="Delete"');
}
- Keep the tab open and the screen awake until the multitude of "Deleting now" toast notifications stop appearing. Recommend using a program like Caffeine / Amphetamine to keep the computer awake.
- Open a new tab to the same page. Repeat the processes as needed.