Post Reply 
Sidki 2008-01-02 Beta Updates - Discussion
Aug. 25, 2008, 04:26 AM
Post: #46
RE: Sidki 2008-01-02 Beta Updates - Discussion
Oh I see. I'll have a look at it in the coming workweek! Thanks for the clarification Smile!

EDIT: I have updated the filter (and also updated the Cached Header filter).
Visit this user's website
Add Thank You Quote this message in a reply
Aug. 25, 2008, 04:21 PM
Post: #47
RE: Sidki 2008-01-02 Beta Updates - Discussion
(Aug. 25, 2008 04:26 AM)Kye-U Wrote:  Oh I see. I'll have a look at it in the coming workweek! Thanks for the clarification Smile!

EDIT: I have updated the filter (and also updated the Cached Header filter).

How about changing the below code
Code:
<a id="topthumb" class="toplink" href="\u?prx-keyword=.s_thumb.">Thumbnails</a>
to
Code:
<b><a href="\u?prx-keyword=.s_thumb.">Thumbnails</a></b>
which make it uniform with the "Web" left to it and looks better. Smile!
Add Thank You Quote this message in a reply
Aug. 26, 2008, 12:47 PM
Post: #48
RE: Sidki 2008-01-02 Beta Updates - Discussion
(Aug. 25, 2008 04:26 AM)Kye-U Wrote:  EDIT: I have updated the filter (and also updated the Cached Header filter).

Thanks again Kye-U (and Whenever), both are now good here Smile!

Quote:How about changing the below code
Code:
<a id="topthumb" class="toplink" href="\u?prx-keyword=.s_thumb.">Thumbnails</a>
to
Code:
<b><a href="\u?prx-keyword=.s_thumb.">Thumbnails</a></b>
which make it uniform with the "Web" left to it and looks better. Smile!

Perhaps Sidki intended it to look slightly different, to indicate it was a user-addition? For myself, I'd just changed the font size to make it look the same, i.e. :-

Code:
<a id="topthumb" class="toplink" href="\u?prx-keyword=.s_thumb."><font size="-1">Thumbs</font></a> &nbsp;

I don't know the pros and cons of either method.

Dave
Quote this message in a reply
Sep. 04, 2008, 04:52 PM
Post: #49
RE: Sidki 2008-01-02 Beta Updates - Discussion
i've noticed the Google Themes are more "cosmetically aligned" with, from the Light Blue,
Code:
".odd {background: #EFF6FF;margin: 0px -16px 0px 0px;}\r\n"
".even {background: #DFEFFF;margin: 0px -16px 0px 0px;}\r\n"

basically, the "web/thumbnails" 'banner' has a certain WIDTH, the above will make the SEARCH RESULTS line up with that instead of 'falling short' on the right-hand side...


