Created
August 2, 2016 19:13
-
-
Save GeorgeHahn/c2b997cf17ca3cb53a5efd62e98dfc40 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// 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