I am developing an educational web app that enteres/exits full screen to remove distractions from students when they are studying. The enter/exit full screen animation speed is slow and doesn't look great and doesn't seem to serve any purpose.
i.e. Calling these:
document.exitFullscreen();
document.webkitExitFullscreen();
document.mozCancelFullScreen();
document.msExitFullscreen();
Is there a way to tell the browser to just exit full screen without a lengthy animation? Or is this OS dependent? (I've tried googling this and haven't found anything much useful)