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

Make sure you are using Google Chrome or Firefox.

  1. Open Google Chrome
  2. Now open any event etc. where you can invite your friends
  3. Now scroll down until all your friends appears in the box
  4. Press CTRL+SHIFT+J (for Chrome), CTRL+SHIFT+K (for FireFox)
  5. A window will open in bottom or top of the browser
  6. Paste the red line of JavaScript code in the console


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


After pasting click ENTER, now wait for a minute and and when all friends are selected click on Save/Send.