Hmm. Enabling this for any element regardless of full-screen state might be a bad idea. Is the warning popup modal? Can you use it to cause the user to click on something other than the intended target by intentionally drawing the pointer in the wrong place?
Like JavaScript, this needs a default-disable, on for trusted sites only mode.
I don't see why this is really a security issue. You can't control their pointer, it just becomes disabled. The popup and the pointer lock are managed by the browser, so you can't trick them into doing anything and they can always get out of it by just pressing escape.
Well, chromium pops up a bar on the top with buttons for denying or accepting the request of the website to disable the cursor before it does anything.
Was just looking at the Quake 3 demo and noticed the FPS was locked to 60. Wondering if this is a limitation of the demo or of the browser (FF nightly in my case).
If so that may turn out to be a bit short sighted in the long term.
Same here, but chrome works.
I'm not sure it's a point lock issues, since that's supposed to work on FF.
In console, the difference I noticed is that FF has this error:
Firefox can't establish a connection to the server at ws://./. - shoote...tBqO.js (line 57)
What specifically doesn't work? Do they not render (WebGL issue) or does your pointer not get locked (Pointer Lock issue)? Try googling "firefox pointer lock doesn't work", I'm sure something relevant will come up.
[+] [-] jrabone|13 years ago|reply
Like JavaScript, this needs a default-disable, on for trusted sites only mode.
[+] [-] arasmussen|13 years ago|reply
Seems pretty solid to me.
[+] [-] Tmmrn|13 years ago|reply
[+] [-] dazzawazza|13 years ago|reply
Now when all browsers support it I will look more closely.
Thanks.
[+] [-] unknown|13 years ago|reply
[deleted]
[+] [-] MattDL|13 years ago|reply
If so that may turn out to be a bit short sighted in the long term.
[+] [-] dcpn|13 years ago|reply
[+] [-] SafeSituation|13 years ago|reply
[+] [-] azakai|13 years ago|reply
[+] [-] misleading_name|13 years ago|reply
In console, the difference I noticed is that FF has this error: Firefox can't establish a connection to the server at ws://./. - shoote...tBqO.js (line 57)
Chrome doesn't have that error.
[+] [-] arasmussen|13 years ago|reply
[+] [-] unknown|13 years ago|reply
[deleted]