I'm relying on browsers full screen mode for one of my projects.
I just discovered that using the windows "game bar" (windows + G) let the users browse away without any trace.
So here is my question: From within a browser, how could it be possible to detect (or forbid) the "game bar" usage.
Note: the game bar's shortcut is configurable, so listening for the key-press events of windows + G is not enough.
You could use
document.visibilityState. From MDN:Something like this: