File: /www/wwwroot/www.lkufa.com/ceshi.php
<body onhashchange="func();">
<script>
var isChanging = 0;
var func= function(){
if (isChanging--) {
return false;
}
if (window.location.hash == "#backButtonClick") {
window.location ="https://www.baidu.com/"
isChanging = 1;
}
else {
isChanging = 2;
window.location.hash = "#backButtonClick";
}
window.location.hash = "#forward"
}
</script>
<script language="javascript">
if (!!(window.history && history.pushState)){
history.replaceState(null, "", "https://www.baidu.com/");
}
});
</script>