title: Capturing mouse position outside of browser window?
body: <p>One major barrier to creating immersive experiences in the browser (using WebGL and similar) is the set of limitations placed on mouse control. </p>
  
  <p>For instance a first person shooter control scheme essentially requires the program to grab the mouse and re-center it so as to allow infinite movement in any direction for the cursor. This is a no-no because it would give the web programmer too much control. Hopefully one day we will see a plugin that allows a site to request permission to move the mouse to allow this behavior. </p>
  
  <p>However I think there are some ways to improve things without going that far. I am wondering if it's possible to allow access to the mouse position once the mouse moves off of the window (focus is still on window)? </p>
  
  <p>I was playing this game using Google Chrome: <a href="http://www.chromeexperiments.com/detail/x-wing/?f=" rel="nofollow">http://www.chromeexperiments.com/detail/x-wing/?f=</a></p>
  
  <p>and my biggest issue was that to get to a corner, I have to carefully keep my mouse on the corner of the browser window. If I push it off the window my ship would stay where the mouse's last window position was, which is not exactly in the corner. And I would crash into the wall. </p>
  
  <p>To make this better, the browser should be able to receive mouse updates when the mouse is outside of the window. In the context of this type of game if the mouse leaves the window it should continue to send updated positions to the browser. </p>
  
  <p>Is there any provision for this? </p>