Last active
October 3, 2016 13:36
-
-
Save actuallymentor/8b06e45bd6f724c8aa9132111927e0bd to your computer and use it in GitHub Desktop.
Prevent Angellist from inviting Linkedin/Gmail/Facebook contacts not on Angellist
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
/* | |
NOTE: Made on Sept 20 2016, it might be that the site was edited since them | |
The below jQuery snippet will deselect any contacts you import from Linkedin | |
Usage: when prompted with the list of users to invite, run this in the console, it will deselect users not in Angellist | |
Much love from Amsterdam | |
@actuallymentor | |
*/ | |
// This will grab the friends not yet on Angellist | |
var notAngels = $( '.friend.selected .bio:contains("Invite")' ).closest( '.friend' ) | |
// This will trigger a click on the items of friends not on Angellist | |
for (var i = 0; i < notAngels.length; i++) { | |
$( notAngels[i] ).trigger( 'click' ) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment