Skip to content

Instantly share code, notes, and snippets.

@phpdude
Last active November 18, 2015 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phpdude/8454375e0c8dcd4b3750 to your computer and use it in GitHub Desktop.
Save phpdude/8454375e0c8dcd4b3750 to your computer and use it in GitHub Desktop.
Delete reposts from vk.com profile wall.
setInterval(function () {
var x = $('.post_copy .post_delete_button');
if(x)
{
x.click();
x.remove();
}
}, 500);
setInterval(function() {
if(!$('.post_copy .post_delete_button')) {
window.scrollTo(0,document.body.scrollHeight);
setTimeout(function(){
window.scrollTo(0,0);
}, 100);
}
}, 2000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment