Skip to content

Instantly share code, notes, and snippets.

@nbriz
Created June 30, 2014 06:06
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save nbriz/618d0c8e60154ec1c3bc to your computer and use it in GitHub Desktop.
leaveGroupConfirm.js
$('button').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