Recent Articles
Javascript to Auto select all friends while inviting for Event or Fan page.
Monday, January 9, 2012|
Surbhi Verma
Follow the steps:
1. While inviting your friends, you will see a window like the following one:
Now scroll down till the end of the list, because your all friends are not loaded yet in the window shown. If you dont do so, then only friends that are loaded till, will only get selected after using javascript.
2. Now copy the following script and paste it into the URL bar.
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');
3. After pasting write 'javascript: ' in front of the upper script. Now it should look like the following.
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');
Note: You could directly copy and paste the script of step 3rd, but for security purpose some browsers automatically remove 'javascript: ' from the script and paste the remaining only.
4. After pasting, press enter, as soon as you do it, you will get a message that 'all friends all selected', and now you can send the invitation.
If you want more information and tutorials about Facebook, check out other posts under category Facebook.
Posted in
Facebook Tips
0 comments for this post
Leave a reply
Subscribe to:
Post Comments (Atom)
TechByte4U on Facebook
Popular Posts
Hey Friends, Today's Topic will tell you How to access and control a PC remotely..... It happens many times with me that i miss ...
Hello friends, Today i am gonna provide you genuine keys for windows 7. People who dont know how to how to make your window genuine by repla...
In response to query asked by Ameer Hasan Malik Did you forget your windows login password? or want to access Admin account in schoo...
Free winrar, Full version Winrar, Winrar Serial key I guess everyone know what is Winrar, and what it works. So without going into t...
Hey Friends, Download Paid version of AVG 9.0 antivirus for free with 8 yeas licence and save $240...... Features of AVG paid ve...
Do you have a USB Drive or Memory card? If yes, then you must know the facts of your USB and also you should be able to answer the ...
How to inverse colors on a Picture. " Stare at the image then close your eyes, you will see Jesus." When first time I sa...
Hello Friends, I m sure, Many times you have desired to copy text from scanned Pictures or any other image. Today i m gonna tell you how y...
A mazing Photo Effects An online Photo Editor with more than hundred photo effects where you can upload your pics and get an amazing p...
free idm, serial key Internet Download Manager(also known as Idman) is an excellent internet download accelerator that will care of...