Answers for "akhil insta like"

0

akhil insta like

//send request
function sendRequest(_timeOut,_htmlElement){
    var i=0;
    let interval = setInterval(function(){
        var buttonList = document.getElementsByClassName(_htmlElement);
        buttonList[i].click();
        console.log("request send"+i)
        i++;
    },2000)

    setTimeout(function(){
        clearInterval(interval);
        console.log("***** interval cleared *****");
    },_timeOut)
}

sendRequest(200000,"wpO6b") //working
Posted by: Guest on October-22-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language