참고소스 수정본

This commit is contained in:
LASTA_DEV01\lasta
2026-05-12 19:40:31 +09:00
parent 0f34a451fc
commit 2e9204243d
8708 changed files with 3259488 additions and 869 deletions

View File

@@ -0,0 +1,39 @@
<style>
* {
padding: 0;
margin: 0;
}
iframe {
position: absolute;
top: 0;
left: 0;
width: 500px;
height: 500px;
}
button {
position: absolute;
top: 150px;
left: 150px;
width: 200px;
height: 200px;
}
</style>
<script>
window.addEventListener('DOMContentLoaded', () => {
const iframe = document.createElement('iframe');
const url = new URL(location.href);
url.hostname = url.hostname === 'localhost' ? '127.0.0.1' : 'localhost';
url.pathname = '/grid.html';
iframe.src = url.toString();
document.body.append(iframe);
const button = document.createElement('button');
button.textContent = 'CLICK ME';
button.addEventListener('click', () => {
window.BUTTON_CLICKED = true;
}, false);
document.body.append(button);
}, false);
</script>