问题
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!
回答1:
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.
来源:https://stackoverflow.com/questions/20520140/javascript-webkitisfullscreen-property-ie-equivalent