Reputation: 8103
I want to write a very simple client side javascript code to move mouse inside browser. That can makes lync always show "online" which makes my boss happy. what is the good way to control mouse ? thanks
Upvotes: 1
Views: 5222
Reputation: 21183
You can't. There's some pretty serious security implications of doing it. That said, you may be able to achieve your goal by triggering a mousemove
or click
event via jQuery together with a setInterval
to trick the page into thinking a human is interacting with it.
Upvotes: 3