Post Reply 
Google Blue Theme Problem
Dec. 13, 2009, 12:36 PM
Post: #1
Google Blue Theme Problem
There seems to be a problem with the original Google logo not being replaced using http://www.google.ie

Any ideas how to fix this?

Thanks
Add Thank You Quote this message in a reply
Dec. 13, 2009, 10:28 PM
Post: #2
RE: Google Blue Theme Problem
(Dec. 13, 2009 12:36 PM)arpinux Wrote:  Any ideas how to fix this?

Try adding

Code:
[Patterns]
Name = ". + Google: Debrand Ireland for sidki's alt display (09.12.13)"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)www.google.ie/"
Limit = 700
Match = "<br clear=all id=lgpd> "
        "<table*</table>"
Replace = "<br clear=all id=lgpd>\r\n"
          "<img alt="Google" height=110 src="/intl/en_ALL/images/logo.gif" width=276 id=logo onload="window.lol&&lol()"><br>"

I put it above
". + Google Dark Blue Theme 9.06.06 (!nn) [vc sd st] (d.s)"
and the original Google logo was removed.

HTH
Add Thank You Quote this message in a reply
Dec. 14, 2009, 10:14 AM
Post: #3
RE: Google Blue Theme Problem
Thanks for the fix, it works properly now!
Add Thank You Quote this message in a reply
Dec. 14, 2009, 06:21 PM
Post: #4
RE: Google Blue Theme Problem
You are welcome.

Have fun

Notes:
SIDKI 2009-02-13 (UPDATE 06-06)
Opera 10.10
Ireland brand was
Code:
<br clear=all id=lgpd><table cellpadding=0 cellspacing=0 border=0>
<tr><td align=right valign=bottom><img src=images/hp0.gif width=158 height=78 alt="Google">
</td><td valign=bottom><img src=images/hp1.gif width=50 height=78 alt=""></td><td valign=bottom>
<img src=images/hp2.gif width=68 height=78 alt=""></td></tr><tr><td class=h align=right valign=top>
<b></b></td><td valign=top><img src=images/hp3.gif width=50 height=32 alt=""></td>
<td valign=top class=h><font color=#666666 style=font-size:16px><b>Ireland</b></font>
</td></tr></table>

Beta gets different code.
Add Thank You Quote this message in a reply
Dec. 22, 2009, 10:53 AM
Post: #5
RE: Google Blue Theme Problem
Google logo replacement broken again http://www.google.ie

Stupid holiday logo is showing.

Any other ideas?
Add Thank You Quote this message in a reply
Dec. 22, 2009, 11:04 AM
Post: #6
RE: Google Blue Theme Problem
the images URL contains the word "logo"...

i use this to block it -
Code:
Name = "Block & Fetch: Blacklisted Images {PFR 1.15.07}"
Active = TRUE
URL = "$TYPE(htm)(^$TST(keyword=*.b_img_src.*))"
Bounds = "<img\s*>"
Limit = 1024
Match = "<img*src=($AV(*$LST(IMG_SRC)*))\1\2>"
        "$TST(($GET(pIimg)+)=$LST(Count)|*)$SET(pIimg=$GET(i))$SET(tIimg=)"
Replace = "<span class=Prox style=display:none;>"
          "<span class=ProxI_$DTM(c)_$GET(pIimg)&#x20;ProxToggle style=display:inline>"
          "<a class=ProxToggle&#x20;ProxTogO-A"
          " href="javascript:prxO.oInt.inToggleB('ProxI_$DTM(c)_$GET(pIimg)','cl','span');"
          "var prxIimg;prxIimg=document.getElementById('proxII_$DTM(c)_$GET(pIimg)');"
          "prxIimg.src=prxIimg.longDesc;"
          "void(prxIimg.style.display='inline');""
          " target=_self>Fetch</a>"
          "<a class=ProxToggle&#x20;ProxTogO-A href=\1 target=_top>Blacklisted Image</a>"
          "</span>"
          "<img id="proxII_$DTM(c)_$GET(pIimg)" style="display:none;" src="about:blank" longdesc=\1\2>"
          "</span>"

then this entry in "IMG SRC.txt" -
Code:
# Logo Images
logo(^(n|ff|ut))*.(gif|jpg|png)

mileage *will* vary...
ie, i don't remember if i "added" this injection or if it's a sidki-config already-present - "prxO.oInt.inToggleB"...
Add Thank You Quote this message in a reply
Dec. 22, 2009, 04:13 PM (This post was last modified: Dec. 22, 2009 04:15 PM by JJoe.)
Post: #7
RE: Google Blue Theme Problem
(Dec. 22, 2009 10:53 AM)arpinux Wrote:  Stupid holiday logo is showing.
Bah humbug!? Wink

Doesn't work for .com either.
Google has changed the code for .com and .ie (probably more) to

Code:
<br clear=all id=lgpd><a href="/logos/holidays-2009.html">
<img src=/logos/holiday09_2.gif width=267 height=163 border=0
alt="Happy Holidays from Google!" title="Happy Holidays from Google!"
id=logo onload="window.lol&&lol()">
</a><br><br>

So, you could try

Code:
[Patterns]
Name = ". + Google: Normalize logo for sidki's alt display (09.12.22)"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)www.google."
Limit = 700
Match = "<br clear=all id=lgpd> $STOP()"
        "(<table*</table>"
        "|"
        "*?(^(^<br> <br>)))"
Replace = "<br clear=all id=lgpd>\r\n"
          "<img alt="Google" height=110 src="/intl/en_ALL/images/logo.gif" width=276 id=logo onload="window.lol&&lol()">"

Notes:
SIDKI 2009-02-13 (UPDATE 06-06)
K-Meleon 1.5.3

HTH
Add Thank You Quote this message in a reply
Jan. 09, 2010, 05:50 AM (This post was last modified: Jan. 09, 2010 05:50 AM by JJoe.)
Post: #8
RE: Google Blue Theme Problem
Above filters currently unnecessary.

Have fun
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: