What I am doing now is to invoke javascript
- Code: Select all
document.webkitExitFullscreen()
As know as, js function may override by website js code like:
- Code: Select all
document.webkitExitFullscreen = function(){console.log("hook webkitExitFullscreen");}
Is there any native way or any secure js code which will not be override by the js from website to exit full screen mode?