Only works in Chrome for now, if you enable it in chrome://flags. You don't even need to be in full-screen mode, at least on the latest version.
Pull request is here: https://github.com/danielribeiro/WebGLCraft/pull/1
Page at http://ricardobeat.github.com/WebGLCraft/, press C to enable mouse lock. Aiming doesn't work very well...
Only works in Chrome for now, if you enable it in chrome://flags. You don't even need to be in full-screen mode, at least on the latest version.
Pull request is here: https://github.com/danielribeiro/WebGLCraft/pull/1