If you’re anything like me, you may have the odd group on facebook that you have created or are an admin of. When a group/page first starts off you need to invite most of friends in order for it to start building. What a pain in the arse it can be selecting all of your friends manually – especially when you have more than 100. I found an easy way that allows you to invite all of your friends to any fan page or group. All you have to do is go to the page in question, and press ‘Suggest to friends’. Once you have done that, a box will pop up with all of your contacts in, paste the following code into the address bar of your browser
javascript:elms=document.getElementById(‘friends’).getElementsByTagName(‘li’);for(var fid in elms){if(typeof elms[fid] === ‘object’){fs.click(elms[fid]);}}
Once you have pasted that in, press enter. It might take a ffew minutes (depending on how many contacts you have) and it may appear that your browser has crashed, just be patient 0 wait a few more minutes and the box will appear with all of your friends selected.
its as easy as that.







