Post Reply 
Tweak for Manage: Specific Containers on sel. Sites
Jul. 16, 2009, 04:15 PM (This post was last modified: Jul. 16, 2009 04:33 PM by sidki3003.)
Post: #11
RE: Blocklist Additions
Okay, let's try adding an "exact" modifier. Same all-or-one logic as with the other modifiers. Below filter is for the alpha.

Code:
[Patterns]
Name = "Manage: Specific Containers on sel. Sites     09.07.16 [sd] (d.0)"
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(\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($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=\0Prox&#x20;ProxCntS\0 style=\0display:$GET(displayD)\0>"
          "&#8226;&#160;SiteSpec-\1\2: \3 \4</span>$GET(sAdKeyR)\5"


whenever's case:
Code:
www.baidu.com/    $SET(sAdKey=.l.)$SET(sAdKeyR=<!--exact-->)

sh8an's case:
Code:
photofile.name/
  $SET(sAdKey=.c_right.rightWhite.bok.medialand_adland.pole_w.)
  $SET(sAdKeyR=<!--exact:pole_w-->)

edit: Thread split. Feel free to give it an appropriate name. Smile!
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Blocklist Additions - whenever - Jul. 11, 2009, 03:49 AM
RE: Blocklist Additions - sh8an - Jul. 11, 2009, 12:49 PM
RE: Blocklist Additions - whenever - Jul. 12, 2009, 03:08 AM
RE: Blocklist Additions - whenever - Jul. 15, 2009, 08:19 AM
RE: Blocklist Additions - sh8an - Jul. 15, 2009, 12:42 PM
RE: Blocklist Additions - whenever - Jul. 15, 2009, 03:51 PM
RE: Blocklist Additions - sidki3003 - Jul. 15, 2009, 04:34 PM
RE: Blocklist Additions - whenever - Jul. 16, 2009, 01:43 AM
RE: Blocklist Additions - sh8an - Jul. 16, 2009, 08:03 AM
RE: Blocklist Additions - sidki3003 - Jul. 16, 2009 04:15 PM

Forum Jump: