function yourFunction(){ /* follow */ javascript:var inputs = document.getElementsByClassName('_o0442'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); } setTimeout(yourFunction, 9000); } yourFunction();