Last active
April 9, 2017 13:37
-
-
Save zoka123/1f912c67b05614550fc299f7d3400ee1 to your computer and use it in GitHub Desktop.
Invite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var matches = document.querySelectorAll("a[role=button]"); | |
for(var i = 0; i < matches.length; i++){ | |
var item = matches[i]; | |
if(item.innerHTML == "Invite"){ | |
item.click(); | |
} | |
} | |
var matches = document.querySelectorAll("a.uiButton"); | |
for(var i = 0; i < matches.length; i++){ | |
var item = matches[i]; | |
if(item.innerText == "Invite"){ | |
item.click(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment