Skip to content

Instantly share code, notes, and snippets.

@mikatalk
Created November 12, 2015 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikatalk/7e722cc2d338f16aaa4e to your computer and use it in GitHub Desktop.
Save mikatalk/7e722cc2d338f16aaa4e to your computer and use it in GitHub Desktop.
Unfollow non-followers
$('.ProfileCard.js-actionable-user').each( function(index){
if ( !$( this ).find('.FollowStatus').length ) {
$( this ).find('.user-actions-follow-button.js-follow-btn.follow-button').click();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment