同步完整源码 - 2026-05-24

This commit is contained in:
xiaoxue
2026-05-24 23:05:48 +08:00
commit 21ef9025a7
425 changed files with 109915 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
<iframe src='./redirect-my-parent.html'></iframe>
+15
View File
@@ -0,0 +1,15 @@
<link rel='stylesheet' href='./style.css'>
<script src='./script.js' type='text/javascript'></script>
<style>
body {
height: 100px;
margin: 8px;
border: 0;
background-color: #555;
}
div {
line-height: 18px;
}
</style>
<div>Hi, I'm frame</div>
+8
View File
@@ -0,0 +1,8 @@
<frameset>
<frameset>
<frame src='./frame.html'></frame>
<frame src='about:blank'></frame>
</frameset>
<frame src='/empty.html'></frame>
<frame></frame>
</frameset>
+30
View File
@@ -0,0 +1,30 @@
<style>
body {
display: flex;
height: 500px;
margin: 8px;
}
body iframe {
flex-grow: 1;
flex-shrink: 1;
border: 0;
background-color: green;
}
::-webkit-scrollbar{
display: none;
}
</style>
<script>
async function attachFrame(frameId, url) {
var frame = document.createElement('iframe');
frame.src = url;
frame.id = frameId;
document.body.appendChild(frame);
await new Promise(x => frame.onload = x);
return 'kazakh';
}
</script>
<iframe src='./two-frames.html' name='2frames'></iframe>
<iframe src='./frame.html' name='aframe'></iframe>
+1
View File
@@ -0,0 +1 @@
<iframe src='./frame.html'></iframe>
@@ -0,0 +1,3 @@
<script>
window.parent.location = './one-frame.html';
</script>
+1
View File
@@ -0,0 +1 @@
console.log('Cheers!');
+3
View File
@@ -0,0 +1,3 @@
div {
color: blue;
}
+16
View File
@@ -0,0 +1,16 @@
<style>
body {
display: flex;
flex-direction: column;
height: 400px;
margin: 8px;
}
body iframe {
flex-grow: 1;
flex-shrink: 1;
border: 0;
}
</style>
<iframe src='./frame.html' name='uno'></iframe>
<iframe src='./frame.html' name='dos'></iframe>