website-page-frame
Version:
This library provides a way to allow browser based programs to have cross parent to child window communication through code.
20 lines (15 loc) • 423 B
HTML
<html lang="en-IE">
<head>
<meta charset="UTF-8" />
<title> Unexpected Message Response Test </title>
</head>
<body>
<h1> Im Going Scream Messages at The Parent Browsing Context </h1>
<script>
setInterval(function() {
window.parent.postMessage({ message: "Hello World!!!" }, "*");
}, 2000);
</script>
</body>
</html>