Skip to content

Instantly share code, notes, and snippets.

@botmtl
Forked from mir4a/vk.js
Last active July 8, 2018 06:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save botmtl/7a3dc114a082c12570b63320a2879385 to your computer and use it in GitHub Desktop.
Save botmtl/7a3dc114a082c12570b63320a2879385 to your computer and use it in GitHub Desktop.
Quickly remove all -deactivated - friends from VK
// Run from console on developers tools (chrome dev tools)
// Go to friends page from your profile and open console F12 or alt+cmd+I
Array.from(document.querySelectorAll('[src*="images/deactivated_100"]')).forEach(function(e){
e.parentNode.parentNode.nextElementSibling.querySelector("a[onclick*='delete']").onclick();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment