Code: Select all
<script type="text/javascript">
000adtop111
</script>
Code: Select all
<script type="text/javascript" 333adtop444>
000111
</script>
Code: Select all
[Patterns]
Name = "Killad script_content"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 800
Match = "$NEST(<script[^>]+>,*adtop*</script>)"
请教:如果只以标签之间的内容为关键字过滤,而不是过滤标签属性值,正确规则写法怎样?谢谢!
26 Dec 2009, 21:38:
尝试这样写,似乎能满足我的要求。
Code: Select all
[Patterns]
Name = "Killad script_content"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 800
Match = "$NEST(<script[^>]+>,(\1&&*adtop*),</script>)"