开发者

Jquery: Automate Mousemove every 20seconds

I would like make a script in Jquery that automove my 开发者_JS百科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?


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