设置网页加载完毕后自动刷新一次

页面加入代码:
<script>
window.onload=function(){
if (location.href.indexOf("?xyz=")<0){
  location.href=location.href+"?xyz="+Math.random();
}
}
</script>
只刷新一次
原文地址:https://www.cnblogs.com/xcp19870712/p/3152069.html