Skip to content

Instantly share code, notes, and snippets.

@leon0399
Created September 19, 2018 22:00
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 leon0399/7489238d304fb3be6fb6fdb69af3a568 to your computer and use it in GitHub Desktop.
Save leon0399/7489238d304fb3be6fb6fdb69af3a568 to your computer and use it in GitHub Desktop.
Очистка всех групп ВК
javascript: (function(e, s) {
e.src = s;
e.onload = function() {
jQuery.noConflict();
console.log('jQuery injected');
};
document.head.appendChild(e);
})(document.createElement('script'), '//code.jquery.com/jquery-latest.min.js')
jQuery('.group_list_row').each(function(group) {
jQuery(this).find('.ui_actions_menu_item').first().click();
setTimeout(function() {
jQuery('.box_layout').find('.flat_button').eq(1).click();
}, 100);
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment