Thrasos Website

Sometimes I write about tech and code, and sometimes I don't.

Menu
  • Home
  • About
Menu

Select All Friends on Facebook

Posted on December 8, 2012May 14, 2013 by thrasos

0I am managing a quite a few Facebook accounts and I was getting tired of outdated chrome/FF plugins. Firefox has been updating itself frequently so most plugins cease to work. Anyhow I thought around this one based on the assumption that “whatever a user can do a script can do better” here goes:

How to select all friends at once to invite friends on Facebook.

  1. Open Google Chrome / Firefox
  2. Go to your event, invite to like your page and generally whatever requires a lot of clicking on check-boxes in order to invite your friends.
  3. Scroll at the bottom of the (pseudo)popup window Facebook generates with all your contact and wait till it has fully loaded.
  4. MAC Users: ⌥⌘J for Chrome and ⌥⌘K for Firefox , WINDOWS Users: CTRL+SHIFT+J (for Chrome), CTRL+SHIFT+K (for FireFox)
  5. The console will appear somewhere on your browser
  6. Paste this line of JavaScript code in the console.
  7. Et Voila, all the checkboxes have been checked :|

javascript:elms=document.getElementsByName(“checkableitems[]”);for (i=0;i<elms.length;i++){if (elms[i].type=”checkbox” )elms[i].click()};

Category: blog, code, facebook

Post navigation

← no code, no shame
Food-Meat →

You can say something here... Cancel reply

  • GitHub
  • LinkedIn
  • Twitter
  • Telegram
  • Cleaning up VCARD contacts without a phone.January 29, 2023
  • Docker Compose Notes #2December 15, 2022
  • Docker Notes #1December 14, 2022
  • A.I generated poem in GreekDecember 11, 2022
  • A.I. Generated ArtDecember 10, 2022
  • A.I. generated art.December 9, 2022
  • MailCow, simple html in maindomainSeptember 10, 2022
  • CamouflageFebruary 1, 2022
  • Kerkhoffs principleNovember 16, 2020
  • ASCII ARTAugust 13, 2020
© 2023 Thrasos Website