MCPcopy Create free account
hub / github.com/hoothin/UserScripts / cancelFullScreen

Function cancelFullScreen

Picviewer CE+/dist.user.js:13554–13564  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13552 }
13553
13554 function cancelFullScreen() {
13555 if (document.exitFullscreen) {
13556 document.exitFullscreen();
13557 } else if (document.msExitFullscreen) {
13558 document.msExitFullscreen();
13559 } else if (document.mozCancelFullScreen) {
13560 document.mozCancelFullScreen();
13561 } else if (document.webkitExitFullscreen) {
13562 document.webkitExitFullscreen();
13563 }
13564 }
13565
13566 // 检测缩放
13567 function detectZoom (){

Callers 1

initFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected