blob: a6e98c24e6add4976571141ad2409e1cce96d173 [file] [log] [blame]
<!DOCTYPE html>
<body>
<p>This page is lazyloaded.</p>
<script>
let query_index = window.location.href.indexOf("?id=");
let id = window.location.href.substr(query_index + 4);
window.addEventListener("load", () => {
let p = document.querySelector("p");
let contents = p ? p.innerHTML : "null";
window.parent.postMessage({"id": id, "contents": contents}, "*");
});
</script>
</body>