Post Reply 
[F] "Google Images: Direct Links" filter update
Apr. 27, 2011, 02:11 AM
Post: #15
RE: "Google Images: Direct Links" filter update
Google Images appears to have added a new address.

Please test the following changes.

Exceptions.ptxt

Code:
# Google Search - results pages
#www.google.(*/)+{1}search\?
#  $SET(0=a_ads.a_target.i_popup_b:0.i_timer:2.i_noscr:3.)
www.google.(*/)+{1}search\?(^*\&tbm=isch)
  $SET(0=a_ads.a_target.i_popup_b:0.i_timer:2.i_noscr:3.)

# iGoogle
www.google.(*/)+{1}ig([?/]|(^?))        $SET(0=a_cookiecont.)$SET(1=addim:0.)

# Set default flags for all www.google URLs.
# If in Half-SSL mode, allow "https:" protocols in query strings and in posted
# data for all https links, including those that are matched by other entries.
www.google.
  $SET(keyword=.a_rdlink.f_cookie.)$SET(sCookieP=0)
  $SET(sCookieF=PREF=ID=3003added0032123:FF=4:NR=100:CR=2:SG=0)
  (com/$URL(http://https-px-.)$SET(keyword=$GET(keyword)a_ssl_q.)|)PrxFail$TST()

# Google Images
#www.google.(*/)+{1}images\?     $SET(sUserFn=§c&&c.getElementById§)$SET(sUserFnR=!)
www.google.(*/)+{1}(images\?|search\?(as_)+q=*\&tbm=isch)
  $SET(0=a_rdlink.f_cookie.)$SET(sCookieP=0)
  $SET(sCookieF=PREF=ID=3003added0032123:FF=4:NR=100:CR=2:SG=0)
  $SET(sUserFn=§c&&c.getElementById§)$SET(sUserFnR=!)

Code:
[Patterns]
Name = "Google Search: Alternate Display     11.04.26 (multi) [sd ku] (d.s)"
Active = TRUE
Multi = TRUE
URL = "$TST(hCT=*html)www.google.(*/)+{1}(intl/(*/)+{1}(^?)|search\?(^*\&tbm=isch)|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">\r\n"
        "/* Proxomitron "Google Alternate" CSS import */\r\n"
        "@import url(http://local.ptron/sidki_h_$GET(cfg)/Google/google-css-alt.css);\r\n\r\n"
        "/*prox-dummy*/</style>\r\n"
        ")"
        "|"
        "<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="
        "$AVQ(("+g)\#((\s*|")\#|))("
        "((^ style=$AV(margin-(left|right)*))($TST(a=odd)$SET(a=even)|$SET(a=odd))|)$SET(3=$GET(a))"
        ")(*<a)\#"
        "(*( href=$AV(/interstitial\?url\=h\9|((*/)+{1}/(*/)+{1})\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=\#&#x20;\3\#\#\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"

Name = ". + Google Toggle: Left NavBar     11.04.26 (!nn multi) [ozo] (d.s)"
Active = TRUE
Multi = TRUE
URL = "$TST(hCT=*html)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))(*/)+{1}(intl/(*/)+{1}(^?)|search\?(^*\&tbm=isch)|webhp|(^?))"
Limit = 256
Match = "<("
        "style( id="themed">*\*prox-dummy\*/)\2"
        "$SET(1="
        "<style\2\r\n/* Proxomitron LeftNav adjustments */\r\n"
        "#leftnav {visibility: hidden;}\r\n"
        "#center_col {margin-left: 0 ;border: none;}\r\n"
        "#prox-navtoggle {\r\n"
        "  position: absolute; top: -17px; left: 10px; cursor: pointer;\r\n"
        "  color: #AAAAAA !important; font-size: 13px;\r\n"
        "}\r\n"
        ")"
        ""
        "|div id=($AV(leftnav))\2$STOP()"
        "$SET(1="
        "\r\n\r\n<!-- PROX-S: Inserted by Google LeftNav Toggle -->\r\n"
        "<div id="prox-navtoggle" onclick="(function(){"
        "var c=document.getElementById('leftnav').style;c.visibility=c.visibility=='visible'?'hidden':'visible'"
        "})();">&#9660;&#160;Navigation</div>\r\n\r\n<div id=\2 class="prox-nav""
        ")"
        ")"
Replace = "\1"

Name = ". + Google Theme: Dark Blue     11.04.26 (!nn) [vc sd st] (d.s)"
Active = TRUE
URL = "$TST(hCT=*html)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))(*/)+{1}(intl/(*/)+{1}(^?)|search\?(^*\&tbm=isch)|webhp|(^?))"
Limit = 512
Match = "<("
        "img("
        "$INEST(<img,*src=$AV((*/|*_|)logo*)*,>)"
        "&&*width=([#267:400]$SET(6=-mn)|[#140:160])*|*height=$AV(110)$SET(6=-mn)*"
        ")>( <br>|)$SET(1=<span id="logo\6"></span>)"
        "|div($INEST(<div,*/logo*,>)&&*width : [#267:400]px*)>$SET(1=<div align="left" id="logo-mn">)"
        "|a\s((*>)+{1})\2 <img[^>]++src="
        "$AV(*/(logo_(google_suggest_$SET(3= class="logo-sg")$SET(4=Suggest)|)|experimental_)sm*)"
        "*>$SET(1=<a id="logo"\3 \2\4<span>&#160;</span>)"
        "|font([^>]++)\2color=$AV(#+(008000|6f6f6f|666666|cc00(00|33))|green)$SET(1=<font\2id="high")"
        "|style id="themed">\0/\*prox-dummy\*/"
        "("
        "$TST(hOrigUA=*msie(^*opera)*)"
        "$SET(5=: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader\(src=)"
        "|$SET(5=-repeat: no-repeat; background-position: top left; background-image: url\()"
        ")"
        "$SET(1="
        "<style type="text/css">\0"
        "/* Proxomitron "Google Dark" CSS import */\r\n"
        "@import url(http://local.ptron/sidki_h_$GET(cfg)/Google/google-css-dark.css);\r\n\r\n"
        "/* Proxomitron dark blue Google theme */\r\n"
        "body {background: #253960"
        " url(http://local.ptron/sidki_h_$GET(cfg)/Google/google-bg-blue.png) repeat-x !important;}\r\n"
        "#logo-mn {display: block; margin-top: 7%; width: 281px; height: 103px;"
        " background\5http://local.ptron/sidki_h_$GET(cfg)/Google/google-logo-m.png\);}\r\n"
        "a#logo {background\5http://local.ptron/sidki_h_$GET(cfg)/Google/google-logo-s.png\);}\r\n"
        "a#logo img {visibility: hidden;}\r\n"
        "span#more, div#gbardd, .gb2, .mbEnd, table.ra, table.ra td, div#ss-box, div#po-box, div.prox-nav"
        " {background: #172E59 !important;}\r\n"
        "table.t.bt, .pb, #ssb, #bsf {background: #405882 !important;}\r\n"
        ".even {background: #334B7B;}\r\n"
        ")"
        ")"
        "|\&copy;( [#*:*])\2("
        "( Google)\3( </font>| - <a)\4"
        "|( - <a)\4$SET(3= <a href=""
        "http://elizar.palad.info/blog/before-google-there-was-googel-or-was-it-googol/"
        "">Gooogle</a>))$SET(1=&copy;\2\3 - Theme by <a href="http://www.valacar.com/">Valacar</a>\4)"
Replace = "\1"

Name = ". + Google Theme: Dark Gray     11.04.26 (!nn) [vc sd st] (o.s)"
Active = FALSE
URL = "$TST(hCT=*html)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))(*/)+{1}(intl/(*/)+{1}(^?)|search\?(^*\&tbm=isch)|webhp|(^?))"
Limit = 512
Match = "<("
        "img("
        "$INEST(<img,*src=$AV((*/|*_|)logo*)*,>)"
        "&&*width=([#267:400]$SET(6=-mn)|[#140:160])*|*height=$AV(110)$SET(6=-mn)*"
        ")>( <br>|)$SET(1=<span id="logo\6"></span>)"
        "|div($INEST(<div,*/logo*,>)&&*width : [#267:400]px*)>$SET(1=<div align="left" id="logo-mn">)"
        "|a\s((*>)+{1})\2 <img[^>]++src="
        "$AV(*/(logo_(google_suggest_$SET(3= class="logo-sg")$SET(4=Suggest)|)|experimental_)sm*)"
        "*>$SET(1=<a id="logo"\3 \2\4<span>&#160;</span>)"
        "|font([^>]++)\2color=$AV(#+(008000|6f6f6f|666666|cc00(00|33))|green)$SET(1=<font\2id="high")"
        "|style id="themed">\0/\*prox-dummy\*/"
        "("
        "$TST(hOrigUA=*msie(^*opera)*)"
        "$SET(5=: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader\(src=)"
        "|$SET(5=-repeat: no-repeat; background-position: top left; background-image: url\()"
        ")"
        "$SET(1="
        "<style type="text/css">\0"
        "/* Proxomitron "Google Dark" CSS import */\r\n"
        "@import url(http://local.ptron/sidki_h_$GET(cfg)/Google/google-css-dark.css);\r\n\r\n"
        "/* Proxomitron dark gray Google theme */\r\n"
        "body {background: #333333"
        " url(http://local.ptron/sidki_h_$GET(cfg)/Google/google-bg-gray.png) repeat-x !important;}\r\n"
        "#logo-mn {display: block; margin-top: 7%; width: 281px; height: 103px;"
        " background\5http://local.ptron/sidki_h_$GET(cfg)/Google/google-logo-m.png\);}\r\n"
        "a#logo {background\5http://local.ptron/sidki_h_$GET(cfg)/Google/google-logo-s.png\);}\r\n"
        "a#logo img {visibility: hidden;}\r\n"
        "span#more, div#gbardd, .gb2, .mbEnd, table.ra, table.ra td, div#ss-box, div#po-box, div.prox-nav"
        " {background: #272627 !important;}\r\n"
        "table.t.bt, .pb, #ssb, #bsf {background: #606060 !important;}\r\n"
        ".even {background: #454343;}\r\n"
        ")"
        ")"
        "|\&copy;( [#*:*])\2("
        "( Google)\3( </font>| - <a)\4"
        "|( - <a)\4$SET(3= <a href=""
        "http://elizar.palad.info/blog/before-google-there-was-googel-or-was-it-googol/"
        "">Gooogle</a>))$SET(1=&copy;\2\3 - Theme by <a href="http://www.valacar.com/">Valacar</a>\4)"
