pv.js
来自「数据库系统工程师的考点 难点 很值得一看的有」· JavaScript 代码 · 共 17 行
JS
17 行
//write by dafei
//stat pv detail ,
if(typeof(pvhitimgview)=="undefined"){
var pvhitimgview=true;
function pv_d(){
var now = new Date().getTime();
var datestr=escape(now*1000+Math.round(Math.random()*1000));
var imgsrc='';
if(top.location==self.location){
imgsrc='http://219.239.88.50/images/pvhit0001.gif?t='+datestr+'&'+document.referrer;
}else {
imgsrc='http://219.239.88.50/images/pvhit0002.gif?t='+datestr+'&'+document.referrer;
}
document.write('<div style="width:0px;height:0px"><img border=0 width=1 height=1 src="'+imgsrc+'" style="width:0px;height:0px;margin:0px;padding:0px;clear:none" /></div>');
}
pv_d();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?