also may be pertinent to note if the hash is changed via script, the
script not automatically re-executed, you would have to monitor for
hash change and call your function again. If you open the second in
link in a new tab it should execute your code however since the page
itself might be monitoring for hash change and then load something
else after your script operates, you would have to account for that
somehow (possibly set a timeout after document loaded before your
script exeutes)