Select all contacts with Javascript code to easily invite friends to a page on facebook
11 years ago, April 2, 2013
Reading time: 1 mins
If you own a page on fb or you are trying to invite your friends to an event on facebook, its pain to keep clicking all the checkboxes / friends to invite multiple friends. Its easy to use code.
1. Open the dialogue where all your friends are listed with checkboxes.
2. Copy paste the following code to your addressbar:
javascript:
elms=document.getElementsByName("checkableitems[]");
for (i=0;i < elms.length;i++)
if (elms[i].type="checkbox" )
elms[i].click()
3. Press Enter
—– OR if you need it often —-
You can drag and drop the following link to your Bookmarkbar and click whenever you are on invite dialogue box.
Day saved Cheers!