Click on the lovely “See all >” link. Scroll down the list of pending invitations page. You will see about 20 of pending invitation boxes. Click “-See more-” to show more the invitation boxes in the page. Click “-See more-” repeatedly until you feel it enough. All visible invitation boxes that you see in the page will be accepted automatically by the JavaScript code in the next step.
In Chrome, Press F12 in Windows or Option-Command-I in Mac, to open the Chrome Developer Panel. Click on the Console tab. It is the JavaScript console panel.
Copy and paste the following codes by the >
and press Enter to execute the code.
var x = document.getElementsByClassName('bt-invite-accept'); for (var i=0 ; i<x.length; i++) x[i].click();
That’s it. Browser is clicking all buttons for us. It takes about 2–3 seconds to complete. The number of pending invitation is swiftly reduce. You can see the changes on the page. Hoo ray~! No more accepting invitation buttons (aka works) to do.
To reject all invitations at once, just use this code instead:
var x = document.getElementsByClassName('bt-invite-decline'); for (var i=0 ; i<x.length; i++) x[i].click();