<p>Is there a way to respond to the back button being hit (or backspace being pressed) in javascript when only the location hash changes?  That is to say when the browser is not communicating with the server or reloading the page.</p>

```
onLocationChange
```
may also be useful.  Not sure if this is a Mozilla-only thing though, appears that it might be.