Created
December 4, 2019 06:34
-
-
Save ivanmem/735dd8ecec168b5c77b462763e93fdc7 to your computer and use it in GitHub Desktop.
This file contains 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
const b = document.getElementsByClassName("nim-dialog--close _im_dialog_close"); | |
for(let _b of b) { | |
_b.click() | |
} | |
const fTemp = document.getElementsByClassName("flat_button"); | |
const f = []; | |
for(_f of fTemp) { | |
if(_f.innerHTML !="Удалить" && _f.innerHTML !="Выйти из беседы") { | |
console.log(_f) | |
} else { | |
f.push(_f) | |
} | |
} | |
let ml = 350; | |
for(let _b of f) { | |
setTimeout( () => { _b.click() }, | |
ml | |
); | |
ml+=350; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment