Return to Snippet

Revision: 49852
at July 31, 2011 06:57 by goatboy91587


Initial Code
javascript:elms=document.getElementsByName("checkableitems[]");currentFriendClick=0;friendClickTotal=elms.length;friendClickInterval = setInterval("clickCurrentFriend()", 15);
function clickCurrentFriend()
{
if(elms[currentFriendClick].type="checkbox") elms[currentFriendClick].click();
currentFriendClick++;
if(currentFriendClick >= friendClickTotal) clearInterval(friendClickInterval);
}

Initial URL
http://www.brettwidmann.com

Initial Description
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

Initial Title
Mass Friend Event and Fan Page Invite for Facebook

Initial Tags
facebook

Initial Language
JavaScript