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

[Get] Code to invite all friends to a event/page

Discussion in 'Social Networking Sites' started by kaushalkanodia, Feb 10, 2014.

  1. kaushalkanodia

    kaushalkanodia Junior Member

    Joined:
    Nov 22, 2012
    Messages:
    134
    Likes Received:
    25
    Occupation:
    student
    Location:
    BlackHatWorld
    Instructions:
    1. Click Invite Friends on whatever you are inviting people to
    2. In the dropdown next to the search box, make sure Search All Friends or "Search by name" is selected!
    3. Scroll ALL the way down until names stop loading (I found it easy to click the first name and then hold down the spacebar or Page Down button)
    4. For EVENTS Copy this code:
    javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms.type="checkbox" )elms.click()}

    For PAGES Copy this code:
    javascript:var inputs = document.getElementsByClassName('uiButton _1sm');
    for(var i=0; i<inputs.length;i++) {
    inputs.click();
    }

    5. Past the code into the URL bar of your browser (where you type website addresses), but WAIT! Check the beginning of the URL bar and make sure the word "javascript:" is there, if it is not, TYPE IT IN! A lot of browsers automatically delete the "javascript:" portion. Press enter.
    6. For large friends list, this may utilize all your resources and will cause the page to freeze and be unresponsive. Just wait a few minutes until all the names get selected.


    Donot forget to say thanks if you find it working!!
     
  2. back2basics

    back2basics Jr. VIP Jr. VIP Premium Member

    Joined:
    Nov 11, 2012
    Messages:
    540
    Likes Received:
    360
  3. l0tterylisa

    l0tterylisa Registered Member

    Joined:
    Dec 10, 2013
    Messages:
    71
    Likes Received:
    3
    Location:
    Internet
    didnt workkkkkkkkkkkkkkkkkk