(no, the trailing two 0px's are not needed, nor the px for the first 0px, but the first 0 is needed to 'placehold' the -16 [okay, most of you guys already knew that, lol]...)
Add Thank You Quote this message in a reply
Sep. 05, 2008, 01:58 PM
Post: #50
RE: Sidki 2008-01-02 Beta Updates - Discussion
here's the version i'm using now:
Code:
[Patterns]
Name = "Google Search: Alternate Display     7.10.30 (multi) [sd] (d.s) [un-082108] PFR"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)www.google.[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))$SET(keyword=$TST(keyword=\1.(i_layout:[#*:0].)+\2)\1.i_layout:2.\2)"
Limit = 2048
Match = "</body$SET(a=)$SET(b=)PrxFail$TST()"
        "|"
        "<br>((\r|)\n$SET(1= )| <br>( <table)\2$SET(1=</p><br class=mainspace>\2))"
        "|"
        "<("
        "/b> of (about )+<b>[0-9,]+</b> ((from|over the) $NEST(<b>,</b >) )+for <b>( <b>)+[^<]+"
        "&&((<*>|?)+{95})\2???$SET(1=<\2...\3\4\5)*|$SET(1=<\2\3\4\5)\2"
        ")(*</table > )\3(<div(^ id=)$INEST(<div,>)$SET(5=<div)|)$SET(4=<div id="topspace">&nbsp;</div>\r\n)"
        "|"
        "<style(^$TST(b=s))$SET(b=s)$SET(1="
        "<script>"
        "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>"
        "<style id="themed""
        ")"
        "|"
        "<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|p|li)\2 class="
        "$AV(g)("
        "((^ style=$AV(margin-(left|right)*))($TST(c=odd)$SET(a=even)|$SET(a=odd))|)$SET(c=$GET(a))"
        ")(*<a)\#"
        "((*href=$AV(/interstitial\?url\=h\9|([^/]+//[^/]+/)\9?*|*)*)\5>*</a >)\4\6( <br>|( <table)\7)"
        "($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>&nbsp;&nbsp;"
        ")*|$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>&nbsp;&nbsp;"
        ")*)|)"
        "$SET(1="
        "<\2 class=g&#x20;$GET(c);\#\4&nbsp;&nbsp;\0"
        "<a class="tool"\5 target=_blank><img src="http://local.ptron/Grypen_HTML/imgs/google/new.png""
        " width=14 height=10 border=0 title="Open in new window">&nbsp;New&nbsp;Window</a>&nbsp;&nbsp;"
        "\6<br class=mainspace><br class=mainspace>\7"
        ")"
Replace = "\1"

Name = ". + Google Light Blue Theme     7.06.08 (!nn) [jd sd] (o.s) [un-082208] PFR"
Active = TRUE
URL = "$TYPE(htm)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))[^:/]+/(intl/[^/]+/(^?)|search\?(^q\=cache:)|webhp|(^?))"
Limit = 4900
Match = "<style( id=\"themed\"*>$INEST(<style,//-->|-->|</style))\2(*</style >)\3"
Replace = "<style\2\r\n"
          "/* Proxomitron light blue Google theme */\r\n"
          ".g {line-height:16px;margin-top:0px;margin-bottom:0px;border-top:2px solid #dddddd;clear:both;padding:0px 7px 2px;}\r\n"
          "div.g, p.g {line-height:16px;padding:2px 5px 4px 5px;}\r\n"
          ".odd {background:#EFF6FF;margin:0px -16px 0px 0px;}\r\n"
          ".even {background:#DFEFFF;margin:0px -16px 0px 0px;}\r\n"
          "div#topspace {padding-top:0px;line-height:0;}\r\n"
          "br.mainspace {line-height:0px;}\r\n"
          "a {text-decoration:none;font-size:12px;}\r\n"
          "a:link, .q a:link, a.toplink:visited {color:#0000cc;}\r\n"
          "a:visited {color: #990066;}\r\n"
          "a:hover {text-decoration: underline;}\r\n"
          "a:hover,.q a:hover, a.fl:hover {color: #1689FF;}\r\n"
          "a#topthumb, a.mainlink {font-size: 15px;}\r\n"
          "a.mainlink:hover, a.toplink:hover {color:#1689FF;text-decoration:none;border-bottom:1px solid #1689FF;}\r\n"
          "a.ProXPref:hover {color:#379CCD;}\r\n"
          "a.ProXPrefJs:hover {color:#968AFF;}\r\n"
          "a.ProXPref.mainlink {padding-right:20px;background:url(http://local.ptron/sidki_h_$GET(cfg)/Google/google-bug.png) no-repeat right center;}\r\n"
          "a.ProXPrefJs {padding-right:0;background:none;}\r\n"
          ".j {width: 100%;}\r\n"
          ".gbh, .gbd {border-top:none;}\r\n"
          ".s{max-width:none;font-size:11px;}\r\n"
          "a.tool{background:none transparent scroll repeat 0% 0%;border-bottom:0;border-left:0;border-right:0;border-top:0;color:#999999;text-decoration:none;font-size:12px;padding:0px 3px 0px 3px;}\r\n"
     "a.tool:hover{background:#ffff66; transparent scroll repeat 0% 0%;color:#0000cc;padding:0px 3px 0px 3px;}\r\n"
          "\3"

for those familiar with the Grypen Google format (which is broken since Google made some changes), i'm still needing to add the "preview" feature...
Add Thank You Quote this message in a reply
Sep. 07, 2008, 03:30 PM
Post: #51
RE: Sidki 2008-01-02 Beta Updates - Discussion
It seems the "Google: Multi URL Untangler" filter is not working any more.
.png  url.png (Size: 62.04 KB / Downloads: 365)

When I checked the log window, that filter was not matched at all. However, when I tested the code in the test window, it did work.

.png  filter.png (Size: 33.19 KB / Downloads: 368)

2008-9-23::
Just checked that filter and found the reason. There is a
Code:
(^$OHDR(Cookie:*SID\=))
in the URL match which prevents that filter from matching when you have any google service logined in.
Add Thank You Quote this message in a reply
Nov. 04, 2008, 01:13 AM
Post: #52
RE: Sidki 2008-01-02 Beta Updates - Discussion
Found a rendering issue when filtering utf-16 here:
http://www.i18nguy.com//unicode/plane1-utf-16.html

Adding a Content-Type header filter to remove the charset field seems to fix it.
Not sure what form an (un|)official sidki fix would take.

Fixing|Filtering this page (utf-32) would require a bit more work:
http://www.i18nguy.com/unicode/plane1-utf-32.html

z12
Add Thank You Quote this message in a reply
Jan. 05, 2009, 04:39 PM
Post: #53
RE: Sidki 2008-01-02 Beta Updates - Discussion
(Nov. 04, 2008 01:13 AM)z12 Wrote:  Found a rendering issue when filtering utf-16 here:
http://www.i18nguy.com//unicode/plane1-utf-16.html

Adding a Content-Type header filter to remove the charset field seems to fix it.

Could you visualize what's happening here?


Quote:Fixing|Filtering this page (utf-32) would require a bit more work:
http://www.i18nguy.com/unicode/plane1-utf-32.html

I've never seen a UTF-32 page in the wild. That doesn't say much though. I came across the first big-endian UTF-16 page only a year ago, and then one popped up after the other (now around 30, mostly JS/CSS). The low-endian documents are in the 100s by now.
Add Thank You Quote this message in a reply
Jan. 05, 2009, 04:43 PM
Post: #54
RE: Sidki 2008-01-02 Beta Updates - Discussion
(Aug. 05, 2008 06:32 PM)Kye-U Wrote:  The latest (unofficial) updates to Sidki's config pack will be posted here.

Thanks Kye-U! All your Google fixes looked elegant, nothing that i could have done better. The only reason why i haven't just merged them is that (i think! see below) the 2008 versions in my private set seem to work.

Could you maintain the Google set from now on?


I've attached my current versions of the 2008/2009 Google filters, as well as google-dark.css, which should go to html\sidki_h_xxxx-xx-xx\Google\ . Are there any remaining issues with them?


Attached File(s)
.txt  Google_09-1-5.txt (Size: 12.96 KB / Downloads: 412)
.css  google-dark.css (Size: 3.52 KB / Downloads: 287)
Add Thank You Quote this message in a reply
Jan. 05, 2009, 05:00 PM
Post: #55
RE: Sidki 2008-01-02 Beta Updates - Discussion
Here are my two 2008 Yahoo filters. Can someone maintain the Yahoo set? ProxRocks?


Again, are there any other filters or list entries that have been fixed within the last year, e.g. posted at former CastleCops?


As promised before, i try to release a Beta2 config soon, the final version a couple of days later.
As stated before, what's happening with this config set afterwards is predominantly up to you. Wink


Attached File(s)
.txt  Yahoo_09-1-5.txt (Size: 3.55 KB / Downloads: 342)
Add Thank You Quote this message in a reply
Jan. 05, 2009, 05:15 PM
Post: #56
RE: Sidki 2008-01-02 Beta Updates - Discussion
(Jan. 05, 2009 05:00 PM)sidki3003 Wrote:  Can someone maintain the Yahoo set? ProxRocks?

sure... shouldn't be a prob-at-all...

can't say as i know anything about the GeoCities one, but if anyone reports anything on it (link-inclusive), i should be able to track it down...
Add Thank You Quote this message in a reply
Jan. 05, 2009, 08:49 PM
Post: #57
RE: Sidki 2008-01-02 Beta Updates - Discussion
Great!

I think the Yahoo filters are quite straightforward, maybe except for "Yahoo: Clean up Site" and "Yahoo Groups: Clean up Site", which target many different pages. However, i have a log for both, showing which filter code matches on which page. I'll give them to you later.

As for the stand-alone filter sets, it's always the same few lines to modify, and they are only updated with a new config release, so - if preferred - i could continue to do that.
Add Thank You Quote this message in a reply
Jan. 05, 2009, 09:02 PM
Post: #58
RE: Sidki 2008-01-02 Beta Updates - Discussion
Maybe I can be responsible for the Google filters? I've already made updates to a couple, as posted in the other topic, and I'd be more than happy to help lighten the load for you, Sidki Wink
Visit this user's website
Add Thank You Quote this message in a reply
Jan. 05, 2009, 09:19 PM
Post: #59
RE: Sidki 2008-01-02 Beta Updates - Discussion
Kye-U:

(Jan. 05, 2009 04:43 PM)sidki3003 Wrote:  Thanks Kye-U! All your Google fixes looked elegant, nothing that i could have done better. The only reason why i haven't just merged them is that (i think! see below) the 2008 versions in my private set seem to work.

Could you maintain the Google set from now on?

Perfect! Above quote is from post 54. Can you check, if the attached Google updates there work for you?
Add Thank You Quote this message in a reply
Jan. 05, 2009, 09:38 PM
Post: #60
RE: Sidki 2008-01-02 Beta Updates - Discussion
Ah, I should learn to read D'oh!

I will check all of your filters right now, and report back shortly.
I'll contact you privately if I have a problem understanding how the filters work Wink

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


Attached File(s)
.png  google-bg-gray.png (Size: 3.56 KB / Downloads: 360)
Visit this user's website
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: