I’m making a autoclicker chrome browser extension, but how can I simulate a mouse click using javascript? And how can i make the it click on a random spot of the screen? Thanks for helping!
I’m making a autoclicker chrome browser extension, but how can I simulate a mouse click using javascript? And how can i make the it click on a random spot of the screen? Thanks for helping!
2
Answers
Simply by
click()
function.If you want a random click use:
Create a button with an id & onClick function:
Call the click function:
Add this loop to automate 1000 clicks!