One major barrier to creating immersive experiences in the browser (using WebGL and similar) is the set of limitations placed on mouse control.
For instance a first per
setCapture() does the trick. A working example is here.
setCapture()