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

[Working] Select all friends JS code.

Discussion in 'FaceBook' started by Inception_AC, Oct 12, 2011.

  1. Inception_AC

    Inception_AC Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Feb 16, 2011
    Messages:
    1,620
    Likes Received:
    1,131
    Alot of people have been asking for this, so here it is

    Code:
    javascript:var x=document.getElementsByTagName("input");for(var i=0;i<x.length;i++) {if (x[i].type == 'checkbox') {x[i].click();}}; alert('Done, all your friends have been selected');
    Dont forget you may have to type the javascript:

    part out as alot of browsers now do not allow javascript to be posted in the address bar.

    Enjoy!
     
    • Thanks Thanks x 2
  2. Christos

    Christos Registered Member

    Joined:
    Oct 6, 2011
    Messages:
    52
    Likes Received:
    5
    Thanks works in safari!
     
  3. hyronimus

    hyronimus Registered Member

    Joined:
    Nov 4, 2009
    Messages:
    95
    Likes Received:
    5
    Location:
    DUBAI - UAE
    did work for me yesterday in chrome, but doesnt work anymore
    can anyone confirm?
     
  4. john.wang.lee

    john.wang.lee Registered Member

    Joined:
    Jan 29, 2010
    Messages:
    67
    Likes Received:
    14
    Works for me. But I had to type in "javascript:" by hand cause it didnt get paste in chrome...
     
  5. Kryptonite101

    Kryptonite101 Junior Member

    Joined:
    Jun 13, 2010
    Messages:
    165
    Likes Received:
    9
    Didn't work for me
     
  6. Inception_AC

    Inception_AC Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Feb 16, 2011
    Messages:
    1,620
    Likes Received:
    1,131
    it works fine Ive just used it. remember when you paste it into chrome you have to type javascript: at the start because chrome takes the javascript part away
     
    • Thanks Thanks x 1
  7. Kryptonite101

    Kryptonite101 Junior Member

    Joined:
    Jun 13, 2010
    Messages:
    165
    Likes Received:
    9
    Thanks Worked !
     
  8. dev_masta

    dev_masta Registered Member

    Joined:
    Oct 17, 2011
    Messages:
    65
    Likes Received:
    14
    Location:
    GMT +1
    The best solution I've found (from Chrome) is a plugin in chrome web store.

    can't post links, so search: Facebook Super Select All

    It adds a button to Select All, like it was never gone
    It has a feature to limit the selections by number.

    Pretty neat for me, lemme know if it helped...
     
  9. wizzardz01

    wizzardz01 Power Member

    Joined:
    Jan 7, 2010
    Messages:
    572
    Likes Received:
    337
    Occupation:
    Digital Marketing Director
    Location:
    Bosnia and Herzegovina
    I using on latest Firefox this method:

    Opetn event, lets facebook load all freinds.

    press ctrl+shft+K
    and tupe:

    elms=document.getElementById('pop_content').getElementsByTagName('li'); for(var fid in elms){if(typeof elms[fid] === 'object'){elms[fid].click();}}

    that is that :)
     
  10. Big_0n3

    Big_0n3 Senior Member

    Joined:
    Dec 2, 2009
    Messages:
    1,109
    Likes Received:
    85
    Thank you. I was looking for something like thi
     
  11. andrejuseu

    andrejuseu Newbie

    Joined:
    Oct 9, 2011
    Messages:
    13
    Likes Received:
    2
    It works fine with Opera 11.52, just you need to scroll down to load all friends, and then paste the code in to the adress bar.
     
  12. dev_masta

    dev_masta Registered Member

    Joined:
    Oct 17, 2011
    Messages:
    65
    Likes Received:
    14
    Location:
    GMT +1
    CHROME USERS - scroll to my last post (up).

    Forgot to mention - you DON'T need to scroll your friends to select'em all.
    Pretty useful if you have 1000+ friends...
     
  13. wriper

    wriper Senior Member

    Joined:
    Jul 31, 2011
    Messages:
    1,188
    Likes Received:
    311
    It will really send for example 500 invites or just select and send only some of them?
     
  14. linkr

    linkr Newbie

    Joined:
    Feb 18, 2010
    Messages:
    15
    Likes Received:
    4
    Not working for me in FF :/
     
  15. makingfastcash22

    makingfastcash22 Senior Member

    Joined:
    Feb 15, 2009
    Messages:
    1,152
    Likes Received:
    178
    Home Page:
    Can this be used to send a message to all friends?
     
  16. Inception_AC

    Inception_AC Jr. Executive VIP Jr. VIP Premium Member

    Joined:
    Feb 16, 2011
    Messages:
    1,620
    Likes Received:
    1,131
    just checked this on FF. it is working