mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-13 15:09:13 +00:00
49 lines
1.1 KiB
HTML
49 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="robots" content="noindex, nofollow" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Full Screen iFrame</title>
|
|
<style>
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#myIframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
/* 可选:移除边框 */
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<!-- <div style="position: absolute;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
background: white;">
|
|
<button onclick="toggleFullScreen()">Toggle Full Screen</button>
|
|
</div> -->
|
|
|
|
<iframe
|
|
id="myIframe"
|
|
allowfullscreen="true"
|
|
allow="autoplay;fullscreen"
|
|
scrolling="auto"
|
|
></iframe>
|
|
|
|
<!-- https://letsplay247.github.io/cz.html?n=space-wars-battleground -->
|
|
<script>
|
|
var myParam = location.search.split('n=')[1]
|
|
document.getElementById('myIframe').src = myParam
|
|
</script>
|
|
<script src="/js/fullscreen.js" type="text/javascript"></script>
|
|
</body>
|
|
</html>
|