[Working] Select all friends JS code.

Inception_AC

Elite Member
Joined
Feb 16, 2011
Messages
2,100
Reaction score
1,652
Alot of people have been asking for this, so here it is

Code:
javascript:var x=document.getElementsByTagName("input");for(var i=0;i<x.length;i++) {if (x[i].type == 'checkbox') {x[i].click();}}; alert('Done, all your friends have been selected');

Dont forget you may have to type the javascript:

part out as alot of browsers now do not allow javascript to be posted in the address bar.

Enjoy!
 
did work for me yesterday in chrome, but doesnt work anymore
can anyone confirm?
 
it works fine Ive just used it. remember when you paste it into chrome you have to type javascript: at the start because chrome takes the javascript part away
 
The best solution I've found (from Chrome) is a plugin in chrome web store.

can't post links, so search: Facebook Super Select All

It adds a button to Select All, like it was never gone
It has a feature to limit the selections by number.

Pretty neat for me, lemme know if it helped...
 
I using on latest Firefox this method:

Opetn event, lets facebook load all freinds.

press ctrl+shft+K
and tupe:

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

that is that :)
 
It works fine with Opera 11.52, just you need to scroll down to load all friends, and then paste the code in to the adress bar.
 
CHROME USERS - scroll to my last post (up).

Forgot to mention - you DON'T need to scroll your friends to select'em all.
Pretty useful if you have 1000+ friends...
 
It will really send for example 500 invites or just select and send only some of them?
 
just checked this on FF. it is working
 
Back
Top