I want to make an autoclicker on the site, so that it stops when this button appears (code below) on the page, the button is initially hidden under the Display:none; style Display:none; , you can not take any text from the block, not necessarily this button
<button class="btn btn-success" id="confirmButton" data-tid="0">Check Status</button> I made the autoclicker so, by timer it searches for text on the page, if it doesnβt exist, it clicks the button, and if the text was found, the timer is reset, but I donβt, because the condition finds values ββfrom the source code, this doesnβt suit to. If there is a button in the source code, this does not mean that it has no display: none style. It seems explained more clearly.
var b = $('b'), timer = setInterval(function() { if (b.filter(':contains("ΡΠ΅ΠΊΡΡ")').length) { clearInterval(timer); console.log('ΠΡΠΈΠ΅Ρ
Π°Π»ΠΈ'); return false; } document.getElementById("showConfirmButton").click(); }, 2000); button.on('click', function() { console.log('ΠΠ»ΠΈΠΊ'); }); but Iβm wrong about something and Iβm having trouble ... help me fix the problem
Button on which we click <button class="btn btn-danger btn-lg" style="width:100%" onclick="showConfirm()" id="showConfirmButton">Withdraw Items</button>
buttonarray, what's going on insideclick()and whattimeris - Igorclickis the trigger for the click event; developer.mozilla.org/en-US/docs/Web/API/HTMLElement/click . - user207618 2:46 pm