Skip to content

Instantly share code, notes, and snippets.

@ironmaniiith
Last active February 14, 2016 05:52
Show Gist options
  • Save ironmaniiith/1281f3d3a63014788f5a to your computer and use it in GitHub Desktop.
Save ironmaniiith/1281f3d3a63014788f5a to your computer and use it in GitHub Desktop.
var x = document.getElementsByClassName('uiButton _1sm');
for(var i=0;i<x.length;i++){
if(x[i].innerHTML.indexOf("Invite") > 0){
x[i].click();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment