Greasy Fork is available in English.

讨论 » 创建请求

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

§
发表于:2020-03-23

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.

§
发表于:2020-07-26

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

发表回复

登录以发表回复。