Can I set the mouse position with JavaScript?

3

I need to create an extension for a friend application that runs on a Node.js server (if I'm not mistaken, I do not handle too much of that), I want to know if there is a way to set the mouse position with JavaScript or less "fool the application" to get a false position, is it possible to do this with JavaScript?

    
asked by anonymous 06.02.2016 / 20:38

1 answer

5

No, it is not possible to set the mouse position with JavaScript.

And I would like to add a translated phrase from an answer I found in SO in English :

  

Think of the possible implications this might have, if you could;)

     
  • User thinks: "Hey, I'd like to click on this link"
  •   
  • Javascript moves the cursor to another link
  •   
  • User clicks on wrong link and inadvertently downloads malware that formats your local C drive and eats all your candy
  •   
        
    06.02.2016 / 21:19