Last active
November 18, 2015 18:32
-
-
Save phpdude/8454375e0c8dcd4b3750 to your computer and use it in GitHub Desktop.
Delete reposts from vk.com profile wall.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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