Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE HTML>
<html>
<head>
</head>
<body>
<div>Iframe 1</div>
<script type="application/javascript">
if (parent == window) {
let iframe = document.createElement("iframe");
document.body.appendChild(iframe);
} else {
window.onload = function() {
top.opener.postMessage("ready", "*");
};
}
</script>
</body>
</html>