Skip to content

Instantly share code, notes, and snippets.

@palkx
Last active November 19, 2018 22:41
Show Gist options
  • Save palkx/0fdd0902a007abcf684f5f4cf504f240 to your computer and use it in GitHub Desktop.
Save palkx/0fdd0902a007abcf684f5f4cf504f240 to your computer and use it in GitHub Desktop.
Remove all audio on vk

Load all audio on page, then open developer console (ctrl+shift+i) and insert this code:

var nodes = document.querySelectorAll("._audio_act_delete"), i = 0, inter = setInterval( function() { if (i == nodes.length) { clearInterval(inter);}; var evObj = new Event('click'); nodes[i].dispatchEvent(evObj); i++; }, 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment