How to click a browser button with JavaScript automatically?

001 picture 001 · Dec 23, 2010 · Viewed 158k times · Source

How to click a button every second using JavaScript?

Answer

John Hartsock picture John Hartsock · Dec 23, 2010
setInterval(function () {document.getElementById("myButtonId").click();}, 1000);