Tested. Works 100%
PHP Code:javascript:
var _f = document.getElementsByName("checkableitems[]");
for (_i=0; _i<_f.length; _i++) {
try { _f[_i].click() }
catch (e) { console.dir(e); }
}
Tested. Works 100%
PHP Code:javascript:
var _f = document.getElementsByName("checkableitems[]");
for (_i=0; _i<_f.length; _i++) {
try { _f[_i].click() }
catch (e) { console.dir(e); }
}
carryorchid (06-16-2011), sk-high (06-16-2011)
thanks so much buddy for this share will be very help full
do I just need to copy & paste it to my URL bar?
your version hasn't worked for me (maybe because of spaces in the javascript code), so I found the better one, that works 100% too:
Code:javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms[i].type="checkbox" )elms[i].click()};
carryorchid (06-16-2011)
Nice share guys. Thanks !
how does it work?
answer os not anyone work lol
Cool share! Thanks dude!
Using Chrome....
The first script worked but only selected 100 friends
The second script did not for me at all. Not saying the script doesn't work, just not for me in Chrome.
I found another script which did work in Chrome and selected all my friends.
For the people who think this might be useful but don't know how to use this, I will explain.Code:javascript:javascript:var elms=document.getElementsByName("checkableitems[]");for(var count=0;count<elms.length;count++){var t = setTimeout("elms["+count+"].click()",5000)}
When trying to invite all your FB friends to an event you are posting on FB (a great way to get your posts on their walls), you have to select your friends from a list. When you get to the stage where you have to select friends from the list, just paste one of these scripts in the address bar of your browser and hit ENTER. When the script runs properly, it will select all of the friends on your account. Then you can send out the invitation to everyone and take advantage of the event by posting updates on everyone's wall.
(I didn't know all this 20 minutes ago)
I have a code can use how much u want bt if u use for all friend its will hanged browser i turned it in parts bt work 100%
The code works perfectly but den again facebook put another bullet
getting the following msg after inviting wid a couple of accounts
Please narrow your invite list to friends who are most likely to be interested in this event.
Bookmarks