If you’ve ever had to send out an event invite on Facebook you may have noticed that there is no easy way to invite ALL your friends.
But with this bit of code, you can do just that.
javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
1. Go to the event page.
2. Press ‘Select guests to invite’
3. When the invite friends popup appears, paste the above code into your browser URL.
4. Voila! All friends are now invited!
5. Press send.

Features
Fri, Oct 22, 2010