1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'FaceBook' started by pole88, Jul 5, 2011.

  1. pole88

    pole88 Newbie

    Joined:
    Jul 14, 2009
    Messages:
    27
    Likes Received:
    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: Jul 5, 2011
  2. SahL

    SahL Elite Member

    Joined:
    Jan 8, 2011
    Messages:
    1,594
    Likes Received:
    1,296
    Occupation:
    ★SEO expert and ★Sexpert
    Location:
    Bombay
    Home Page:
    Nah Not possible , fb has become alot more strict on using javascripts.
     
  3. hustleup

    hustleup Regular Member

    Joined:
    Apr 18, 2010
    Messages:
    227
    Likes Received:
    33
    wtf facebook is fuckin up
     
  4. MattChicago

    MattChicago Newbie

    Joined:
    Jul 17, 2011
    Messages:
    5
    Likes Received:
    0
    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)}
    
     
  5. noobman

    noobman Regular Member

    Joined:
    May 14, 2010
    Messages:
    215
    Likes Received:
    30
    Gender:
    Male
    Occupation:
    Growth Hacker/Developer
    Home Page:
    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.
     
  6. MattChicago

    MattChicago Newbie

    Joined:
    Jul 17, 2011
    Messages:
    5
    Likes Received:
    0
    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);}
     
  7. YoutubeDude

    YoutubeDude Junior Member

    Joined:
    Jun 20, 2012
    Messages:
    177
    Likes Received:
    56
    Location:
    Videoland
    ^^^^^^^^^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.
     
  8. MattChicago

    MattChicago Newbie

    Joined:
    Jul 17, 2011
    Messages:
    5
    Likes Received:
    0
    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.