blob: 3b70598e34d0e9b46a8ba2150a1589fecfb90ea8 [file] [log] [blame]
<!DOCTYPE html>
<!--
There's two URL parameters supported here:
window: The property name of a getter on the global object that returns the relevant WindowProxy
object to message.
ident: A reasonably unique identifier that will be echoed as the message.
-->
<script>
const params = new URLSearchParams(location.search);
self[params.get("window")].postMessage(params.get("ident"), "*");
</script>