通过pushState改变页面地址:
改变页面的hash:
#yes location.hash = '#no';