Board logo

标题: excelhome(excelhome.net)(2010.01.05) [打印本页]

作者: 三月飞絮    时间: 2010-1-5 14:56     标题: excelhome(excelhome.net)(2010.01.05)

本帖最后由 三月飞絮 于 2010-1-5 14:59 编辑

该规则不需要配合任何通用规则也可将excelhome的广告过滤干净。
http://www.ioage.com/rule.png

附规则源码以供交流讨论。

                <rule filtercount="0">
                        <name>excelhome</name>
                        <onlineupdate>
                                <downloadurl><![CDATA[http://bbs.ioage.com/cn/attachment.php?aid=88726]]></downloadurl>
                                <quotewebpage><![CDATA[http://bbs.ioage.com/cn/thread-133101-1-1.html]]></quotewebpage>
                        </onlineupdate>
                        <domains>
                                <domain>
                                        <include>
                                                <![CDATA[*.excelhome.net*]]>
                                        </include>
                                </domain>
                        </domains>
                        <pattern type="1">
                                <targets>
                                        <enable><![CDATA[1]]></enable>
                                        <param>
                                                <![CDATA[div]]>
                                        </param>
                                        <paramex>
                                                <![CDATA[margin-top|"ad_]]>
                                        </paramex>
                                        <replace>
                                                <![CDATA[<!--  blocked by 33  -->]]>
                                        </replace>
                                </targets>
                        </pattern>
                        <pattern type="1">
                                <targets>
                                        <enable><![CDATA[1]]></enable>
                                        <param>
                                                <![CDATA[iframe]]>
                                        </param>
                                        <paramex>
                                                <![CDATA[gga_|baiduframe]]>
                                        </paramex>
                                        <replace>
                                                <![CDATA[<!--  blocked by 33  -->]]>
                                        </replace>
                                </targets>
                        </pattern>
                        <pattern type="1">
                                <targets>
                                        <enable><![CDATA[1]]></enable>
                                        <param>
                                                <![CDATA[script]]>
                                        </param>
                                </targets>
                                <pattern type="2">
                                        <targets>
                                                <param>
                                                        <![CDATA[google|hide_ads|showads]]>
                                                </param>
                                                <replace>
                                                        <![CDATA[<!--  blocked by 33  -->]]>
                                                </replace>
                                        </targets>
                                </pattern>
                        </pattern>
                </rule>


附件: excelhome.xml (2010-1-5 14:58, 1.49 KB) / 下载次数 34733
http://bbs.theworld.cn/attachment.php?aid=88726&k=dc5015558e2b2532c27f7e5fc3fa9d7b&t=1714606613&sid=jKc76Z
作者: cantonadong    时间: 2010-1-5 16:05

谢谢,非常好。




欢迎光临 世界之窗论坛 (http://bbs.theworld.cn/) Powered by Discuz! 7.2