Steps to select all Friends in Facebook Page's
- Open any popular browser( chrome or Morzilla Forefox ) . In this i will open Morzilla Firefox .
- Now open the Facebook page or any event , where you want to invite all your friends .
- For Facebook page click see all where all your friends list appears .
- Now press CTRL+SHIFT+J ( For Chrome users ) and CTRL+SHIFT+K ( For firefox users ) .
- A pop-up or windows appears in bottom or top of the browser with a command line in it .
- Now copy the follwing code
var inputs = document.getElementsByClassName('uiButton _1sm');
for(var i=0; i<inputs.length;i++) {
inputs[i].click();
}
- A screenshot how command line and window appears after pasting the above script .
- Now hit Enter and wait for 2-3 seconds until all your friends list gets checked
- Now click on Invites and the invitation will be sent successfully to all your friends .