dimanche 23 mai 2021

i want to perform auto click on a website?

Suppose, a website having a button and I want that, it automatically clicked every hour and reset the timer to be performed in the next hour same operation on the same button, in the website the button is given in input tag using the id_name I've to operate using javascript. Using https://www.tampermonkey.net/ to perform operation on website using js. I've googled but nothing was found helpful or not working.

setInterval(function () {document.getElementById("mark_attendance").click();}, 3600000);

I've used this code works fine in localhost, in the website it's not working.




Aucun commentaire:

Enregistrer un commentaire