阅读:1878回复:3
请问下面的广告如何拦截?
页面代码如下:
<tbody><tr><td><!--画中画广告开始--><table align="left" border="0" cellpadding="0" cellspacing="0"> <tbody><tr><td> <!--画中画广告开始--> <span><iframe style="display: none;" marginheight="0" marginwidth="0" src="http://273.adsina.allyes.com/main/adfshow?user=AFP6_for_SINA%7Cnews%7CchinaPIP&db=sina&border=0&local=yes" frameborder="0" height="300" scrolling="no" width="360"> <SCRIPT LANGUAGE="JavaScript1.1" SRC="http://273.adsina.allyes.com/main/adfshow?user=AFP6_for_SINA|news|chinaPIP&db=sina&local=yes&js=on"></SCRIPT> <NOSCRIPT><A HREF="http://273.adsina.allyes.com/main/adfclick?user=AFP6_for_SINA|news|chinaPIP&db=sina"><IMG SRC="http://273.adsina.allyes.com/main/adfshow?user=AFP6_for_SINA|news|chinaPIP&db=sina" WIDTH=360 HEIGHT=300 BORDER=0></a></NOSCRIPT></iframe></span> <!--画中画广告结束--> </td></tr></tbody></table><!--画中画广告结束--> </td></tr> <tr><td><!-- 画中画下文字链广告(从上至下顺序为01,02,03,04文字,需加class=a01)--> <table border="0" cellpadding="0" cellspacing="0" width="360"> <tbody><tr><td height="9"></td></tr> <tr><td> <table background="http://image2.sina.com.cn/dy/images/xfrd_02.gif" border="0" cellpadding="0" cellspacing="0" width="360"> <tbody><tr><td rowspan="2" height="45"><img src="http://ad4.sina.com.cn/shc/xfrd_01.GIF" border="0" height="45" width="70"></td><td style="padding-top: 4px; padding-left: 5px;" width="286"> <!--F70BB90BB6BA--><!--nwy/uc/A--> <script language="JavaScript"> ad1= "CBD珍藏阔邸"; link1= "http://sina.allyes.com/main/adfclick?db=sina&bid=51113,78860,78932&cid=0,0,0&sid=74275&advid=3245&camid=11464&show=ignore&url=http://www.worw.com/dqgj/"; //左上 ad2= "庭院盛宴压轴奥北"; link2= "http://sina.allyes.com/main/adfclick?db=sina&bid=51176,78945,79017&cid=0,0,0&sid=74349&advid=3197&camid=11490&show=ignore&url=http://www.wushuang.com.cn/"; //右上 ad3= "维吉奥商业招商!"; link3= "http://sina.allyes.com/main/adfclick?db=sina&bid=48822,76026,76086&cid=0,0,0&sid=71862&advid=2913&camid=11108&show=ignore&url=http://www.bjoct.com/"; //左下 ad4= "雷克萨斯LEXUS ES350"; link4= "http://sina.allyes.com/main/adfclick?db=sina&bid=51004,78737,78809&cid=0,0,0&sid=74165&advid=2300&camid=11446&show=ignore&url=http://ad.cn.doubleclick.net/clk;40667187;13727091;m?http://www.es350.com.cn"; //右下 //浏览器类型变量 var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1; //ie内容 function IEad(){ adCode = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="280" HEIGHT="40" id="ad_note" ALIGN=""><PARAM NAME=movie VALUE="http://image2.sina.com.cn/dy/zwyhzh/ad_note.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#FFFFFF> <param name="swLiveConnect" value="true"> ' +' <EMBED src="http://image2.sina.com.cn/dy/zwyhzh/ad_note.swf" quality=high wmode=transparent bgcolor=#FFFFFF WIDTH="280" HEIGHT="40" NAME="ad_note" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" swLiveConnect="true"></EMBED></OBJECT>' document.write(adCode); document.getElementById('ad_note').SetVariable("ad1", ad1); document.getElementById('ad_note').SetVariable("ad2", ad2); document.getElementById('ad_note').SetVariable("ad3", ad3); document.getElementById('ad_note').SetVariable("ad4", ad4); document.getElementById('ad_note').SetVariable("link1", link1); document.getElementById('ad_note').SetVariable("link2", link2); document.getElementById('ad_note').SetVariable("link3", link3); document.getElementById('ad_note').SetVariable("link4", link4); } //ns内容 function NSad(){ adCode = '<table width=286 border=0 cellpadding=0 cellspacing=0>' +'<tr height=20><td width=143 style="padding-top:5px;padding-left:5px"> <img src=http://image2.sina.com.cn/dy/images/xfrd_04.gif width=7 height=7> ' +'<a href='+ link1 +' class=a01 target=_blank>'+ ad1 +'</a>' +'</td><td width=143 style="padding-top:5px;"> <img src=http://image2.sina.com.cn/dy/images/xfrd_04.gif width=7 height=7> ' +'<a href='+ link2 +' class=a01 target=_blank>'+ ad2 +'</a>' +'</td></tr>' +'<tr height=20><td style="padding-left:5px"> <img src=http://image2.sina.com.cn/dy/images/xfrd_04.gif width=7 height=7> ' +'<a href='+ link3 +' class=a01 target=_blank>'+ ad3 +'</a>' +'</td><td> <img src=http://image2.sina.com.cn/dy/images/xfrd_04.gif width=7 height=7> ' +'<a href='+ link4 +' class=a01 target=_blank><SPAN ID="oSpan" UNSELECTABLE="on" >'+ ad4 +'</span></a></td></tr></table>' document.write(adCode); } //主过程 if(InternetExplorer == true){ IEad(); }else{ NSad(); } </script><table border="0" cellpadding="0" cellspacing="0" width="286"><tbody><tr height="20"><td style="padding-top: 5px; padding-left: 5px;" width="143"> <img src="http://image2.sina.com.cn/dy/images/xfrd_04.gif" height="7" width="7"> <a href="http://sina.allyes.com/main/adfclick?db=sina&bid=51113,78860,78932&cid=0,0,0&sid=74275&advid=3245&camid=11464&show=ignore&url=http://www.worw.com/dqgj/" class="a01" target="_blank">CBD珍藏阔邸</a></td><td style="padding-top: 5px;" width="143"> <img src="http://image2.sina.com.cn/dy/images/xfrd_04.gif" height="7" width="7"> <a href="http://sina.allyes.com/main/adfclick?db=sina&bid=51176,78945,79017&cid=0,0,0&sid=74349&advid=3197&camid=11490&show=ignore&url=http://www.wushuang.com.cn/" class="a01" target="_blank">庭院盛宴压轴奥北</a></td></tr><tr height="20"><td style="padding-left: 5px;"> <img src="http://image2.sina.com.cn/dy/images/xfrd_04.gif" height="7" width="7"> <a href="http://sina.allyes.com/main/adfclick?db=sina&bid=48822,76026,76086&cid=0,0,0&sid=71862&advid=2913&camid=11108&show=ignore&url=http://www.bjoct.com/" class="a01" target="_blank">维吉奥商业招商!</a></td><td> <img src="http://image2.sina.com.cn/dy/images/xfrd_04.gif" height="7" width="7"> <a href="http://sina.allyes.com/main/adfclick?db=sina&bid=51004,78737,78809&cid=0,0,0&sid=74165&advid=2300&camid=11446&show=ignore&url=http://ad.cn.doubleclick.net/clk;40667187;13727091;m?http://www.es350.com.cn" class="a01" target="_blank"><span id="oSpan" unselectable="on">雷克萨斯LEXUS ES350</span></a></td></tr></tbody></table> </td><td rowspan="2" width="4"><img src="http://image2.sina.com.cn/dy/images/xfrd_03.gif" height="45" width="4"></td></tr> </tbody></table> </td></tr> </tbody></table> </td></tr> </tbody> 地址在下面 http://news.sina.com.cn/c/2006-08-03/002210611447.shtml 就是文章中间消费热点那一块 |
|
1楼#
发布于:2006-08-03 02:17
请指点一二
|
|
2楼#
发布于:2006-08-03 02:17
rip
|
|
|
3楼#
发布于:2006-08-03 02:17
新浪的东西用油猴子就可以搞定了,下个脚本杀之
|
|
|