Skip to content

Instantly share code, notes, and snippets.

@shariq
Created May 27, 2021 19:27
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 shariq/e44788d0a71707073d0797f6b94cfd77 to your computer and use it in GitHub Desktop.
Save shariq/e44788d0a71707073d0797f6b94cfd77 to your computer and use it in GitHub Desktop.
Twitter mass unfollow
// go to your "following" tab
// run the following in your console
function unfollow() {
document.querySelector('div[data-testid$="unfollow"]').click();
document.querySelector('div[data-testid$="confirmationSheetConfirm"]').click();
}
setInterval(unfollow, 500);
// then keep scrolling down, unfollowing everyone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment