Skip to content

Instantly share code, notes, and snippets.

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 actuallymentor/8b06e45bd6f724c8aa9132111927e0bd to your computer and use it in GitHub Desktop.
Save actuallymentor/8b06e45bd6f724c8aa9132111927e0bd to your computer and use it in GitHub Desktop.
Prevent Angellist from inviting Linkedin/Gmail/Facebook contacts not on Angellist
/*
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