Skip to content

Instantly share code, notes, and snippets.

@nbriz
Created June 30, 2014 06:06
Show Gist options
  • Save nbriz/985fa69573b3e684e862 to your computer and use it in GitHub Desktop.
Save nbriz/985fa69573b3e684e862 to your computer and use it in GitHub Desktop.
leaveGroup.js
$('span').each(function( i ) {
if( $(this).html() == 'Leave Group'){
$(this).click();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment