Post Reply 
[Kye-U] Google Ads...
Feb. 21, 2009, 11:01 AM
Post: #12
RE: [Kye-U] Google Ads...
Kye-U, the "topspace" div is (conditionally) inserted by "Google Search: Alternate Display", and is picked up by the CSS, IIRC to keep the top spacing stable for the different layouts. Dunno if it's still needed, but if not, it should be removed from the CSS as well.


I've got another glitch, only visible with "red chevron" (&esrch=BetaShortcuts) searches, which is my default. The filter missed it, because the survey domain changed from survey.google.com to survey.googleratings.com (other domains *might* follow).

Code:
<table class=ts align=center>
<tr><td style="background:#ff9;padding:5px;text-align:center">You are trying the
<b>Keyboard shortcuts</b> experiment.<br><a href="https://survey.googleratings.com/wix/p1231344.aspx">Take
our survey</a> | <a href="http://www.google.com/experimental/#BetaShortcuts">Return
to experiments overview</a></table>

Mod (after being nice and taking their survey): .google. -> .google(ratings|).


Since this is currently WIP anyway, i'd like to post a test version with table-slicing removed and multi-match turned off. Also, i've XXXed JD's old code, because i have no idea if it still matches. Someone just say "Stop!!", if i'm going too far. Wink

We did decide to drop the IP range test, right? So, with Kye-U's $INEST and sponsor fixes, and my survey fix, that would be:
Code:
[Patterns]
Name = "Google Search: Remove Ad Blocks     9.02.21 [sd ku jd] (d.s) TEST3"
Active = TRUE
URL = "$TYPE(htm)www.google."
Limit = 32766
Match = "<("
        "table[^>]++(id=$AV(mbEnd)$SET(#=mbEnd.)|XXXwidth=(25%$SET(#=width25.)|30%$SET(#=width30.)))"
        "$INEST(<table,</table)</table >"
        "|div("
        " style=[^>]+> <font$INEST(<div,*href=$AV(/history\?*)$SET(#=history-d.)*,</div)</div >"
        "|([^>]++id=$AV(tpa[0-9]+$SET(#=tpa.)|tads$SET(#=tads.)|side_section$SET(#=side.))"
        "|> <h2[^>]+>Sponsored$SET(#=sponsfloat.))$INEST(<div,</div)</div >"
        ")"
        "|table ("
        "cellpadding=0 cellspacing=0 border=0> <tr> <td valign[^>]+>( <font[^>]+>)+{2}([a-z]+ :)\#"
        "$INEST(<table,</table)</table >"
        "|[^>]+> <tr> <td (^class)[^>]+> (<(/td > <td[^<]+<|)(/+font[^<]+<)+|([^<]+</+br+ > )+<)"
        "a href=$AV("
        "/history\?$SET(#=history.)*"
        "|*//(tool(bar|s).|checkout.|desktop.|pack.|survey.|webaccelerator.)\#google(ratings|).*"
        ")$INEST(<table,</table)</table >( <br*>|)"
        "|[^>]++width=$AV(100%) style=$AV(border: 1px solid*)$INEST(<table,</table)</table >$SET(#=custom-ad.)"
        ")"
        "|center> <font$INEST(<center,"
        "*//(tool(bar|s).|checkout.|desktop.|pack.|webaccelerator.)\#google(ratings|).*"
        ",</center)</center >( <(br|p)>)+"
        "|td rowspan=[#2] > <a\s[^>/]+//(tool(bar|s)|checkout|desktop|pack|webaccelerator)\#.google(ratings|)."
        "$INEST(<td,</td)</td > </tr > <tr> $NEST(<td,</td >)$SET(#= td.)"
        "|p>( <font[^>]+>)+[^<]+<a\s[^>/]+//(books.)\#google.[^<]+</a >( </font >)+ <br>"
        "(^(^<br clear=all>|<table))"
        ""
        ")"
Replace = "\r\n<!-- PROX-S: Removed by Google Ad Links Filter (\@) -->\r\n\0"
          "$SET(sSpec=$GET(sSpec)\@)"
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
[Kye-U] Google Ads... - ProxRocks - Feb. 18, 2009, 02:43 PM
RE: [Kye-U] Google Ads... - Kye-U - Feb. 19, 2009, 05:01 AM
RE: [Kye-U] Google Ads... - sidki3003 - Feb. 19, 2009, 05:51 AM
RE: [Kye-U] Google Ads... - Kye-U - Feb. 19, 2009, 06:13 AM
RE: [Kye-U] Google Ads... - sidki3003 - Feb. 19, 2009, 06:27 AM
RE: [Kye-U] Google Ads... - Kye-U - Feb. 19, 2009, 06:31 AM
RE: [Kye-U] Google Ads... - sidki3003 - Feb. 19, 2009, 06:53 AM
RE: [Kye-U] Google Ads... - ProxRocks - Feb. 19, 2009, 09:27 AM
RE: [Kye-U] Google Ads... - sidki3003 - Feb. 19, 2009, 01:22 PM
RE: [Kye-U] Google Ads... - Kye-U - Feb. 21, 2009, 08:07 AM
RE: [Kye-U] Google Ads... - sidki3003 - Feb. 21, 2009 11:01 AM
RE: [Kye-U] Google Ads... - ProxRocks - Feb. 21, 2009, 12:38 PM
RE: [Kye-U] Google Ads... - sidki3003 - Mar. 03, 2009, 06:40 PM
RE: [Kye-U] Google Ads... - sidki3003 - Mar. 03, 2009, 10:24 PM
RE: [Kye-U] Google Ads... - Kye-U - Mar. 04, 2009, 04:41 AM

Forum Jump: