Last active
May 26, 2019 11:32
-
-
Save jbinfo/9a72f8b0c2faf141bc5edfb28e94ef47 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 buttons = $('div[role=dialog]').find('button:contains(Follow)').filter(function() { | |
return $(this).text().toLowerCase() === 'follow'; | |
}); | |
$.each(buttons, function(idx, itm) { | |
var secondes = Math.floor((Math.random() * 10) + 3); | |
setTimeout(function() { | |
$(itm).trigger('click'); | |
}, duration = secondes * 1000); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment