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
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, In my last post i have told you about the browser's fact of storing passwords after prompting 'Do you want t...
Hello Guys, Here is the step by step procedure to Apply an image as background of any drive say C:, D:........ Step 1: O...
In last part i have explained the basics of cookie stealing, and happy to know that many of you are really excited to get the secon...
Hi Friends.... Do you know...you can use keyboard instead of mouse to operate your system... Many of you will say...yes, we ca...
free idm, serial key Internet Download Manager(also known as Idman) is an excellent internet download accelerator that will care of...
Through out a day, almost all computer user do many repetitive tasks on computer and internet. If you are one of them, then Macro recor...
In response to query asked by Ameer Hasan Malik Did you forget your windows login password? or want to access Admin account in schoo...
How to inverse colors on a Picture. " Stare at the image then close your eyes, you will see Jesus." When first time I sa...
Hi Friends, In this tutorial i m going to explain you "How to create Portable versions of any Software with VMware thinApp ". ...