Facebook doesn't allow JS on Events for mass inviting!

pole88

Newbie
Joined
Jul 14, 2009
Messages
44
Reaction score
0
I get

Code:
Our systems have detected javascript code in the content you have  submitted.
Code:
Please remove the javascript fragment and retry.
Code:
Javascript  code is not allowed cause it poses a security risk to Facebook users
when i want to paste javascript-code to the event-description.

i wanted to appeal the users to mass invite.

But this isn't possible anymore.

Is somebody here who knows a Workaround ???

Thanks
 
Last edited:
Nah Not possible , fb has become alot more strict on using javascripts.
 
here is the bipass code to select 350 people at the same time (non mass invite but close enough)

Code:
javascript:javascript:var elms=document.getElementsByName("checkableitems[]");for(var count=0;count<elms.length;count++){var t = setTimeout("elms["+count+"].click()",350)}
 
With this Select 350 code.....won't FB just block you with that "Please invite less people..." message anyways? I've found I cannot invite more than 20 at a time on bigger events.
 
Here is a better code you can use the most simple way to use this code using firefox is go to Tools > Developer > Web Console > then paste this code into the line and hit enter.

You must have the invite friends box open and all people are loaded before you add this code then once that is done it will select all friends in your invite friends to event box and then click submit and your done.


Code:
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);}
 
^^^^^^^^^I dont think you understand what he means

and to the op this happened ages ago.you can no longer post a javascript code in the event info.

the best way to do it is to create a link with the javascript embedded into it.

that will automatically activate when clicked on.
 
ah yes sorry my bad. I did not read that totally but you can post it as a comment in the event page actually post a comment and put it as a reply it will then do it.
 
Back
Top