Posted By

goatboy91587 on 07/31/11



Versions (?)

Mass Friend Event and Fan Page Invite for Facebook

 / Published in: JavaScript


Copy and paste this code into the URL box and press enter. You will see it happen in realtime. Make sure all of your friends are loaded first, as Facebook uses lazy loading! To learn more, visit my blog post on it at

  1. javascript:elms=document.getElementsByName("checkableitems[]");currentFriendClick=0;friendClickTotal=elms.length;friendClickInterval = setInterval("clickCurrentFriend()", 15);
  2. function clickCurrentFriend()
  3. {
  4. if(elms[currentFriendClick].type="checkbox") elms[currentFriendClick].click();
  5. currentFriendClick++;
  6. if(currentFriendClick >= friendClickTotal) clearInterval(friendClickInterval);
  7. }

Report this snippet  

You need to login to post a comment.