Problem is (at least with my current browser), changing the hash tag and entering the new url doesn’t trigger a refresh of the page, and thus I’m not aware offhand how to detect when this hash tag change has been made.
Is there an elegant way to do this?
This is a nasty-ish solution, but you can poll the URL for a change every so often: