Answer the question
In order to leave comments, you need to log in
How to implement mouse cursor control from the server?
Hello. I was puzzled by the following question - I saw such a feature on one of the sites (online consultant), the consultant can control the mouse cursor from his client directly in your client (browser), tell me how is it possible to implement this?
In which direction to dig?
Answer the question
In order to leave comments, you need to log in
Right now, it is unlikely to intercept the mouse (security issues).
Can be imitated. For example, when I was young, I was amused: be1.ru/stat (attention to "advertising[x]")
redhelper.ru/consultant-obshenie - there, cursor movement is performed by system calls, for example, WinAPI
move the cursor in Js - it is impossible, which is very correct from a security point of view.
If the question concerns specifically the mouse cursor , then yes, no way (without system additional software), but if the point is to view user actions and manage the page, then you can pervert. Offhand: viewing is implemented as in Yandex.Metrica, control can theoretically be implemented using web sockets, sending instructions to the page where to click (click()), put focus in the input field (focus()), setting values for input fields (except, probably, for the field password)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question