Post Reply 
[Kye-U] Google Alternate Display...
Jun. 27, 2009, 11:50 AM (This post was last modified: Jun. 27, 2009 11:58 AM by sidki3003.)
Post: #22
RE: [Kye-U] Google Alternate Display...
Ahh yes. Thanks for the heads-up. Smile!

Styling <br> does work for me in Firefox 3, but not in IE6 and Opera 9. In fact, for latter browsers i can't find *any* vertical adjustment that works with <br>. As for <div>, i don't like to get warnings by validators about config generated code, in this case "element is empty".

Also, i just noticed that the vertical <cite> adjustment didn't work for all search results anyway. So i'd suggest simplifying "Google Search: Alternate Display" and styling <cite> instead. Below filter is for the alpha. For the 2/13 version, adjust accordingly. I think the only critical difference is: $TST(hCT=*html) <-> $TYPE(htm)

Code:
[Patterns]
Name = "Google Search: Alternate Display     09.06.27 (multi) [sd ku] (d.s)"
Active = TRUE
Multi = TRUE
URL = "$TST(hCT=*html)www.google.[^/]+/(intl/[^/]+/(^?)|search\?|webhp|(^?))$SET(keyword=$TST(keyword=\1.(i_layout:[#*:0].)+\2)\1.i_layout:2.\2)"
Limit = 2048
Match = "(^?)$SET(a=)$SET(b=)$STOP()"
        "|"
        "<br>(\r\n+|\n\r+)$SET(1= )"
        "|"
        "<("
        "/b> of (about )+<b>[0-9,]+</b> ((from|over the) $NEST(<b>,</b >) )+for <b>( <b>)+[^<]+"
        "&&((<*>|?)+{95})\2???$SET(1=<\2...)*"
        ")"
        "|"
        "</style >(^$TST(b=s))$SET(b=s)$SET(1="
        "</style>\r\n<script type="text/javascript">"
        "var prxSpics=["http://local.ptron/sidki_h_$GET(cfg)/Google/google-","
        "new Image(),new Image(),new Image()];"
        "prxSpics[1].src=prxSpics[0]+"bug.png";prxSpics[2].src=prxSpics[0]+"top.png";"
        "prxSpics[3].src=prxSpics[0]+"new.png";"
        "</script>"
        "\r\n<style id="themed"></style>"
        ")"
        "|"
        "<div ("
        "id=("
        "$AV(ie6tb)>$INEST(<div,</div)</div >( $NEST(<script,</script >))+"
        "|$AV(exp_msgs)$INEST(<div,</div)</div >"
        ")"
        "|style=$AV(margin : -5px 0 5px)$INEST(<div,</div)</div >"
        ")"
        "|"
        "<(div|li)\2 class="
        "$AV(g(\s*|))("
        "((^ style=$AV(margin-(left|right)*))($TST(a=odd)$SET(a=even)|$SET(a=odd))|)$SET(#=$GET(a))"
        ")(*<a)\#"
        "(*( href=$AV(/interstitial\?url\=h\9|([^/]+//[^/]+/)\9?*|*))\5*</a >)\4"
        "($TST(\9=t$SET(0="
        "<a href="h\9"><img src="http://local.ptron/sidki_h_$GET(cfg)/Google/google-bug.png""
        " width=16 height=10 border=0 title="Malware warning!"></a>&#160;&#160;"
        ")*|$SET(0="
        "<a href="\9"><img src="http://local.ptron/sidki_h_$GET(cfg)/Google/google-top.png""
        " width=10 height=10 border=0 title="Go to top domain"></a>&#160;&#160;"
        ")*)|)"
        "$SET(1="
        "<\2 class=g&#x20;\#\#\4&#160;&#160;\0"
        "<a\5 target=_blank><img src="http://local.ptron/sidki_h_$GET(cfg)/Google/google-new.png""
        " width=14 height=10 border=0 title="Open in new window"></a>&#160;&#160;"
        ")"
Replace = "\1"


Light blue filter:
cite {line-height: 18px;}\r\n

CSS for dark themes:
cite { line-height: 18px; }
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [Kye-U] Google Alternate Display... - OZO - Jun. 27, 2009, 06:46 AM
RE: [Kye-U] Google Alternate Display... - sidki3003 - Jun. 27, 2009 11:50 AM
RE: [Kye-U] Google Alternate Display... - OZO - Jun. 27, 2009, 07:43 PM

Forum Jump: