Skip to content

Instantly share code, notes, and snippets.

@heptal heptal/hax.js
Created Apr 11, 2019

Embed
What would you like to do?
(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
You can’t perform that action at this time.