Quantcast
Channel: Structured Procrastination » javascript
Viewing all articles
Browse latest Browse all 2

How to invite groups of friends to a Facebook event

$
0
0

Facebook goes some way towards making it easy for you to invite groups of friends to an event, but it still requires a mouse click for each person you want to invite. If you have a friend list containing more than a handful of people, this rapidly gets tedious. Don’t worry though! Here’s a way to select the whole list in one go.

  1. Open the event in Firefox or Google Chrome or Chromium.
  2. Click on the “Invite friends” button.
  3. Select the list of friends you want to invite. This can be any of the displayed lists, whether it’s one which you created by hand, or one which Facebook generated automatically for you (e.g. friends who live in your home town).
  4. Scroll all the way to the bottom of the list, to ensure that all friends on the list are visible on the page. (If the list is long
  5. Open the JavaScript console. In Chrome and Chromium, this is accessed via the drop-down menu icon near the top right of the browser window, by clicking “Tools” and then “JavaScript Console”. In Firefox, it’s via the Tools menu, and then “Web Developer” and “Web Console”.
  6. Copy and paste these two lines of JavaScript in the console which pops up, and press Enter.
    checkboxes = $x('//input[@name="checkableitems[]"]');
    for (i in checkboxes) { checkboxes[i].click() }
    
  7. All the displayed friends will now be selected. You can now click the “Submit” button to send the invites!

Share

The post How to invite groups of friends to a Facebook event appeared first on Structured Procrastination.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images