📄 js.asp
字号:
<SCRIPT>var pop_id=218;</SCRIPT>
<script>
var DoMain;
var NetName;
var IspopContent;
DoMain="http://localhost"
NetName="合金网络科技"
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=『"+NetName+"联盟』以弹出形式迅速推广
您的网站,马上加入,网站流量即刻倍增! target=_blank>[流量交换]</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 + -