开发者

How do I move the mouse cursor when a key is pressed?

What do I开发者_如何学Go put in my onkeydown to move the mouse to a specified [x,y]?


nothing. you don't get to control the mouse from javascript.

however, you may be able to simulate the action you're looking for.

Simulating click with javascript on document


Seriously? You want to move my mouse pointer without my permission? Get real! You can imagine how such capabilities could be used for malicious purposes.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