Javascript to invite all your facebook friends to an event

Javascript to invite all your facebook friends to an event

1) Use Firefox.
2) Go to the event page.
3) Click on the Invite Friends Button:

4) In the box with your friends’ names and photos, scroll ALL THE WAY to the BOTTOM of your friends list — until you can’t go any further.

5) Then, in your firefox browser menu, click “Tools”. Then click “Web Developer”. Then click “Web Console”

Javascript to invite all your facebook friends to an event

6) Copy and paste this code into the Web Console that appears, and click enter.

javascript:function check_all_in_document(doc){var c=new Array();c=doc.getElementsByTagName(‘input’);for(var i=0;i<c.length;i++){if(c[i].type==’checkbox’){c[i].click();}}}check_all_in_document(window.document);for(var j=0;j<window.frames.length;j++){check_all_in_document(window.frames[j].document);}

After a few minutes all your friends should be selected. It should look like this:

Leave a Reply

Your email address will not be published. Required fields are marked *