Skip to content

Instantly share code, notes, and snippets.

@peterdemin
Created August 17, 2013 12:25
Show Gist options
  • Save peterdemin/6256674 to your computer and use it in GitHub Desktop.
Save peterdemin/6256674 to your computer and use it in GitHub Desktop.
Web browser console command to unfollow everyone on https://twitter.com/following page by issuing onclick() on all "Unfollow" buttons.
$('button span.unfollow-text').parent().each(function(i, a) {a.click();})
@Wilfredforever
Copy link

Uncaught TypeError: Cannot read property 'parent' of null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment