返回列表 发帖

[TheWorld 3] 请问这样的广告应该怎么查呢???

本帖最后由 qqef110 于 2009-12-20 14:34 编辑

想学写一个广告过滤。。。但是找不到那部分才是,所以来请教一下http://www.notxuinpa.org/bbs/index.php

unamed1261290851.jpg (139.28 KB)

unamed1261290851.jpg

兄弟,这我就帮不了你了

TOP

应该在前面吧

TOP

那个弹窗好像是adx.js,楼主不妨试试。

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <adfilter>
  3. <version>1.0</version>        
  4.   <rules>
  5.     <rule>
  6.       <name>notxuinpa</name>
  7.       <domains>
  8.         <domain>
  9.           <include>
  10.             <![CDATA[*notxuinpa.org*]]>
  11.           </include>
  12.         </domain>
  13.       </domains>
  14.       <pattern type="1">
  15.           <targets>
  16.             <param>
  17.               <![CDATA[script]]>
  18.             </param>
  19.           </targets>
  20.           <pattern type="2">
  21.               <targets>
  22.                 <param>
  23.                   <![CDATA[adx.js]]>
  24.                 </param>
  25.                 <replace>
  26.                   <![CDATA[<!--AD-->]]>
  27.                 </replace>
  28.               </targets>
  29.           </pattern>
  30.       </pattern>
  31.     </rule>
  32.   </rules>
  33. </adfilter>
复制代码

TOP

那个弹窗好像是adx.js,楼主不妨试试。



1.0        
  
   
      notxuinpa
      
        
         
            
         
        
      
      
         
            
         ...
april 发表于 2009-12-20 16:41 http://bbs.ioage.com/cn/images/common/back.gif
那么大概怎样判断呢???因为是新手。。。只想初步知道怎样判断那段是广告。。。

TOP

提示: 作者被禁止或删除 内容自动屏蔽
http://valid.canardpc.com/cache/banner/2854499.png
新浪/腾讯/饭否@小蛐蛐   twitter @jiayiming
如有过滤规则需要更新,请尽量原帖反馈提醒。

TOP

js脚本广告的话除了用一些辅助工具或者把js下载下来打开看没有什么很好的办法
jym2005 发表于 2009-12-20 20:15 http://bbs.ioage.com/cn/images/common/back.gif
谢谢了。。。
http://www.notxuinpa.org/bbs/viewthread.php?tid=3890309&extra=page%3D1
还有一个问题。。。下图中间横幅的广告。。。查源文件是知道了
  1. <div align="center" id="addm2" height="90px"><a href='/click/adclick.php?bannerid=1051&amp;zoneid=0&amp;source=&amp;dest=http%3A%2F%2Fwww.gamania.com.hk%2Ffantasyearthzero%2F' target='_blank'><img src='/ad/FEZ_760x90_0912-1218-m381h2d.jpg' width='728' height='90' alt='' title='' border='0'></a><div id="beacon_1051" style="position: absolute; left: 0px; top: 0px; visibility: hidden;"><img src='/click/adlog.php?bannerid=1051&amp;clientid=40&amp;zoneid=0&amp;source=&amp;block=0&amp;capping=0&amp;cb=c130bbee31384feda9fb80e46cd59c32' width='0' height='0' alt='' style='width: 0px; height: 0px;'></div></div>
复制代码
然后按照教程的话。。。
<div align="center" id="addm2" height="90px">
是不是要过滤的地方???

unamed1261311948.jpg (81.49 KB)

unamed1261311948.jpg

TOP

提示: 作者被禁止或删除 内容自动屏蔽
http://valid.canardpc.com/cache/banner/2854499.png
新浪/腾讯/饭否@小蛐蛐   twitter @jiayiming
如有过滤规则需要更新,请尽量原帖反馈提醒。

TOP

应该是的
jym2005 发表于 2009-12-20 20:34 http://bbs.ioage.com/cn/images/common/back.gif
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <adfilter>
  3. <version>1.0</version>        
  4.   <rules>
  5.     <rule>
  6.       <name>notxuinpa</name>
  7.       <domains>
  8.         <domain>
  9.           <include>
  10.              <![CDATA[*notxuinpa.org*]]>
  11.           </include>
  12.         </domain>
  13.       </domains>
  14.       <pattern type="1">
  15.           <targets>
  16.             <param>
  17.               <![CDATA[div align="center"]]>
  18.             </param>
  19.           </targets>
  20.           <pattern type="3">
  21.               <targets>
  22.                 <param>
  23.                   <![CDATA[id="addm2"]]>
  24.                 </param>
  25.                 <replace>
  26.                   <![CDATA[<!--AD Blocked By TheWorld 3-->]]>
  27.                 </replace>
  28.               </targets>
  29.           </pattern>
  30.       </pattern>
  31.     </rule>
  32.   </rules>
  33. </adfilter>
复制代码
这样???

TOP

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <adfilter>
  3. <version>1.0</version>
  4. <rules>
  5. <rule>
  6. <name>notxuinpa</name>
  7. <domains>
  8. <domain>
  9. <include>
  10. <![CDATA[*notxuinpa.org*]]>
  11. </include>
  12. </domain>
  13. </domains>
  14. <pattern type="1">
  15. <targets>
  16. <param>
  17. <![CDATA[div]]>
  18. </param>
  19. </targets>
  20. <pattern type="3">
  21. <targets>
  22. <param>
  23. <![CDATA[id="addm2"]]>
  24. </param>
  25. <replace>
  26. <![CDATA[<!--AD Blocked By TheWorld 3-->]]>
  27. </replace>
  28. </targets>
  29. </pattern>
  30. </pattern>
  31. </rule>
  32. </rules>
  33. </adfilter>
复制代码
世界之窗6QQ群:330611509

TOP

这样~~~~~~
世界之窗6QQ群:330611509

TOP

谢谢了。。。总算明白怎么过滤图片了

TOP

返回列表