Skip to content

Instantly share code, notes, and snippets.

@phpdude
Last active Nov 18, 2015
Embed
What would you like to do?
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