remove window message listener
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 43s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 43s
Details
This commit is contained in:
parent
3593fafd91
commit
4a38104d10
|
@ -5,27 +5,9 @@
|
|||
<link rel="icon" type="image/svg+xml" href="/dgf.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>DGF Prototype</title>
|
||||
<script blocking="render">
|
||||
console.log('adding window message event listener');
|
||||
window.addEventListener(
|
||||
'message',
|
||||
(event) => {
|
||||
if (event.data?.target?.startsWith('metamask')) return;
|
||||
console.log('window message', event);
|
||||
},
|
||||
);
|
||||
|
||||
window.parent?.addEventListener(
|
||||
'message',
|
||||
(event) => {
|
||||
if (event.data?.target?.startsWith('metamask')) return;
|
||||
console.log('parent window message', event);
|
||||
},
|
||||
);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script async type="module" src="/src/main.jsx"></script>
|
||||
<script type="module" src="/src/main.jsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue