A script for deleting a number comments at once from facebook posts has worked as follows:
- fb.com > Account > Settings & privacy > Activty log > Comments
- Function F12 > Console
- Copy and paste to the console:
.
setInterval(() => {
for (const Button of document.querySelectorAll('div[aria-label="Action options"]')) {
Button.click();
document.querySelector('div[role="menuitem"]').click()
}
}, 1000)
It processes (deletes) the comments that have been loaded on the screen. By scrolling down, the page loads and displays more comments. Without having to manually do this scrolling to load more, is there a away to load many screens worth?