Mass Friend Event and Fan Page Invite for Facebook


/ Published in: JavaScript
Save to your folder(s)

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 http://www.brettwidmann.com/2011/07/mass-invite-friends-facebook


Copy this code and paste it in your HTML
  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. }

URL: http://www.brettwidmann.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.