gecko-dev/dom/base/test/file_receiveMessage.html

14 строки
193 B
HTML

<!DOCTYPE html>
<html>
<head>
<script>
window.onmessage = event => {
document.body.textContent = `${event.origin}|${event.data}`;
};
</script>
</head>
<body></body>
</html>