I need to lock the pointer but when I requestPointerLock it's telling me
Request for pointer lock was denied because Element.requestPointerLock() was not called from inside a short running user-generated event handler, and the document is not in full screen.
Or
Request for pointer lock was denied because the document is not focused.
Which makes sense, but I'm making an app that needs to open with a locked pointer, can't wait for user interaction. Good news is I have complete control over the device, so I figured I would edit some about:config
setting and I'd call it a day, but I can't seem to find the one.
How can I tell firefox to allow the pointer lock at any time?