How to bulk remove Twitter users you are following

The following steps show how to bulk remove users you are following on Twitter.

The process involves running a custom script in the browser debug console. It may work in other browsers, but is recommended to use Google Chrome.

The script will go through each user and click the ‘unfollow’ button. It may need to be ran multiple times to completely clear the users people are following.

  1. Open Google Chrome
  2. Go to https://twitter.com/following and ensure you are logged in.
  3. Press F12 on your keyboard – this opens the browsers debug console
  4. Open the ‘Console’ tab
  5. Copy the following script
  6. In the bottom of the debug console, next to the blue arrow, paste it in
  7. Press enter the run the script
  8. Note – you may need to refresh the page and run the script again, several times, to completely clear your list.

 

setInterval(
    function() {
        t = $( '.Grid .Grid--withGutter' ).find( '.following .user-actions-follow-button' ); // get unfollow buttons
        for ( i = 0; true; i++ ) { // count removed
            if ( i >= t.length ) { // if removed all currently available
                window.scrollTo( 0, $( document ).height() ); // scroll to bottom of page - loads more
                return
            }
            $( t[i] ).trigger( 'click' ).remove(); // click 'unfollow' and remove button from dom
        }
    }, 2000
)
Tags:

Was this article helpful?

Related Articles