Question

I would like make a script in Jquery that automove my cursor every 20 seconds in a random position of screen.

If is not possible to make in Jquery,how i can make it in Javascript?

Was it helpful?

Solution

You can't move the user's mouse in JavaScript (or anything built on it)...this would be quite annoying...and used for evil pretty quickly.

For example: Imagine an advertiser's JavaScript moving your mouse to their ad randomly in hopes to get a click.

OTHER TIPS

The mouse cursor is controlled by the operating system, not the browser, and thus not Javascript/JQuery.

The only way I can think of (maybe others will have better ideas) is to have a separate program that would need to be installed on the client that could possibly communicate, via Javascript, and make it happen, but I doubt that's what you want.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top