Replace = "\1"

Name = ". + Google Theme: Light Blue     11.04.26 (!nn) [...] (o.s)"
Active = FALSE
URL = "$TST(hCT=*html)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))(*/)+{1}(intl/(*/)+{1}(^?)|search\?(^*\&tbm=isch)|webhp|(^?))"
Limit = 256
Match = "<style id="themed">"
        "$STOP(Code by: JD5000, sidki, Kye-U, ProxRocks, OZO)"
        "\1/\*prox-dummy\*/"
Replace = "<style type="text/css">\1"
          "/* Proxomitron light blue Google theme */\r\n"
          "body {margin-right: 1%;}\r\n"
          ".odd {background: #EFF6FF;}\r\n"
          ".even {background: #DFEFFF;}\r\n"
          "a:link, a:link span, .q a:link, a.prox-atop:visited {color: #0C5AA9;}\r\n"
          "a:visited {color: #087D7E;}\r\n"
          "a.l:hover {text-decoration: underline !important;}\r\n"
          "a:hover, a:hover span, a:visited:hover, .g .fl:hover {color: #1689FF;}\r\n"

Name = "Google Search: Add Modifier Links     11.04.26 (multi) [sd] (d.s)"
Active = TRUE
Multi = TRUE
URL = "$TST(hCT=*html)www.google.(*/)+{1}(intl/(*/)+{1}(^?)|search\?(^*\&tbm=isch)|webhp|(^?))"
Limit = 5500
Match = "<!-- PROX: Body Insertion Ends -->$SET(a=\q)("
        "$TST(a=("
        "(\?)\0complete=1(\&hl=en|)(\&\2|)|\0\&complete=1(\&hl=en|) \2"
        "|(*[?&]hl=en|$SET(9=&hl=en))$SET(5=<a class=prox-atop href="\u&complete=1\9">Autocomplete</a>)*"
        ")"
        "&(\4\&esrch=BetaShortcuts\6|$SET(s=<a class=prox-atop href="\u&esrch=BetaShortcuts">Shortcuts</a>)*)"
        ")"
        "("
        "$TST(\0="
        "?$SET(#=<a class=prox-atop href="$GET(uProt)//$GET(uHost)\p)"
        "(?*|$TST(\2=*))$SET(#=\0\2">Reset</a>)|$SET(#=">Reset</a>)"
        ")"
        "|$TST(\4=*)$SET(#=<a class=prox-atop href="$GET(uProt)//$GET(uHost)\p\4\6">Reset</a>)|"
        ")"
        "|(^$TST(a=*))"
        "$SET(5=<a class=prox-atop href="$GET(uProt)//$GET(uHost)/webhp?complete=1&hl=en">Autocomplete</a>)"
        ")"
        "("
        "$TST(\0=*)($TST(\4=*)|$TST(uFile=webhp))$SET(8=\@)"
        "|$TST(\0=*)$SET(8=\@&#160;|&#160;$GET(s))"
        "|$TST(\4=*)$SET(8=\@&#160;|&#160;\5)"
        "|($TST(uFile=webhp)|(^$TST(a=*)))$SET(8=\5)"
        "|$SET(8=\5&#160;|&#160;$GET(s))"
        ")"
        ""
        "("
        "(^(^ <("
        "center>( <table(*>)+{1} <tr(*>)+{1} <td*>)+{0,1}"
        "|table(*>)+{1} <tr(*>)+{1}( <form*>)+{0,1} <td(*>)+{1} <a(*>)+{1}"
        ") <img src=$AV([a-z]+/*)))"
        "$SET(1="
        "<!-- PROX: Body Insertion Ends -->\r\n<table border="0" cellspacing="0" cellpadding="0" width="100%">"
        "<tr><td align="right2 nowrap><font size="-1">\8</font></td></tr></table>"
        ")"
        "|"
        "( ($NEST(<noscript,</noscript >) |$NEST(<textarea,</textarea >)"
        " |$NEST(<script,</script >) |$NEST(<iframe,</iframe >)"
        " )+(<span*> )+<div)\3"
        "(*>(\&nbsp;\|\&nbsp;|\ \|\ |))\7(^(^"
        " <a[^>]++href="+https(*<)+{1}(^img|span)"
        "))(^$TST(\7=*<img(^[^>]++height=$AV(1))*))"
        "$SET(1=<!-- PROX: Body Insertion Ends -->\3\7\8&#160;|&#160;)"
        "|$SET(a=)$SET(s=)PrxFail$TST()"
        ")"
Replace = "\1$SET(a=)$SET(s=)"

Name = "Google Images: Direct Links     11.04.26 [po] (d.s)"
Active = TRUE
URL = "$TST(hCT=*html)(images.google.|www.google.(*/)+{1}images\?|www.google.*\&tbm=isch)"
Bounds = "<a\s*>"
Limit = 1024
Match = "*/imgres\?imgurl\=\1\&(amp;)+imgrefurl\=\2\&*"
Replace = "<a class="Pr0XFlPref" href="\1" onmouseover="prxO.oFly.flShow(prxO.oFly.flLink("
          "'Originating&#160;Page','\2'),event,1);" onmouseout="prxO.oFly.flDHide();">"


HTH
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: "Google Images: Direct Links" filter update - JJoe - Apr. 27, 2011 02:11 AM

Forum Jump: