Reviews for Bulk Delete Reddit Posts & Comments History
Bulk Delete Reddit Posts & Comments History by Glench
2 reviews
- Rated 3 out of 5by Firefox user 11608340, a year agoNot payed for it, used this script in the console to delete more than 50 comments.
Delete button after it's done deleting hit F12, Ctrl+R to refresh the page Ctrl+V for the code hit enter Ctrl+R after done repeat ad nauseam:
\\\
let intervalId = setInterval(() => {
try {
const deleteButton = document.querySelector('a.togglebutton[data-event-action="delete"]');
const changeStateButtons = document.querySelectorAll('a.yes[onclick*="change_state"]');
console.log('Delete button:', deleteButton);
console.log('Change state buttons:', changeStateButtons);
if (deleteButton && changeStateButtons.length >= 2) {
deleteButton.click();
changeStateButtons[0].click();
changeStateButtons[1].click();
} else {
console.error('Elements not found or not enough change state buttons');
clearInterval(intervalId);
}
} catch (error) {
console.error('An error occurred:', error);
clearInterval(intervalId);
}
}, 500);
\\\ - Rated 3 out of 5by fartdog, 2 years agoTakes a lot of unnecessary finagling to make it work, but it works.