'Select All friends' Javascript for Event Invites !

FaceBuilder

Regular Member
Joined
Mar 27, 2011
Messages
336
Reaction score
43
Here is a javascript to invite all your friends at once on a event !
Just copy and paste this javascript (working on firefox)

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');
 
Doesn't work for me. Firefox, Mac OSX Lion.
 
firefox works but how do you surpass the

'you have selected to many friends, please narrow it' thing
it came to the point where i have to enter a captcha code ... but my friends dont get invited.
 
firefox works but how do you surpass the

'you have selected to many friends, please narrow it' thing
it came to the point where i have to enter a captcha code ... but my friends dont get invited.

Within this string...

Code:
for(var i=0;i<x.length;i++)

Change the 0 to the number of friends you want to select per batch. The variable "i" is the number of friends that you want to be selected at once and as you can see it holds a numerical value. So if you wanted to select 40 friends at a time, change the 0 to 40 (i=40).

It is my understanding that Firefox disabled JavaScript Bookmarklets recently so therefore this code (and others like it) shouldn't work in Firefox. At least it's not working for me in Firefox. Which version(s) of Firefox are you guys using?

You can use Internet Explorer and/or Chrome but you must first paste the string without "javascript:" at the beginning into the URL bar and then manually type it in (once again at the beginning), press enter, and it should work (in IE and/or Chrome that is). You might have to scroll down a bit within your friend list in which you want to invite. At least this has been my experience as of late.
 
it works great money man. How many can you select and have the invite sent to. I know fb had a limit at 40 before right?

I would personally stick with 40 but no more than 50. I have been able to send out 100 invites in the past without a problem though so feel free to test it out. :)
 
Within this string...

Code:
for(var i=0;i<x.length;i++)
Change the 0 to the number of friends you want to select per batch. The variable "i" is the number of friends that you want to be selected at once and as you can see it holds a numerical value. So if you wanted to select 40 friends at a time, change the 0 to 40 (i=40).

It is my understanding that Firefox disabled JavaScript Bookmarklets recently so therefore this code (and others like it) shouldn't work in Firefox. At least it's not working for me in Firefox. Which version(s) of Firefox are you guys using?

You can use Internet Explorer and/or Chrome but you must first paste the string without "javascript:" at the beginning into the URL bar and then manually type it in (once again at the beginning), press enter, and it should work (in IE and/or Chrome that is). You might have to scroll down a bit within your friend list in which you want to invite. At least this has been my experience as of late.

Yeah, same here. I've heard about this crazy thing of Firefox :(
 
Back
Top