⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 js.asp

📁 本源代码为 网雷弹窗联盟程序的源代码,欢迎大家的下载,学习与交流
💻 ASP
字号:

<SCRIPT>var pop_id=218;</SCRIPT>
<script>
var DoMain;
var NetName;
var IspopContent;
DoMain="http://localhost"
NetName="&#x5408;&#x91d1;&#x7f51;&#x7edc;&#x79d1;&#x6280;"
IspopContent="ispopup_todo";

function readcookie(name){
  var cookieValue = "";
  var search = name + "=";
  if(document.cookie.length > 0){ 
    offset = document.cookie.indexOf(search);
    if (offset != -1){ 
      offset += search.length;
      end = document.cookie.indexOf(";", offset);
      if (end == -1) end = document.cookie.length;
      cookieValue = unescape(document.cookie.substring(offset, end))
    }
  }
  return cookieValue;
}

function writecookie(name, value, hours){
  var expire = "";
  if(hours != null){
    expire = new Date((new Date()).getTime() + hours * 3600000);
    expire = "; expires=" + expire.toGMTString();
  }
  document.cookie = name + "=" + escape(value) + expire;
}

function clearcookie(name) { 
	var ThreeDays=3*24*60*60*1000; 
	var expDate = new Date(); 
	expDate.setTime(expDate.getTime()-ThreeDays);
	document.cookie=name+"=;expires="+expDate.toGMTString(); 
} 

function ispopup(){
alert("sdfg");
	var ispop = readcookie(IspopContent); 
	if(ispop != 1) {
	ispop=0;
	}
	return ispop
}
document.write("<a href="+DoMain+"/index.asp?id="+ pop_id +" title=&#x300E;"+NetName+"&#x8054;&#x76DF;&#x300F;&#x4EE5;&#x5F39;&#x51FA;&#x5F62;&#x5F0F;&#x8FC5;&#x901F;&#x63A8;&#x5E7F;&#xA;&#x60A8;&#x7684;&#x7F51;&#x7AD9;&#xFF0C;&#x9A6C;&#x4E0A;&#x52A0;&#x5165;&#xFF0C;&#x7F51;&#x7AD9;&#x6D41;&#x91CF;&#x5373;&#x523B;&#x500D;&#x589E;&#xFF01; target=_blank>[&#x6D41;&#x91CF;&#x4EA4;&#x6362;]</a>");

function openwin(){window.open(""+DoMain+"/popup.asp","9day","");}
function openshow(){window.showModalDialog(""+DoMain+"/goto.asp?id=&url=/popup.asp","9day","scroll:0;status:0;help:0;resizable:0;dialogWidth:0px;dialogHeight:0px");}
function open_9day(){if (navigator.appName != "Netscape"){openwin();}else{openshow();}}

if (ispopup()!=""){
	setTimeout("open_9day()",3000)
	setTimeout("focus()",3000);
}

</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -