1
0
forked from sent/waves
waves/public/assets/g/webretro/uauth/receiver.html
2025-04-09 17:11:14 -05:00

17 lines
462 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Choose a File</title>
</head>
<body>
<h2>Receiver is loaded.</h2>
<h2>I'm supposed to be an invisible iframe... (you shouldn't see this)</h2>
<script>
let uauthBC = new BroadcastChannel("uauth");
window.addEventListener("message", function(e) {
uauthBC.postMessage({fwOrigin: e.origin, webretro: e.data.webretro});
window.parent.postMessage("acknowledged", "*");
}, false);
</script>
</body>
</html>