Post Reply 
Updating the Google filters...
May. 24, 2010, 08:03 PM (This post was last modified: May. 24, 2010 08:04 PM by sidki3003.)
Post: #1
Updating the Google filters...
The attached screenshot shows how a Google results page is currently looking in my Firefox.

Does anyone remember in which color "880 related articles", "Cached", "Similar" are supposed to appear? Was it really that dark blue?
Should the vertical stripe on the left get styled or hidden?

I assume that the "Google Search: Add Date Range Box" filter doesn't need to be fixed, because it isn't needed anymore due to the left options (and "Show options..." link in IE).

Also, let me know if i should apply any Google fixes that have been posted already (and survived last week's page design changes).


Attached File(s)
.png  cap_215809.png (Size: 92.82 KB / Downloads: 802)
Add Thank You Quote this message in a reply
May. 24, 2010, 10:41 PM
Post: #2
RE: Updating the Google filters...
I'm having a little trouble with this URL Smile!
https://www.google.com/

Regards,
DarthTrader
Add Thank You Quote this message in a reply
May. 24, 2010, 11:05 PM
Post: #3
RE: Updating the Google filters...
The only thing different from the standard page i see there is the "Learn more about searching on Google with SSL." link.
Add Thank You Quote this message in a reply
May. 25, 2010, 02:07 AM
Post: #4
RE: Updating the Google filters...
Never mind, it's an IE8 problem. Sad
Add Thank You Quote this message in a reply
May. 25, 2010, 03:30 AM (This post was last modified: May. 25, 2010 03:39 AM by whenever.)
Post: #5
RE: Updating the Google filters...
(May. 24, 2010 08:03 PM)sidki3003 Wrote:  Does anyone remember in which color "880 related articles", "Cached", "Similar" are supposed to appear? Was it really that dark blue?

I hope this help:
http://www.proxomitron.cn/files/images/google_after.png
http://prxbx.com/forums/attachment.php?aid=306
http://prxbx.com/forums/showthread.php?t...5#pid12195

(May. 24, 2010 08:03 PM)sidki3003 Wrote:  Should the vertical stripe on the left get styled or hidden?

I prefer it to be there.
Add Thank You Quote this message in a reply
May. 25, 2010, 06:18 PM
Post: #6
RE: Updating the Google filters...
Yep, that helped, thanks. Smile!
Add Thank You Quote this message in a reply
May. 26, 2010, 04:52 PM
Post: #7
RE: Updating the Google filters...
Here we go, tested in Fx, Opera and IE8 (XP VM). I've only updated the dark blue theme for now.

- As mentioned before, "Google Search: Add Date Range Box" is obsolete.
- Because the "Thumbnails" link is very sensitive to code changes, i'll remove that feature as well. (Never really used it personally.)
- I've opted for keeping the keyboard shortcuts feature (activated via "Shortcuts" link upper right, or by appending "&esrch=BetaShortcuts" to the query string). Although, maybe i'm the only one using it, dunno.

Attached zip contains 2 files: MergeMe.cfg contains the webfilters that are supposed to replace their previous versions. google-dark.css should go to html/sidki_h_2009-05-24/Google/


Attached File(s)
.zip  google_05-26.zip (Size: 3.68 KB / Downloads: 749)
Add Thank You Quote this message in a reply
May. 27, 2010, 01:11 AM
Post: #8
RE: Updating the Google filters...
- The search results doesn't span to the screen width, is that supposed to be?
- The "More" and "More search tools" on the left doesn't work.
Add Thank You Quote this message in a reply
May. 27, 2010, 09:40 AM (This post was last modified: May. 27, 2010 09:43 AM by sidki3003.)
Post: #9
RE: Updating the Google filters...
It should all work, incl. horizontal stretch and left-side drop-downs, see screenshot below.
I've just applied the above zip to a fresh alpha-4 config (July 2009), and also went to google.cn . WFM.

Is it defunct in all your browsers?
If you are using Opera, did you clear the cache after overwriting the old CSS, and restart the browser?


Attached File(s)
.png  cap_113442.png (Size: 82.81 KB / Downloads: 805)
Add Thank You Quote this message in a reply
May. 27, 2010, 03:11 PM
Post: #10
RE: Updating the Google filters...
(May. 27, 2010 09:40 AM)sidki3003 Wrote:  I've just applied the above zip to a fresh alpha-4 config (July 2009)

I did this too. Tested under firefox and chrome. Both with cache cleared and browser restarted.

The left-side drop-downs doesn't work when signed in. Signing out and refresh the page make them work.

The search results doesn't stretch to screen width, see attached screenshot. Is my resolution 1680*1050 too wide? Wink


Attached File(s)
.png  google_chrome.png (Size: 48.71 KB / Downloads: 705)
Add Thank You Quote this message in a reply
May. 27, 2010, 03:43 PM
Post: #11
RE: Updating the Google filters...
I am not sure if you could reproduce this, but when searching "proxomitron" after signed in, google is displaying a social result which seems not in order.


Attached File(s)
.png  sign_in_issue.png (Size: 15.93 KB / Downloads: 799)
Add Thank You Quote this message in a reply
May. 27, 2010, 05:27 PM
Post: #12
RE: Updating the Google filters...
(May. 27, 2010 03:11 PM)whenever Wrote:  The search results doesn't stretch to screen width, see attached screenshot. Is my resolution 1680*1050 too wide? Wink

Yes, apparently, although i can't really verify. max-width is set to 1144px. I have added #cnt { max-width: none; } to google-dark.css (attached).

I think it's important to report special circumstances along with the bugs. ;-)

*If* signed in, the ajax toggle scripts are trying to access the upper left logo, for whatever reason. Since we've replaced the logo code, the toggles are broken. It seems that replacing the image now works without changing the actual tags. If true, below filter should fix the problem.

Code:
[Patterns]
Name = ". + Google Dark Blue Theme     10.05.27 (!nn) [vc sd st] (d.s) WIP4"
Active = TRUE
URL = "$TST(hCT=*html)www.google.(^$TST(hOrigUA=mozilla/4.[1-9](^*opera)*))(*/)+{1}(intl/(*/)+{1}(^?)|search\?|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> </span>)"
        "|font([^>]++)\2color=$AV(#+(008000|6f6f6f|666666|cc00(00|33))|green)$SET(1=<font\2id="high")"
        "|style id="themed">"
        "("
        "$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">\r\n"
        "@import url(http://local.ptron/sidki_h_$GET(cfg)/Google/google-dark.css);\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"
        " {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"


Attached File(s)
.css  google-dark.css (Size: 4.16 KB / Downloads: 722)
Add Thank You Quote this message in a reply
May. 27, 2010, 05:30 PM
Post: #13
RE: Updating the Google filters...
(May. 27, 2010 03:43 PM)whenever Wrote:  I am not sure if you could reproduce this, but when searching "proxomitron" after signed in, google is displaying a social result which seems not in order.

I have no idea. It doesn't happen here.
Add Thank You Quote this message in a reply
May. 28, 2010, 01:46 AM
Post: #14
RE: Updating the Google filters...
(May. 27, 2010 05:27 PM)sidki3003 Wrote:  below filter should fix the problem

Now everything works! Thumbs Up

(May. 27, 2010 05:30 PM)sidki3003 Wrote:  
(May. 27, 2010 03:43 PM)whenever Wrote:  I am not sure if you could reproduce this, but when searching "proxomitron" after signed in, google is displaying a social result which seems not in order.

I have no idea. It doesn't happen here.

Sorry, it is my Image Placeholder Fix for Opera filter causing problem. It seems using \# is not safe if other filter put something in the stack then fail to pull it out.

Changing the code as below eliminate the annoyance.
Code:
Match = "\1alt=$AV(^?)\2"
Replace = "\1\2"

BTW, the below Exceptions.ptxt entry is faking user agent on google search and made my filter unexpectedly match. Is it still necessary to fake user agent?

Code:
# Google Search
www.google.(*/)+{1}(intl/(*/)+{1}(^?)|search\?|webhp|(^?))
  $SET(0=a_ads.a_rdlink.a_target.i_popup_b:0.i_timer:2.i_noscr:3.f_cookie.f_ua_opie.)
  $SET(sCookieP=0)$SET(sCookieF=PREF=ID=3003added0032123:FF=4:NR=100:CR=2:SG=0)
Add Thank You Quote this message in a reply
May. 28, 2010, 10:40 AM
Post: #15
RE: Updating the Google filters...
(May. 28, 2010 01:46 AM)whenever Wrote:  It seems using \# is not safe if other filter put something in the stack then fail to pull it out.

I was having a similar problem a few weeks ago, and i couldn't avoid using the stack. The fix was something like: ((?*)\#|)


Quote:BTW, the below Exceptions.ptxt entry is faking user agent on google search and made my filter unexpectedly match. Is it still necessary to fake user agent?

In my Exceptions list the entry is split:
Code:
# Google Search - frontpages
www.google.(*/)+{1}(intl/(*/)+{1}(^?)|webhp|(^?))
  $SET(0=a_ads.i_timer:2.f_ua_opie.)

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

# Set default flags for all www.google URLs.
www.google.
  $SET(keyword=$GET(keyword)a_rdlink.f_cookie.)$SET(sCookieP=0)
  $SET(sCookieF=PREF=ID=3003added0032123:FF=4:NR=100:CR=2:SG=0)PrxFail$TST()

My notes are dating the change to August 22 2009, and say that f_ua_opie is still needed for the frontpages in order to prevent ajax layout (which in turn would prevent all our Google filters from matching).

I haven't checked again, as i assume you're after the results pages. I'm attaching the entire Google section, because order is important here.


Attached File(s)
.txt  ExGoogle.txt (Size: 2.46 KB / Downloads: 655)
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: