参考---ttp://www.oschina.net/translate/manipulating-url-using-javascript-without-freshing-the-page
var stateObject = {}; var title = "Wow Title"; var newUrl = "/my/awesome/url"; history.pushState(stateObject,title,newUrl);