Skip to content

Instantly share code, notes, and snippets.

@M1ke
Last active March 7, 2018 23:22
Show Gist options
  • Save M1ke/5541224 to your computer and use it in GitHub Desktop.
Save M1ke/5541224 to your computer and use it in GitHub Desktop.
Want to turn off Retweets from all users you're following without clicking each time? This script sorts that, using a timer to avoid your requests being blocked and returning a 403. Scroll to the bottom of your Following list, paste it into Chrome's console (Firefox should work too) and hit enter. It turns off 3 per minute (you could reduce the …
var interval=setInterval(function(){
$('.user-actions.including .retweet-off-text').last().click();
if ($('.user-actions.including .retweet-off-text').length<1) {
clearInterval(interval);
}
},20000);
@derekeder
Copy link

@gusost's script worked for me in Firefox on ~1,200 following

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