<p></p>
<p dir="auto">Your diagnosis makes no sense as a frame (or at least a cross domain one like here) has no access to the parent page.</p>
<p dir="auto">You're correct that all the work is done in <code class="notranslate">window.onload</code> but for a frame that will be the load of the frame not the parent document and if that wasn't running then nothing would be displayed as it sets up all the map layers not just the marker.</p>
<p dir="auto">My guess is that you're mangling the parameters or something when trying to patch in the URL later.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/3929#issuecomment-1426073316">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLP2YECVZIUDTTHPSD3WWZWL3ANCNFSM6AAAAAAUX6NI4Y">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLN2GCGAU56V7GD5RBLWWZWL3A5CNFSM6AAAAAAUX6NI42WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSVAATOI.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/3929/1426073316</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/3929#issuecomment-1426073316",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3929#issuecomment-1426073316",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>