Mar
15th
Tue
15th
Facebook Invite Friends to Events - Javascript Solution
Here’s a solution to the Facebook updates as of March 2011 to “Invite all your Friends to Events”. Not the best case scenario, but it works.
Keep in mind:
- Scroll to the bottom of your friends list first in the popup window first.
- Put the code below in the address bar of your browser and hit enter/return.
- Click “Save & Close” only once all the checkboxes have been checked.
- It may take Facebook quite a while to send out all invites - patience is required and this only need be done once.
THE CODE:
javascript:elms=document.getElementById(‘pop_content’).getElementsByTagName(‘li’);for(var fid in elms){if(typeof elms[fid] === ‘object’ && elms[fid].childNodes[0] != undefined && elms[fid].childNodes[0].type != undefined && elms[fid].childNodes[0].type == “checkbox”){elms[fid].childNodes[0].click();}}