<p>That's my suspicion. I'm not sure it's related to loading the main site at all, it just seems to be totally random whether it happens. I've even had it happen on the first load in a new Chrome.</p>
<p>I think that <code>window.onload</code> is sometimes running before <code>window.location.search</code> is available somehow.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2531?email_source=notifications&email_token=AAK2OLO2I4GELQWYUYHQLADRCPJWDA5CNFSM4KTV6P62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELQLWWA#issuecomment-585153368">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOLPVKESK2BIFLR74TRCPJWDANCNFSM4KTV6P6Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLJNB675KVO33ELNUQDRCPJWDA5CNFSM4KTV6P62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELQLWWA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2531?email_source=notifications\u0026email_token=AAK2OLO2I4GELQWYUYHQLADRCPJWDA5CNFSM4KTV6P62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELQLWWA#issuecomment-585153368",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2531?email_source=notifications\u0026email_token=AAK2OLO2I4GELQWYUYHQLADRCPJWDA5CNFSM4KTV6P62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELQLWWA#issuecomment-585153368",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>