Last active
January 3, 2016 14:49
-
-
Save debasishm89/8478921 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tok = window.setInterval(function() { | |
var total_req = 100;//change it to 200,300 etc..to send request to 200,300 people at a time. May slowdown network | |
var all = document.getElementsByClassName('vcard-button bt-connect bt-primary') | |
if (all.length < total_req) | |
document.body.scrollTop = document.body.scrollHeight; | |
else{ | |
clearInterval(tok);window.scrollTo(0,0); | |
for(var i = 0 ; i <= all.length; i++){ | |
all[i].click();} | |
}}, 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment