Skip to content

Instantly share code, notes, and snippets.

@carchrae
Last active July 2, 2021 22:41
Show Gist options
  • Save carchrae/e44403aa0995c1aa23b8f27347db050e to your computer and use it in GitHub Desktop.
Save carchrae/e44403aa0995c1aa23b8f27347db050e to your computer and use it in GitHub Desktop.
// go to https://twitter.com/settings/your_twitter_data/twitter_interests
// paste into dev tools console
const checks= [...document.querySelectorAll("div > input[type='checkbox']:checked")];
function queueNext(limit){ setTimeout(()=>{ checks.shift().click(); queueNext(limit+=1000); }, limit); }
queueNext(10000);
@carchrae
Copy link
Author

carchrae commented Jul 2, 2021

if it seems to be getting too slow and there are no errors, throw another queueNext(1000) in there - you don't need to reload the page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment