Skip to content

Instantly share code, notes, and snippets.

@cairey
Created February 7, 2016 10:47

Revisions

  1. cairey created this gist Feb 7, 2016.
    5 changes: 5 additions & 0 deletions unfollow.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    /* Scroll to the bottom of https://twitter.com/following
    Open the Console and run the following
    */

    $('.ProfileCard-content').each(function(){var status = $(this).find('.FollowStatus').text();var unfollowButton = $(this).find('.user-actions-follow-button');if(status != 'follows you'){unfollowButton.click();}});