How to suggest all you friends to your Page?

Discussion in 'FaceBook' started by zai21, Jan 10, 2010.

  1. zai21

    zai21 Regular Member

    Joined:
    Jan 5, 2009
    Messages:
    275
    Likes Received:
    43
    I remember this was the code but it doesn't work anymore..

    Code:
    javascript:elms=document.getElementById(?friends?) .getElementsByTagName(?li?);for(var fid in elms){if(typeof elms[fid] ===?object?){fs.click(elms[fid]);}}
     
  2. zai21

    zai21 Regular Member

    Joined:
    Jan 5, 2009
    Messages:
    275
    Likes Received:
    43
    537..
     
  3. zai21

    zai21 Regular Member

    Joined:
    Jan 5, 2009
    Messages:
    275
    Likes Received:
    43
    I just got it to work, i guess the code was messed up, but im not sure.

    Code:
    javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
     
  4. mrxinbollywood

    mrxinbollywood Elite Member

    Joined:
    Sep 15, 2008
    Messages:
    1,738
    Likes Received:
    2,761
    Location:
    100 feet under symetry
    This is the code which i use in firefox, working fine for me to select all friends at a once.

    This is also working in IE7 also, but the problem is in IE7 in a page only 9 friends shown.
     
    • Thanks Thanks x 2
  5. thachcaodotcom

    thachcaodotcom Junior Member

    Joined:
    Oct 21, 2009
    Messages:
    121
    Likes Received:
    151
    i use greasemonkey with facebook invites script. it's really working well.