1. div里的id和class包含敏感字段的,把它display:none了。
2. iframe js img embed里引用的链接中含敏感字段的,把链接删了。
Code: Select all
Name = "all div ads"
Active = TRUE
URL = "$TST(FLT=0)"
Bounds = "<div[^>]+>"
Limit = 256
Match = "(*\s(id)=["']\0["']*|*\s(class)=["']\0["']*)\1>$TST(\0=(*[^a-z%]|)$LST(adkey)([^a-z]*|))"
Replace = " \1 style="display:none !important;">"
Name = "all iframe js img embed ads"
Active = TRUE
URL = "$TST(FLT=0)"
Bounds = "<(iframe|script|img|embed)[^>]+>"
Limit = 256
Match = "\1src=["']\w[^a-z%]$LST(adkey)[^a-z]\w["']\2"
Replace = "\1\2"