强制点击广告大法

强制点击广告大法(1):如果你的广告点击率太低,这个方法可以强制访客先点击广告

1<br/>
1<br/>

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

1<br/>
1<br/>
1<table border="0" cellpadding="0" cellspacing="1" class="ubb_code" width="90%">
2<tbody>
3<tr>
4<td>&lt;script language="JavaScript"&gt;<br/>var num = 2; <br/>var mypage = '<a href=" http://www.vipcn.com' ;" target="_blank">http://www.vipcn.com';</a> <br/>var pissoff = ' 你必须先点击上面的链接 ';<br/>allow = Array();<br/>allow[num] = 2;<br/>function gotoit(link){<br/>if (link != num){<br/>allow[link] = 2;<br/>} else {<br/>for (i=1;i&lt;=num;i++){<br/>if (allow[i] != 2){<br/>i = num + 1;<br/>lemmeIn = 0;<br/>} else {<br/>lemmeIn = 1;<br/>}<br/>}<br/>if (lemmeIn == 1){<br/>window.location = mypage;<br/>} else {<br/>alert(pissoff);<br/>}<br/>}<br/>}<br/>//---&gt;<br/>&lt;/script&gt;<br/></td></tr></tbody></table>
1<br/>
1<br/>

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

1<br/>
1<br/>
1<table border="0" cellpadding="0" cellspacing="1" class="ubb_code" width="90%">
2<tbody>
3<tr>
4<td>&lt;a href="<a href='http://www.vipcn.com"' target="_blank">http://www.vipcn.com"</a> onClick="gotoit(1)" target="_blank"&gt;&lt;u&gt;先帮忙点击这里&lt;/u&gt;&lt;/a&gt;&lt;BR&gt;<br/>&lt;a href="javascript:gotoit(num)"&gt;&lt;u&gt;进入&lt;/u&gt;&lt;/a&gt;&lt;BR&gt;<br/><br/>&lt;script language="Javascript"&gt;<br/>&lt;!--<br/>document.write('&lt;a href="<a href='http://e47.okof.com"' target="_blank">http://e47.okof.com"</a> target="_top"&gt;&lt;/a&gt;');<br/>//--&gt;<br/>&lt;/script&gt;<br/></td></tr></tbody></table>
1<br/>
1<br/>

======

1<br/>

强制点击广告大法(2):点了图象才能看到链接.可用于强制点击广告

1<br/>
1<br/>

第一步:把如下代码加入<head>区域中

