Last active
July 2, 2021 22:41
-
-
Save carchrae/e44403aa0995c1aa23b8f27347db050e to your computer and use it in GitHub Desktop.
This file contains 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
// 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); |
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
heavily inspired by https://www.eviltester.com/blog/eviltester/2019/11/25-automating-twitter-interests/