要求,禁止返回上一页:

history.pushState({ page: 1 }, "pageTitle", "#jump"); 
window.onhashchange = function (event) {window.location.hash = "jump"; };