1<br/>
1<br/>
1<table border="0" cellpadding="0" cellspacing="1" class="ubb_code" width="90%">
2<tbody>
3<tr>
4<td>&lt;SCRIPT language="JavaScript"&gt;<br/>&lt;!--<br/>function MM_showHideLayers() { //v2.0<br/>var i, visStr, args, theObj;<br/>args = MM_showHideLayers.arguments;<br/>for (i=0; i&lt;(args.length-2); i+=3) { //with arg triples (objNS,objIE,visStr)<br/>visStr = args[i+2];<br/>if (navigator.appName == 'Netscape' &amp;&amp; document.layers != null) {<br/>theObj = eval(args[i]);<br/>if (theObj) theObj.visibility = visStr;<br/>} else if (document.all != null) { //IE<br/>if (visStr == 'show') visStr = 'visible'; //convert vals<br/>if (visStr == 'hide') visStr = 'hidden';<br/>theObj = eval(args[i+1]);<br/>if (theObj) theObj.style.visibility = visStr;<br/>} }<br/>}<br/><br/>function MM_preloadImages() { //v2.0<br/>if (document.images) {<br/>var imgFiles = MM_preloadImages.arguments;<br/>if (document.preloadArray==null) document.preloadArray = new Array();<br/>var i = document.preloadArray.length;<br/>with (document) for (var j=0; j&lt;imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){<br/>preloadArray[i] = new Image;<br/>preloadArray[i++].src = imgFiles[j];<br/>} }<br/>}<br/>//--&gt;<br/><br/>&lt;/SCRIPT&gt;<br/></td></tr></tbody></table>
1<br/>
1<br/>

第二步:在<body>区中加入如下代码

1<br/>
1<br/>
1<table border="0" cellpadding="0" cellspacing="1" class="ubb_code" width="90%">
2<tbody>
3<tr>
4<td>&lt;div id="Layer1" style="position:absolute; left:240px; top:175px; width:306px; height:63px; z-index:1; visibility: hidden"&gt;&lt;a href="<a href='http://e47.okof.com"' target="_blank">http://e47.okof.com"</a>&gt;&lt;font color=green size="5" face="隶书"&gt;带你去一个意想不到的地方!&lt;/font&gt;&lt;/a&gt;&lt;/font&gt;&lt;/div&gt;<br/>&lt;div id="Layer2" style="position:absolute; left:280px; top:237px; width:147px; height:82px; z-index:2; visibility: visible"&gt; <br/>&lt;p align="center"&gt;&lt;a href="<a href='http://www.vipcn.com"' target="_blank">http://www.vipcn.com"</a> target="_blank"&gt; <br/>&lt;img SRC="<a href='http://www.vipcn.com/skill/mm.jpg"' target="_blank">http://www.vipcn.com/skill/mm.jpg"</a> border="0" onMouseDown="MM_showHideLayers('document.layers[\'Layer1\']','document.all[\'Layer1\']','show')"&gt;&lt;/a&gt;&lt;/font&gt;&lt;br&gt;<br/>&lt;/p&gt;<br/>&lt;/div&gt;<br/>
5</td></tr></tbody>
6</table>
1<br/>
1<br/>

第三步:把<body>区中内容改为:

1<br/>
1<table border="0" cellpadding="0" cellspacing="1" class="ubb_code" width="90%">
2<tbody>
3<tr>
4<td>&lt;body bgcolor="#fef4d9" onLoad="MM_preloadImages()"&gt;</td></tr></tbody></table>
1<br/>
1<br/>
1<br/>

===================

1<br/>

强制点击广告大法(3):两个文字链接要先后点击,否则就跳出警告框

1<br/>
1<br/>

第一步:把如下代码加入<head>区域中

1<br/>
1<table border="0" cellpadding="0" cellspacing="1" class="ubb_code" width="90%">
2<tbody>
3<tr>
4<td>&lt;script language="JavaScript"&gt;<br/>var num = 2; <br/>var mypage = '<a href=" http://e47.okof.com' ;" target="_blank">http://e47.okof.com';</a> <br/>var pissoff = ' 请先点击上面链接 ';<br/>allow = Array();<br/>allow[num] = 2;<br/>function gotoit(link){<br/>if (link != num){<br/>allow[link] = 2;<br/>} else {<br/>for (i=1;i&lt;=num;i++){<br/>if (allow[i] != 2){<br/>i = num + 1;<br/>lemmeIn = 0;<br/>} else {<br/>lemmeIn = 1;<br/>}<br/>}<br/>if (lemmeIn == 1){<br/>window.location = mypage;<br/>} else {<br/>alert(pissoff);<br/>}<br/>}<br/>}<br/>//---&gt;<br/>&lt;/script&gt;<br/></td></tr></tbody></table>
1<br/>
1<br/>

第二步:把如下代码加入<body>区域中

1<br/>
1<table border="0" cellpadding="0" cellspacing="1" class="ubb_code" width="90%">
2<tbody>
3<tr>
4<td>&lt;a href="<a href='http://www.vipcn.com"' target="_blank">http://www.vipcn.com"</a> onClick="gotoit(1)" target="_blank"&gt;&lt;u&gt;先帮忙点击这里&lt;/u&gt;&lt;/a&gt;&lt;BR&gt;<br/>&lt;a href="javascript:gotoit(num)"&gt;&lt;u&gt;下载本站所有页面&lt;/u&gt;&lt;/a&gt;</td></tr></tbody></table>
1<br/>
Published At
Categories with 站长专区
Tagged with
comments powered by Disqus