Last active
November 9, 2024 17:41
-
-
Save eviltester/11093f0e4c501a41990e227393184eda to your computer and use it in GitHub Desktop.
uncheck twitter interests
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
var timer=100;document.querySelectorAll("div > input[type='checkbox']:checked").forEach((interest) => {setTimeout(function(){interest.click()},timer);timer+=2000;}); |
I used the code @jcambien wrote and it worked as expected, though the rate limiter was triggered after a while. Nevertheless, I waited a few minutes and reran the script, then all checkboxes were unchecked.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you have a lot of checked interests, X will start to ignore your requests and return a 503 HTTP error if you uncheck them too fast.
Here is a script that uncheck interests every 2 seconds, just launch it and wait until the counter has reached the end.