As the script LIKERO to specify a time limit?

Good day! You need to add to the script LIKERO temporary restriction 100 subscriptions, then a minute break after which the action is repeated. At the moment the script works without limits, how to solve this problem I do not know because the programming is not selenium. Thanks if anyone can help!
The script itself:
var script = document.createElement('script');
script.type = "text/javascript";
script.src="https://code.jquery.com/jquery-3.2.1.min.js";
document.head.appendChild(script);

var t = 0;
$.each($("button"),function(i,v){
 if($(v).text() == "Follow")
{
setTimeout(function(){
$(v).click();
},t);
t+=100;
}
});
April 19th 20 at 12:41
0 answer

Find more questions by tags jQuery