Skip to content

Instantly share code, notes, and snippets.

@lupikovoleg
Created January 14, 2015 13:18
Show Gist options
  • Save lupikovoleg/e1e1352465d6aa71aa01 to your computer and use it in GitHub Desktop.
Save lupikovoleg/e1e1352465d6aa71aa01 to your computer and use it in GitHub Desktop.
Delete all VK wall posts.
javascript:var h = document.getElementsByClassName("post_actions");var i = 0;function del_wall(){var fn_str = h[i].getElementsByTagName("div")[0].onclick.toString();var fn_arr_1 = fn_str.split("{");var fn_arr_2 = fn_arr_1[1].split(";");eval(fn_arr_2[0]);if(i == h.length){clearInterval(int_id)}else{i++}};var int_id=setInterval(del_wall,1000);
@MicheleIsoli
Copy link

How does it work?

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