Tuesday, March 15, 2011

Trick to select all friends in facebook


Here is how to do it:
1: Go to your Event, Group or page and click “Invite People”
2: Once the page has loaded you should see all of your friends, but they are not selected
3: In the box where all your friends pictures are, right click on the word “All” in the upper right corner of the box 4: and click on “Open Link in New Window or tab”.
6: At this point, copy and paste the javascript code below into your Web browser’s address bar, then hit “Enter”

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


If that first method doesn’t work for you give this a try:
Do exactly the same as above
Then paste this into the adressbar → javascript: fs.select_all()

No comments: