Bored with selecting friends manually to send invites to pages and other? Here is a nice script that can select all your friends in facebook in one click. When I went to invite to, “ashout like box” I need to select all the friends manually to send invites. Selecting manually 150+ friends is really a boring, hard and time-consuming task. What I did is just searched to see anyone can help in selecting friends in one click, luckily I found one facebook hack or facebook trick to do that!.

By using this JavaScript you’re able to select all your facebook friends in one click. For better understanding it acts like a “Select All” option in facebook. I don’t know why facebook not added that feature in facebook. I think may be because of keeping interest of other facebook users too!.

Using this Script:

It is really easy to use this script, what you need to do is just open your friends list in facebook and then copy below JavaScript   and paste it on your browser address bar that’s it. Now just wait for a fraction of second you will see magic in your eyes!. It selects all your friends as soon as you press enter button through keyboard by pasting it (javascript) to browser address bar.

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

To see how it works, just go to your page and select “Suggest to Friends” option. As soon as you click that option you will get pop up window containing your friend list. Now copy and paste that javascript to your browser address bar now and click enter. Now that javascript will automatically select all your friends without selecting manually. Click “Send Invitations” to send invites to all selected friends.

Suggestion: Ashot is on Facebook

Here we made a video guide   to show how to use this javascript.


Hope that, this javascript will help you.. Share your opinion about this srcipt. Have already tried this script? Whether it really helps you or not? Share with us.

Thanks to plumbo for sharing nice script with us.