Last active
August 29, 2015 14:03
-
-
Save peterdemartini/62e68b54d2307766fd77 to your computer and use it in GitHub Desktop.
Unfollow and Follow Twitter Users. Simply load a page of twitter followers and type this into the console.
This file contains hidden or 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
$('.user-actions-follow-button').filter(function(){ return $(this).find('.follow-text:visible').size(); }).sort(function() { | |
return .5 - Math.random(); | |
}).slice(0, 1000).click(); |
This file contains hidden or 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
$('.user-actions-follow-button').filter(function(){ return $(this).find('.following-text:visible').size(); }).click(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment