tw
unknown
javascript
a year ago
424 B
6
Indexable
function send_attack(attack_time, ms){ let myTimer = setInterval(()=>{ if(document.getElementById('date_arrival').innerText.slice(-8)===attack_time){ console.log('hi') setTimeout(()=>{ document.getElementById('troop_confirm_submit').click(); consol.log('sent') }, ms); clearInterval(myTimer); } }, 1); }
Editor is loading...