Skip to content

Instantly share code, notes, and snippets.

@palkx
Created July 23, 2017 05:45
Show Gist options
  • Save palkx/0a40c1db7b3c4d483c2c02010e4e1d90 to your computer and use it in GitHub Desktop.
Save palkx/0a40c1db7b3c4d483c2c02010e4e1d90 to your computer and use it in GitHub Desktop.

Copy this script and insert in console

var nodes = document.querySelectorAll(".ui_actions_menu_item"), i = 0, inter = setInterval( function() { if (i == nodes.length) { clearInterval(inter);}; if (nodes[i].innerHTML === "Delete post" || nodes[i] === "Удалить запись") nodes[i].click(); i++; }, 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment