Do you face problem when you want to invite your friends to an event of facebook or when you ask a question on facebook? Because you have to select your friends one by one. Its not so difficult if you have a few friends, but what if you get hundreds or thousands of friends? Impossible to select them manually and there is no option given by facebook for this. So, what you will do? Will you leave it? No chance! We found a way to make it possible. You can do it by using just a small javascript code. Its 100% safe and works with all browsers as well.
Code:
var x=document.getElementsByTagName(“input”);for(var i=0;i<x.length;i++) {if (x[i].type == ‘checkbox’) {x[i].click();}}; alert(‘Done [Remember me: http://www.yamanupadhayay com.np]’);
How to use code?
- Open facebook.com and login to it.
- Ask a question or add an event and let the pop-up for select friend come. (To get that pop-up, click “create an event” at the right top of facebook home-page and then on “invite friends” option.)
- Copy the above code and go to your browser url, write “javascript:” without “quotes” and paste the code there. Do not give any space! (Paste/write javascript: in front of the above code on the brower url otherwise it will not work in chrome, so do as instructed.)
- Now, hit enter.
- Your all friends are now selected. You just have to click on submit now. A pop-up will come confirming “Done [ Remember me: http://www.yamanupadhayay com.np ]”.
- To deselect all friends, just paste the code with the same procedure and hit enter.
Enjoy.