var href = document.location.hash+"#photoBrowser"//需要改变的地址名称 history.pushState({ path: this.path }, '', href);