2015-12-11 00:49:23 +00:00
|
|
|
<html>
|
|
|
|
<body>
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
|
|
window.addEventListener('message', function (e) {
|
2015-12-15 01:09:31 +00:00
|
|
|
window.opener.postMessage(JSON.stringify({
|
2015-12-14 22:55:48 +00:00
|
|
|
origin: e.origin,
|
|
|
|
data: e.data,
|
2015-12-15 01:02:36 +00:00
|
|
|
sourceEqualsOpener: e.source === window.opener,
|
|
|
|
sourceId: e.source.guestId
|
2015-12-15 01:09:31 +00:00
|
|
|
}), '*');
|
2015-12-11 00:49:23 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|