When you are trying to invite your friends to your page, it can be tedious. So here's a quick javascript to select all your friends in Facebook so you can invite them all in one quick motion.
javaScript code to select all friends to invite all
javaScript code to select all friends to invite all
- Go to your Event or page and click “Invite People”.
- Once the page has loaded you should see all of your friends, but they are not selected.
- At this point, copy and paste the javascript code below into your Web browser’s address bar, then hit “Enter”.
- If all goes well, it selects all of your friends!
Simply copy and paste that into the address bar when you have the friend selector window open.
If that first method doesn’t work for you give this a try:
javascript: fs.select_all()If that second method doesn’t work give this a try:
javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}
Google chrome extension
Otherwise you can use the chrome extension (link) which adds a "Toggle all" friends button to facebook groups, events, and pages invite boxes, which lets you select all of your friends in one click.
Chrome is the way to go!
Post a Comment