PDA

View Full Version : Script to invite all your friends to a group



GoldenMerc
13-03-2013, 01:51 PM
Does anyone know the script to invite all your friends to a fb group?
+rep for help
Ross

Luke
13-03-2013, 03:05 PM
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');

This?

GoldenMerc
13-03-2013, 03:09 PM
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');

This?
Can you do a brief tut on how to use it?

Tom
14-03-2013, 09:38 AM
Can you do a brief tut on how to use it?

If I'm correct in thinking this, you should just be able to open the invite friends box and then paste the code into your URL bar (or bookmark the script and click the bookmark). I could be wrong.

GoldenMerc
14-03-2013, 09:42 AM
If I'm correct in thinking this, you should just be able to open the invite friends box and then paste the code into your URL bar (or bookmark the script and click the bookmark). I could be wrong.

Yeh I tried that didn't work in FF or chrome :(

Tom
14-03-2013, 09:48 AM
Yeh I tried that didn't work in FF or chrome :(

Try this:


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

GoldenMerc
14-03-2013, 09:52 AM
Try this:


javascript:elms=document.getElementById('all_frien ds').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
Doesn't work ether :(

Tom
14-03-2013, 09:57 AM
Doesn't work ether :(

Not much I can do to help on my phone! Try googling for now I guess. :P

Luke
14-03-2013, 10:40 AM
What I posted does work - go on the invite your friends box on Facebook, then copy and paste my code. Sometimes for security it gets rid of the 'JavaScript:' bit, so you may have to type that manually

GoldenMerc
14-03-2013, 11:23 AM
What I posted does work - go on the invite your friends box on Facebook, then copy and paste my code. Sometimes for security it gets rid of the 'JavaScript:' bit, so you may have to type that manually

http://img5.imageshack.us/img5/306/20130314112251.png
Doesnt work :( i clicked entered and nothing happened

Luke
14-03-2013, 11:39 AM
Very strange.. worked for me :S


http://www.youtube.com/watch?v=DBTxIgjZmvI

GoldenMerc
14-03-2013, 12:57 PM
Def doesn't work for me, grrr this is angering me :'(

Tom
14-03-2013, 01:53 PM
Sorted for him. Ross is silly!

GoldenMerc
14-03-2013, 01:58 PM
Cheers skynus

scottish
16-03-2013, 02:43 PM
what did you do wrong lol

Recursion
16-03-2013, 05:46 PM
Or don't do it because it's annoying.

GoldenMerc
16-03-2013, 05:50 PM
what did you do wrong lol
Skynus broke it

Or don't do it because it's annoying.

Or don't give your girlfriend god status "because it's annoying."
Couldn't resist.

Sent from Phone

mrwoooooooo
16-03-2013, 07:12 PM
Skynus broke it


Or don't give your girlfriend god status "because it's annoying."
Couldn't resist.

Sent from Phone
so lame

GoldenMerc
16-03-2013, 08:58 PM
so lame

Better than registering on black market sites pretending to be xxMATTGxx; hey?

Sent from Phone

mrwoooooooo
16-03-2013, 09:09 PM
Better than registering on black market sites pretending to be xxMATTGxx; hey?

Sent from Phone
lulz, na yours is much lamer

Want to hide these adverts? Register an account for free!