Created
September 28, 2022 14:50
-
-
Save ac130kz/cecc18bb1f0b77ea061a47cd40a0950e to your computer and use it in GitHub Desktop.
Delete all Vk posts (F12 -> Console -> Paste + Enter)
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
var h = document.getElementsByClassName("ui_actions_menu _ui_menu ui_actions_menu--actionSheet"); | |
var i = 0; | |
function del_wall() { | |
try { | |
var fn_str = h[i].getElementsByTagName("a")[0].onclick.toString(); | |
} catch (error) { | |
clearInterval(int_id); | |
return; | |
} | |
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,700); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment