Skip to content

Instantly share code, notes, and snippets.

@ovo
Last active January 31, 2020 00:41
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 ovo/54c0f37a029e4be05edc5621cc296d0e to your computer and use it in GitHub Desktop.
Save ovo/54c0f37a029e4be05edc5621cc296d0e to your computer and use it in GitHub Desktop.
/* https://www.reddit.com/subreddits/mine/ */
const delay = 350; // Lowest delay without ban
const els = Array.from(document.getElementsByClassName('option active remove login-required'));
els.forEach((el, i) => {
setTimeout(() => {
el.click();
}, i * delay);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment