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

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:
    246
    Likes Received:
    38
    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:
    246
    Likes Received:
    38
    537..
     
  3. zai21

    zai21 Regular Member

    Joined:
    Jan 5, 2009
    Messages:
    246
    Likes Received:
    38
    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,759
    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.