强制访问你的广告


页面特效栏目

强制点击广告是很令人厌恶的行为,慎用!慎用!

把下面代码copy入你HTML文件的<head>和</head>中

<script language="javascript">
<!-- Begin
var num = 2;
var mypage = '../pages/java1.htm';
var pissoff = ' 你必须先点击上面的广告链接 ';
allow = Array();
allow[num] = 2;
function gotoit(link){
if (link != num){
allow[link] = 2;
} else {
for (i=1;i<=num;i++){
if (allow[i] != 2){
i = num + 1;
lemmeIn = 0;
} else {
lemmeIn = 1;
}
}
if (lemmeIn == 1){
window.location = mypage;
} else {
alert(pissoff);
}
}
}
//--->
</script>

把下面代码copy入你HTML文件的<body>和</body>中即可:

<a HREF="http://www.cncash.com/CGI-bin/ba/random.CGI?job=go&id=233" onClick="gotoit(1)" target="_blank">
<img SRC="http://www.cncash.com/CGI-bin/ba/random.CGI?id=233" BORDER="0"
width="468" height="60"></a>

将以上广告代码改成你实际的广告代码,onClick="gotoit(1)"不能删!

<a href="javascript:gotoit(num)">进入</a>
<script language="javascript">
<!--
document.write('<a href="../../../pages/java1.htm" target="_top"></a>');/* 你访问者想进入的链接 */
//-->
</script>

本文作者:
« 
» 
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3