Skip to content

Instantly share code, notes, and snippets.

@GeorgeHahn
Created August 2, 2016 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GeorgeHahn/c2b997cf17ca3cb53a5efd62e98dfc40 to your computer and use it in GitHub Desktop.
Save GeorgeHahn/c2b997cf17ca3cb53a5efd62e98dfc40 to your computer and use it in GitHub Desktop.
// AngelList import tool
// Only selects connections who are already on AngelList
// First, select none
var friends = document.getElementsByClassName("friend");
for(let f of friends){
var bio = f.getElementsByClassName("bio")[0];
if(bio.textContent.indexOf("Invite") !== -1)
{
// This person isn't on AngelList
} else {
// This person is on AngelList
f.click();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment