If you want to sent all your friends suggestion/invite for group or page on Facebook and you don’t want to click at all in your friend list ( in best case you have 500 friends, but what if you have more ). Anyway I have solution for that.
When you click on option “Suggest to friends“, one windows will come up on screen, like this one:

Then you will copy JavaScript code into the your address bar in your browser.
javascript:elms=document.getElementById(‘friends’).getElementsByTagName(‘li’);for(var fid in elms){if(typeof elms[fid] === ‘object’){fs.click(elms[fid]);}}
When you copy this into your address bar just press ENTER and all your friends will be selected.
Happy spam!
EDIT ( 6/28/2010 ): Or you can use this one:
javascript:fs.select_all();
Thanks to plagosus.net for this story. I translated some parts from Serbian. Cheers

Posted in
Tags: 


Hey man, this is cool. Thanks!
this doesnt work. i made a new FB account. Added my old account as a ‘friend’. Using my NEW one, I suggested to ALL friends using your link (this includes suggesting to my old account). I sign in to my old account, and I did not receive a ‘page invite’ from my NEW account. Try it.
This is for group invites… You can't suggest more than 20 friends with this javascript code!