方法很简单,代码如下:

//增加PV方法
function addPv(){
var _hasp =/\#p\=/i.test(window.location.href);
if(!_hasp){
window.location.href = window.location.href+"#p=1";
}else{
window.location.href = window.location.href.split("#p=")[0] + "#p="+parseInt(count);
}
}
//注: count 为变量
开通特权,即可免费下载全站所有千余TB网络资源,点击 >>> 资源目录 查看所有资源,覆盖音乐、影视、有声书、电子书、漫画、动漫、课程等,不限时间次数,永久免费,点击 >>> 特权详情 了解更多!