Check out the Pastebin Gadgets Shop. We have thousands of fun, geeky & affordable gadgets on sale :-)Want more features on Pastebin? Sign Up, it's FREE!

Invite all friends to event

By: a guest on Jul 31st, 2011  |  syntax: None  |  size: 0.53 KB  |  views: 4,811  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. javascript:var x=document.getElementsByTagName("input");for(var i=0;i<x.length;i++) {if (x[i].type == 'checkbox') {x[i].click();}}; alert('Done, all your friends have been selected');
  3. In order to use this code, copy and paste it in the address bar of your browser after you have opened the “invite your friends” dialog and AFTER YOU HAVE SCROLLED DOWN THE LIST.
  4. Important
  6.  note: as said, you HAVE to scroll down your friends list in order to invite all your friends: in fact the new interface only loads via AJAX some friends at a time.
clone this paste RAW Paste Data