Skip to content

Instantly share code, notes, and snippets.

@slonoed
Last active November 24, 2016 07:12
Show Gist options
  • Save slonoed/91c2cb041dd5bd425226 to your computer and use it in GitHub Desktop.
Save slonoed/91c2cb041dd5bd425226 to your computer and use it in GitHub Desktop.
Remove vk.com messages
setInterval(function(){[].forEach.call(document.querySelectorAll('.post_delete_button'), function(e){e.click();e.remove()}); window.scrollTo(0,document.body.scrollHeight);}, 2000)
@qwerscom
Copy link

setInterval(function(){[].forEach.call(document.querySelectorAll('.post_delete_button'), function(e){e.click();e.remove()}); window.scrollTo(0,document.body.scrollHeight);}, 2000)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment