Skip to content

Instantly share code, notes, and snippets.

@groupsky
Created November 14, 2012 07:53
Show Gist options
  • Save groupsky/4070884 to your computer and use it in GitHub Desktop.
Save groupsky/4070884 to your computer and use it in GitHub Desktop.
Code to invite all friends to a page
javascript:var x=document.getElementsByTagName("input"); for(var i=0;i<x.length;i++) { if (x[i].value == 'Invite') {x[i].click();}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment