Can Javascript detect the manual appending of an anchor to the current location?
<p>Say I've loaded some arbitrary HTML page into my browser. Then into the address bar I append "#anchor-name" and hit enter.</p>

<p>Since I only added an anchor and didn't call a different page, the browser does not make another call to the server. So there is no onLoad event, etc.</p>

<p>Nonetheless, could some Javascript on the page detect this action? How? What's the event?</p>

<p>I think the answer is "no." Please prove me wrong.</p>

<p>Thanks</p>

<p>Note: Please assume there is no query string in the URL. It ends with "/index.html" or "/".</p>

<p>Related question: does it matter if an anchor named "anchor-name" actually exists on the page?</p>
