[Patterns]
Name = "
... Remove/Hide: Ad Containers - Headers 8.12.25 [sd] (d.3 l.3)"
Active = TRUE
URL = "$TYPE(htm)(^$TST(keyword=*.(a_ads|a_adcont|a_adcont_h|i_level:[12]).*))"
Limit = 4500
Match = "<(div|td|center)\0(^$TST(script=*)|$TST(comment=1)|$TST(tNoscript=1))[^>]+("
"(> <(font|br+|img|h[1-6]|p|s(mall|pan|trong)|!--[^\n]++--)\6[^>]+)+>"
"( (^<(!-|/+(div|td|center)))[^>]+(>)\4)++{0,1} (^<)(\&[a-z]+; |[^a-z])+"
")\8"
"("
"(a(d(vert(isers|s|)|s|)(^-) |n(nunci|zeigen+ ))|marketplace )(^[a-z0-9ä_+])"
"|(ad(s\sby\s|vert(enti|isem))|pubb+lici(dad|t[àeé&])|(\w |)sponsor(^ed[a-z])"
"|(from|visit) our (advertiser|partner|sponsor))[a-z0-9 ]+{0,23} (^[a-z0-9])"
")\2"
""
"("
"$TST(keyword=(^*.i_adtag:[#*:0].)\7)"
"$INEST(<$TST(\0),(*("
"<(t(able|body|foot|d|r|h)|div)\5$INEST(<$TST(\5),$TST(\5))$TST(\5) >"
"|(<(/|)(t(able|body|foot|d|r|h)|div)*> )\#"
"))+*,$TST(\0))$TST(\0) >$TST(\0=td$SET(#=
)$SET(3= | )|*)"
"|"
"(^$TST(\7=*)&$TST(\4=>)|$TST(\6=span)|$TST(\7=*.i_adtag:[12].*))"
"$SET(1=-hide)$SET(3=<\0 style="display:none!important"\8\2)"
")"
"($TST(volat=*.log:2*)$ADDLST(Log-Main,[$DTM(d T)]\tWEB Ad-Head\1 \0 \t\6 \4\2 \t\u)|)"
Replace = "\@"
"• \0-head\1: \4\2\3"