Created
April 11, 2019 18:12
-
-
Save heptal/4a2884ee239202516d9245a159322a94 to your computer and use it in GitHub Desktop.
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 () => { while (document.querySelectorAll(`[conversation="conversation"]`).length) { | |
for (let sel of [`gv-thread-item>div`, `[aria-label="More options"]`, `[aria-label="Delete"]`, `[aria-label="Delete"]`]) { | |
await (new Promise((resolve) => setTimeout(resolve, 300))); document.querySelector(sel).click() }}})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment