15
Sep
2011
How to invite all friends to facebook event
Selecting all friends and invite them to an event on facebook may be a very frustrating experience but here’s a little snippet to make life easier:
Step 1: Select invite friends and scroll all the way down.
Step 2: Type this script instead of the URL in your browser:
javascript:elms=document.getElementsByName('checkableitems[]');dn=0;ds=0;ac=0;for(var fid in elms){if(typeof elms[fid] === 'object'){if (elms[fid].disabled == true){ds++;} else {if (elms[fid].checked == true){ac++;} else {elms[fid].click();dn++;}}}};
You might want to use this code instead:
javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms[i].type="checkbox" )elms[i].click()};
If using Chrome make sure to include “javascript:” as when pasting the code it removes it automatically.
Use at your own risk, with caution and respect.
No Responses to “How to invite all friends to facebook event”

