Accept-multiple-request-at-once

Accept multiple requests at once

I recently wanted to follow everyone whom my friends follow. But it was quite boring to go through the list and click on the Follow button. So I decided to do something like this.

Follow multiple GitHub users at once

var temp = document.getElementsByClassName('btn-sm');
for(let i = 0; i<temp.length; i+=2) {
    temp[i].click();
}

GitHub Follow

Accepting multiple connections on LinkedIn

var temp = document.getElementsByClassName('artdeco-button--secondary');
for(let i = 0; i<temp.length; i++) {
    temp[i].click();
}

LinkedIn Connections

Thanks for reading 😄

Author

Aman Raj