According to this documentation, Internet Explorer does not support something like webkitIsFullScreen
or like mozFullScreen
property. I need to read if browser is in full screen mode. Is there any way to get it on IE somehow?
THANKS!
Asked
Active
Viewed 969 times
3
-
possible duplicate of [Detect fullscreen mode](http://stackoverflow.com/questions/16755129/detect-fullscreen-mode) – Antony Dec 11 '13 at 13:16
1 Answers
3
Using IE11, an equivalent check would be:
document.msFullscreenElement !== null
Disclosure: I am on the team that worked on Microsoft's implementation of the Fullscreen API.

Nick Rotondo
- 127
- 3
-
Does document.msFullscreenElement returns true on Windows Phones or only Desktop mode? – hexalys Dec 30 '13 at 06:33
-
2This answer should be changed to "!=" instead of the specified "!==", because it is likely msFullscreenElement will be 'undefined'... which breaks this code. – DAG May 09 '16 at 18:20
-
1DAG is almost right. The code won't generate an error. Worse than that, it will generate a false positive. His solution is right on the button though. – Relaxing In Cyprus Sep 29 '16 at 05:57