I'm not sure that is going to be possible.  You still have to replace the url, and there is no way to remove the pathname on hash only browsers without a full refresh.