1. Just open the box or window containing the list of friends where you will select. Then,
2. Copy this code.
3. Paste it on your address bar (where you type the website). Remove the current website on the address bar if necessary, but don't press enter. Pressing enter drives away the page where you're going to select all your friends.
Click here for the easy-peasy tutorial.