Wednesday, June 15, 2011

Facebook select all/invite all code 2011 updated

Recently Facebook has changed their codes of invitation page and any of old one click invite codes will not work anymore.:( But here is a new code for select all facebook friends by just one click Just copy one of the following code and paste it in to address bar then hit enter.

 javascript:elms=document.getElementsByName('checkableitems[]');dn=0;ds=0;ac=0;for(var fid in elms){if(typeof elms[fid] === 'object'){if (elms[fid].disabled == true){ds++;} else {if (elms[fid].checked == true){ac++;} else {elms[fid].click();dn++;}}}};

or

javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms[i].type="checkbox" )elms[i].click()};

No comments:

Post a Comment