html 页面 点击浏览器返回时,刷新页面

<script>if(window.name!="hasLoad"){    

    location.reload();    
    window.name = "hasLoad";    
}else{    
    window.name="";    
}    </script>

原文地址:https://www.cnblogs.com/lixiaomingtongxue/p/7904842.html