(May. 27, 2011 02:29 PM)whenever Wrote: I think it should be changed to:
I think I agree.
Code:
[Patterns]
Name = "Manage: Specific Containers on sel. Sites 11.05.26 [sd] (d.0) BugFixTest"
Active = TRUE
URL = "$TST(hCT=*html)($LST(AdKeys-S)|$TST(sAdKey=*))"
Limit = 5000
Match = "<(div|form|h[1-6]|img|li|p|s(pan|tyle)|table|td|ul)\1\s"
"(^$TST(comment=1)|$TST(tNoscript=1))([^>]++\s|)"
"("
"id=$AV(\4&$TST(sAdKey="
"(\6.$TST(\4=(($TST(\6)($TST(sAdKeyR=<!--exact(:$TST(\6)|--)*)|*))\7|*)))+"
"))$SET(3=id)"
"|class=$AV(\4&$TST(sAdKey="
"(\6.$TST(\4=(((*\s|)$TST(\6)($TST(sAdKeyR=<!--exact(:$TST(\6)|--)*)|*))\7|*)))+"
"))$SET(3=class)"
")"
""
"$TST(\7=*)("
"(^$TST(sAdKeyR=<!--(hide|protect|strip_[a-z]+)\8(:$TST(\4)|--)*))"
"$INEST(<$TST(\1),((^$TST(script=1*))|$TST(script=1*)(^*</script))*,</$TST(\1) >)</$TST(\1) >"
"("
"$TST(sAdKeyR=<!--dump(:$TST(\4)|--)*)$SET(5=\7)"
"|$TST(\1=td$SET(9=<td style=\0height:0;padding:0\0>)$SET(5=</td>)|*)"
")"
"|*>("
"$TST(\8=protect$SET(5=\7)|strip_(all$SET(5=<\1>)|att$SET(5=<\1 \3="\4">)))"
"|$SET(5=<\1 \3=\0\4\0 style=\0display:none!important\0>)($TST(\8=hide)|$SET(8=hidden))"
")$SET(2=-\8)"
")"
""
"|<iframe\s"
"([^>]++\s|)(id|class|name)\3=$AV(\4&$TST(sAdKey=(\6.$TST(\4=(($TST(\6)*)\7|*)))+))"
"$TST(\7=*)*>("
"(^$TST(sAdKeyR=<!--(hide|protect|strip_[a-z]+)\8(:$TST(\4)|--)*))"
"(*</iframe >|)($TST(tIframe=1)$SET(tIframe=)|)"
"|("
"$TST(\8=protect$SET(5=\7)|strip_(all$SET(5=<\1>)|att$SET(5=<\1 \3="\4">)))"
"|$SET(5=<\1 \3=\0\4\0 style=\0display:none!important\0>)($TST(\8=hide)|$SET(8=hidden))"
")$SET(2=-\8)$SET(tIframe=$GET(tIframe)1)"
")$SET(1=iframe)"
""
"&&\7&($TST(script=*)|$SET(0="))"
"&($TST(volat=*.log:2*)$ADDLST(Log-Main,[$DTM(d T)]\tWEB SiteSpec_\1\2 \t\3 \4 \t\u)|)"
Replace = "\9<span class=\0Pr0x Pr0xCntS\0 style=\0display:$GET(displayD)\0>"
"• SiteSpec-\1\2: \3 \4</span>$GET(sAdKeyR)\5"