I think this won't work if you're on a URL with an important hash fragment. Like if the customer url was `http://blah.com/something#!/some/ajax/page/`

Wouldn't this lop off the hash?