Skip to content

Instantly share code, notes, and snippets.

@phoenixperry
Created May 31, 2014 17:21
Show Gist options
  • Save phoenixperry/85ae84b95924fb877215 to your computer and use it in GitHub Desktop.
Save phoenixperry/85ae84b95924fb877215 to your computer and use it in GitHub Desktop.
Invite all Facebook
var inputs = document.getElementsByTagName('input');
for(var i=0; i < inputs.length; i++) {
if(inputs[i].type == 'checkbox') {
if(inputs[i].disabled == false){inputs[i].click()};
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment