file_xslt.js (424B)
1 let features = [ 2 "camera", 3 "fullscreen", 4 "gamepad", 5 "geolocation", 6 "microphone", 7 "storage-access", 8 ].map(f => [f, document.featurePolicy.getAllowlistForFeature(f)]); 9 10 document.documentElement.requestFullscreen().finally(() => { 11 let fullscreen = document.fullscreenElement == document.documentElement; 12 document.exitFullscreen().finally(() => { 13 parent.postMessage({ fullscreen, features }, "*"); 14 }); 15 });