blob: 0cece09e3c74523b5bd0c1f8eb66bbf6ad253a45 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body onload="nav()">
<script>
function nav() {
var url = "javascript:'<script>" +
"top.postMessage(\"Hello from child\", \"*\");" +
"document.write(\"Message sent\");" +
"</scri" + "pt>'";
window.location.href = url;
}
</script>
Sending...
</body>
</html>