Untitled
unknown
plain_text
2 years ago
351 B
1
Indexable
Never
function send_attack(attack_time, ms){ let myTimer = setInterval(()=>{ if(document.getElementById('date_arrival').innerText.substring(10, 18)===attack_time){ setTimeout(()=>{ document.getElementById('troop_confirm_submit').click(); }, ms); clearInterval(myTimer); } }, 10); }