Post Reply 
Sidki 2008-01-02 Beta Updates - Discussion
Jan. 05, 2009, 10:08 PM
Post: #61
RE: Sidki 2008-01-02 Beta Updates - Discussion
(Jan. 05, 2009 09:38 PM)Kye-U Wrote:  I will check all of your filters right now, and report back shortly.

Thanks. Not necessarily all posted updates, just those that ceased to work for you previously.


Quote:I'll contact you privately if I have a problem understanding how the filters work Wink

Sure, whatever fits best.


Quote:EDIT: I noticed the background-image for the Dark Grey theme was "choppy", so I created a smoother one.

Good. It's your project now.


And oops, i forgot to add the two off-by-default filters. Here they are.


Attached File(s)
.txt  Google2_09-1-5.txt (Size: 4.1 KB / Downloads: 908)
Add Thank You Quote this message in a reply
Jan. 05, 2009, 10:16 PM
Post: #62
RE: Sidki 2008-01-02 Beta Updates - Discussion
Please disregard the following filter

Code:
[Patterns]
Name = "Google: Cached Header Mover     8.11.29 [th sd] (d.s) [un-010509]"
Active = TRUE
URL = "$TYPE(htm)(64.233.1[#60:91]|66.(102.[#0:15]|249.[#64:95])|72.14.[#192:255]|74.125|209.85.[#128:255]|216.239.[#32:63]).[^/]+/(search|custom)\?*q=cache(:|%3)"
Limit = 4096
Match = "$STOP()*<div style=$AV(position : relative*) >&&("
        ""
        "*("
        "(<meta*> )\8|(<base*> )\9|of <a href=$AV(\1)*</a >[^<]++appeared on([^<]++GMT)\2"
        "|> <A HREF=$AV(http://$TST(uHost)(^.)&\4)$SET(3="
        "&nbsp;&nbsp;<span class="ProxAlert Prox">"
        "<a class="Prox" href="\4">[toggle&nbsp;format]</a></span>"
        ")"
        "|highlighted: (($NEST(<span,</span >) \&nbsp; )+&&(\#(\"$SET(#=")|</$SET(#=</)))+\#)"
        ")"
        ""
        ")+*"
        "$SET(sSpec=$GET(sSpec)cached Header.)"
        "$SET(preBlock=$GET(preBlock)\8\9)"
        "$SET(dAll=$GET(dAll)"
        "<table class="Prox" style="display:$GET(displayI)"><tr><td>"
        "<span class="ProxAlert Prox">"
        "<a class="Prox" href="\1">\1</a></span>"
        "<span class="Prox"> at: \2.</span>\3"
        "&nbsp;&nbsp;&nbsp;\@</td></tr></table>\n"
        ")"
Replace = "$GET(dAll)"

I found that everything was escaped (with "\\", so I simply removed them). Also, "$GET(dAll)" was missing from the Replacement Text. Test site: http://74.125.77.132/search?q=cache:Jp5z...cd=3&gl=ca

I'll report back with any other findings Wink I may have to do some late Christmas shopping soon, but I will be sure to go through the other filters afterwards.
Visit this user's website
Add Thank You Quote this message in a reply
Jan. 05, 2009, 10:40 PM
Post: #63
RE: Sidki 2008-01-02 Beta Updates - Discussion
(Jan. 05, 2009 10:16 PM)Kye-U Wrote:  I found that everything was escaped (with "\\", so I simply removed them). Also, "$GET(dAll)" was missing from the Replacement Text. Test site: http://74.125.77.132/search?q=cache:Jp5z...cd=3&gl=ca

The content of the "dAll" global variable is passed to the Proxomitron script via a bottom filter. Additional content is pushed into the same var by many filters. The script requires certain characters to be escaped. Two reasons that i recall right now are XHTML (future configs) and XML (Ajax XHR) compliance.

With my version you should see the header info and the text toggle at the page bottom, no?
Add Thank You Quote this message in a reply
Jan. 05, 2009, 10:58 PM
Post: #64
RE: Sidki 2008-01-02 Beta Updates - Discussion
Ah, you're right D'oh!

I think I'll need to take some time off of the computer to clear my head. Thanks for clarifying that; so far, all of the updated filters I've gone through look and function perfectly fine, just need to test a few more.
Visit this user's website
Add Thank You Quote this message in a reply
Jan. 10, 2009, 12:21 AM
Post: #65
RE: Sidki 2008-01-02 Beta Updates - Discussion
I tested all the filters and they all work fine! Smile!
I spent some time trying to understand the code; I feel I understand them a bit better, but I'll need to experiment.
Visit this user's website
Add Thank You Quote this message in a reply
Jan. 10, 2009, 01:17 PM
Post: #66
RE: Sidki 2008-01-02 Beta Updates - Discussion
(Jan. 10, 2009 12:21 AM)Kye-U Wrote:  I tested all the filters and they all work fine! Smile!

Good, thanks for checking. So the only new update right now is the gray PNG; i've copied it over already.


Quote:I spent some time trying to understand the code; I feel I understand them a bit better, but I'll need to experiment.

Sure -- A few notes:

Remove Ad Blocks:
One tricky thing is that Google often serves different code to US, UK, and Continental Europe IPs, respectively.

Certain searches - like "ipod" - with a US IP used to result in huge ad tables.
So one filter component slices those tables in 32 KB - hence removable - <!-- Strip Me --> parts. That code was a common effort of Mona and me, and is - although a one-liner - not so easy to understand for me and probably others.


Alternate Display Filters:
A year ago i've checked them with basically all localized frontpages. The only one which was - and still is - entirely mangled, is google.co.kr , but i didn't receive any complains yet, so...

The dark style filters contain an Easter egg. Wink
Add Thank You Quote this message in a reply
Jan. 10, 2009, 08:13 PM
Post: #67
RE: Sidki 2008-01-02 Beta Updates - Discussion
P.S.: Just noticed a problem. With the dark Google themes in auto-complete mode the suggested search phrases are white - hence invisible - even if not selected. The light blue theme works as expected tho: unselected -> black font

Example: http://www.google.com/search?q=home&complete=1&hl=en
Add Thank You Quote this message in a reply
Jan. 10, 2009, 08:30 PM
Post: #68
RE: Sidki 2008-01-02 Beta Updates - Discussion
Easter Egg: something to do with Googel? Wink

I've tried to recreate the problem, but I can't. I'm thinking it's a minor CSS fix.

Is it "Related searches" / "Searches related to", or is it "Did you mean"?
Visit this user's website
Add Thank You Quote this message in a reply
Jan. 10, 2009, 08:37 PM
Post: #69
RE: Sidki 2008-01-02 Beta Updates - Discussion
Yeah Smile!


If you go to above linked page, go into the input box, remove the final "e" from "home", a dropdown should open. Search suggestions left -- Hits right. The suggestions are invisible for me.
Add Thank You Quote this message in a reply
Jan. 10, 2009, 08:50 PM
Post: #70
RE: Sidki 2008-01-02 Beta Updates - Discussion
Ah, gotcha.

In google-dark.css, we need to add the following anywhere after line 29:

Code:
td.gac_c  { color: black; }

Line 29: div, td { color: white; }
Visit this user's website
Add Thank You Quote this message in a reply
Jan. 10, 2009, 09:07 PM
Post: #71
RE: Sidki 2008-01-02 Beta Updates - Discussion
(Jan. 10, 2009 08:50 PM)Kye-U Wrote:  Line 29: div, td { color: white; }

Ahh! I was just going to ask. So i've changed...

old:
Code:
/* Default text color */
div, td { color: white; }

/* Forms and Google Suggest */
input *, textarea *, .aAutoComplete { color: black; }

new:
Code:
/* Default text color */
div, td { color: white; }

/* Forms and Google Suggest */
input *, textarea *, .aAutoComplete, td.gac_c { color: black; }
Add Thank You Quote this message in a reply
Jan. 10, 2009, 09:08 PM
Post: #72
RE: Sidki 2008-01-02 Beta Updates - Discussion
Tested, and works perfectly Smile!
Visit this user's website
Add Thank You Quote this message in a reply
Jan. 13, 2009, 03:05 PM
Post: #73
RE: Sidki 2008-01-02 Beta Updates - Discussion
I'm in process of packaging the next config (beta 2). ProxRocks, are the Yahoo filters okay?
Add Thank You Quote this message in a reply
Jan. 13, 2009, 03:49 PM
Post: #74
RE: Sidki 2008-01-02 Beta Updates - Discussion
yep, they're ok, i've not encountered any prob's...

though i've not "tested" this one Yahoo GeoCities: Clean up Stats/FileManager 7.05.26 (multi) [sd] (d.s)...
i'll need a "test site" to see what that one is (or isn't) doing...
Add Thank You Quote this message in a reply
Jan. 13, 2009, 05:30 PM
Post: #75
RE: Sidki 2008-01-02 Beta Updates - Discussion
That's alright. I guess i'll notice potential problems with that filter, once i upload the updated docs to GeoCities.
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: