Greasy Fork is available in English.

Diskuse » Creation Requests

How do i make a script that automatically clicks an element on screen.

§
Posted: 23. 03. 2020

How do i make a script that automatically clicks an element on screen.

I want a script that will click an element on screen, then click A and D when the element is not on screen. How difficult would this be to do?

I want to click when the click to play element is on screen

CLICK TO PLAY

and after it gets clicked I want it to press A for 100ms, then press d for 100ms, and keep doing that until the click to play element shows on screen.

§
Posted: 26. 07. 2020

You can use jquery to do this $('CLASSORIDELEMENTNAME').click();

Post reply

Sign in to post a reply.