Created
January 13, 2022 18:18
-
-
Save technorav3nn/018a31c6766cb0ae50bd70f0a446dbde to your computer and use it in GitHub Desktop.
Troll a google meet lol
This file contains hidden or 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
async function trollTheMeetWithBg(time) { | |
const elements = document.querySelector("#ow3 > div.T4LgNb > div > div:nth-child(9) > div.crqnQb > div.R3Gmyc.qwU8Me > div.WUFI9b > div.hWX4r > div > div.EjlKqc.ooUm9d > div.s9LVGd > div > div:nth-child(2)") | |
const allElements = elements.children | |
for (const el of allElements) { | |
if (el instanceof HTMLDivElement) { | |
console.log('ok') | |
const first = el.firstChild | |
const second = first.firstChild | |
second.firstChild.click() | |
await new Promise(r => setTimeout(r, time)); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment