We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如图,我使用如下代码进行访问统计
<script type="text/javascript""> if(localStorage.pagecount){localStorage.pagecount=Number(localStorage.pagecount)+1}else{localStorage.pagecount=1}document.write("欢迎你第"+localStorage.pagecount+"次访问"); </script>
The text was updated successfully, but these errors were encountered:
有 pjax,页面没有刷新,上一次 document.write 文档流还没关闭,所以会重复
不推荐 document.write 直接写文档流,弄个 div 显示不香吗
Sorry, something went wrong.
No branches or pull requests
如图,我使用如下代码进行访问统计
但是每次进入文章都会像图一样
The text was updated successfully, but these errors were encountered: