The Un-Official Proxomitron Forum

Full Version: Google Updates...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12
BINGO!
It works now with the latest "part 5"
(and the leftnav filter unchecked) Smile!
I'll check more thoroughly later.
still not quite right...
i'm still getting the "seep thru" on Pale Moon...

the "problem" is that, as far as Google goes, Opera and Firefox-based use <div> tags for EVERYTHING whereas IE and Chrome-based has <tr>'s, <td>'s, and <table>'s that provide for easier matches, something "different" to look for instead of </div> EVERYWHERE...
i'm happier with this -
Code:
Name = "Google Search: Alternate Display - Part 5     12.04.12 {PFR} [add]"
Active = TRUE
URL = "$TST(hCT=*html)(*.)+{1}google."
Limit = 12000
Match = "(<div style="background\2"\3</div>(\4</ol>|))$SET(1=<!-- Sponsored Links Killed -->\r\n\r\n)"
        "|<td\2id="logo"\3</td>$SET(1=<!-- IE/Iron - logo killed -->\r\n\r\n)"
        "|<div class="nojsv"\2id=logo\3</div>$SET(1=<!-- Opera/Pale Moon - logo killed -->\r\n\r\n)"
        "|<td valign="top" style="padding-left:9px" width="559"><form\2method="GET" action="\7"\3>\4id="sbhost"\5>\6</td>"
        "$SET(1=<div><form method="GET" action="\7">\4width="100%" "
        "style="border-bottom:1px solid #8DC7BB;padding:8px;position:relative">\6</div>\r\n\r\n<!-- IE/Iron - search form adjusted -->\r\n\r\n)"
        "|<div style="padding-bottom:2px;padding-top:1px">"
        "$SET(1=</div></div></div><div style="padding-left:8px;padding-right:8px;">\r\n\r\n<!-- Opera/Pale Moon - search form adjusted -->\r\n\r\n)"
        "|<input class="lst lst-tbb"\2/>$SET(1=<input class="lst lst-tbb" style="background:white;"\2/>\r\n\r\n<!-- Opera/Pale Moon - search form background adjusted -->\r\n\r\n)"
        "|<td style\2SafeSearch\3</td>$SET(1=<!-- IE/Iron - SafeSearch Indicator Killed -->\r\n\r\n)"
        "|<td> <div class="nojsv"\2id=ss-bar\3SafeSearch\4</td>$SET(1=<!-- Opera/Pale Moon - SafeSearch Indicator Killed -->\r\n\r\n)"
        "|<div id="tbbc"\2</div>$SET(1=<!-- IE/Iron - tbbc killed -->\r\n\r\n)"
        "|<span id="taw"\2id=tbbc\3</span></div>\s<div></div>\4</span>$SET(1=<!-- Opera/Pale Moon - tbbc killed -->\r\n\r\n)"
        "|<tr><td valign="top" id="leftnav"\2</td>$SET(1=</table><!-- IE/Iron - leftnav killed -->\r\n\r\n)"
        "|<div id="leftnavc"\2(More\ssearch|Reset\s)tools\3</div></div></div>$SET(1=<!-- Opera/Pale Moon - leftnav killed -->\r\n\r\n)"
        "|<p id="bfl"\2</p>$SET(1=<!-- bfl killed -->\r\n\r\n)"
        "|<div id="fll"\2</div>$SET(1=<!-- fll Help killed -->\r\n\r\n)"
        "|<div style="font-size:16px;padding:4px 8px 0">Searches related to\2</table>$SET(1=<!-- IE/Iron - related searches killed -->\r\n\r\n)"
        "|<div class="med" style="text-align:left">Searches related to\2</a></div>$SET(1=<!-- Opera/Pale Moon - related searches killed -->\r\n\r\n)"
        "|<cite>\2</cite>$SET(1=<cite><span class="flc">\2</span></cite>)"
        "|>Cached</a>$SET(1=><span class="flc">Cached</span></a>)"
        "|>Similar</a>$SET(1=><span class="flc">Similar</span></a>)"
        "|<td style="width:25%;word-wrap:break-word">$SET(1=<td style="width:25%;padding-left:65px;word-wrap:break-word">)"
        "|<div id="subform_ctrl"><div style="float:right">$SET(1=<div id="subform_ctrl"><div style="float:right;margin-right:12px;">)"
        "|($TST(a=odd))<blockquote style="margin-bottom:0">$SET(1=<blockquote style="margin-top: 0; margin-bottom: 0; margin-left: -0.5em; margin-right: -0.5em;"
        " background-color: #EFCDF8; padding-left: 1em; padding-right: 1em;">)"
        "|($TST(a=even))<blockquote style="margin-bottom:0">$SET(1=<blockquote style="margin-top: 0; margin-bottom: 0; margin-left: -0.5em; margin-right: -0.5em;"
        " background-color: #F8E9FC; padding-left: 1em; padding-right: 1em;">)"
        "|<span class="csb ch" style="background-position:(-|)[#0:100](px|) 0;(float:right;|)width:[#0:100]px">$SET(1=<span style="display:block;margin-left:15px">)"
        "|<span style="display:block;margin-(right|left)\2:(35|53)px(;|")(clear:right"|)>$SET(1=<span style="display:block;margin-\2:15px;clear:right;">)"
        "|max-width$TST(tStyle=*)*(;|?(^(^\})))"
        "|#center_col,"
Replace = "\1"
A quick update: The above filter 'seeps' for me in both palemoon and opera (with leftnav filter unchecked) D'oh!
The previous version worked ok both browsers.
hmmm... interesting...

i'll have to look into a div-less match...
ooops, i missed a "\s"...
try this -
Code:
Name = "Google Search: Alternate Display - Part 5     12.04.12 {PFR} [add]"
Active = TRUE
URL = "$TST(hCT=*html)(*.)+{1}google."
Limit = 12000
Match = "(<div style="background\2"\3</div>(\4</ol>|))$SET(1=<!-- Sponsored Links Killed -->\r\n\r\n)"
        "|<td\2id="logo"\3</td>$SET(1=<!-- IE/Iron - logo killed -->\r\n\r\n)"
        "|<div class="nojsv"\2id=logo\3</div>$SET(1=<!-- Opera/Pale Moon - logo killed -->\r\n\r\n)"
        "|<td valign="top" style="padding-left:9px" width="559"><form\2method="GET" action="\7"\3>\4id="sbhost"\5>\6</td>"
        "$SET(1=<div><form method="GET" action="\7">\4width="100%" "
        "style="border-bottom:1px solid #8DC7BB;padding:8px;position:relative">\6</div>\r\n\r\n<!-- IE/Iron - search form adjusted -->\r\n\r\n)"
        "|<div style="padding-bottom:2px;padding-top:1px">"
        "$SET(1=</div></div></div><div style="padding-left:8px;padding-right:8px;">\r\n\r\n<!-- Opera/Pale Moon - search form adjusted -->\r\n\r\n)"
        "|<input class="lst lst-tbb"\2/>$SET(1=<input class="lst lst-tbb" style="background:white;"\2/>\r\n\r\n<!-- Opera/Pale Moon - search form background adjusted -->\r\n\r\n)"
        "|<td style\2SafeSearch\3</td>$SET(1=<!-- IE/Iron - SafeSearch Indicator Killed -->\r\n\r\n)"
        "|<td> <div class="nojsv"\2id=ss-bar\3SafeSearch\4</td>$SET(1=<!-- Opera/Pale Moon - SafeSearch Indicator Killed -->\r\n\r\n)"
        "|<div id="tbbc"\2</div>$SET(1=<!-- IE/Iron - tbbc killed -->\r\n\r\n)"
        "|<span id="taw"\2id=tbbc\3</span></div>\s<div></div>\4</span>$SET(1=<!-- Opera/Pale Moon - tbbc killed -->\r\n\r\n)"
        "|<tr><td valign="top" id="leftnav"\2</td>$SET(1=</table><!-- IE/Iron - leftnav killed -->\r\n\r\n)"
        "|<div id="leftnavc"\2(More\ssearch\s|Reset\s)tools\3</div></div></div>$SET(1=<!-- Opera/Pale Moon - leftnav killed -->\r\n\r\n)"
        "|<p id="bfl"\2</p>$SET(1=<!-- bfl killed -->\r\n\r\n)"
        "|<div id="fll"\2</div>$SET(1=<!-- fll Help killed -->\r\n\r\n)"
        "|<div style="font-size:16px;padding:4px 8px 0">Searches related to\2</table>$SET(1=<!-- IE/Iron - related searches killed -->\r\n\r\n)"
        "|<div class="med" style="text-align:left">Searches related to\2</a></div>$SET(1=<!-- Opera/Pale Moon - related searches killed -->\r\n\r\n)"
        "|<cite>\2</cite>$SET(1=<cite><span class="flc">\2</span></cite>)"
        "|>Cached</a>$SET(1=><span class="flc">Cached</span></a>)"
        "|>Similar</a>$SET(1=><span class="flc">Similar</span></a>)"
        "|<td style="width:25%;word-wrap:break-word">$SET(1=<td style="width:25%;padding-left:65px;word-wrap:break-word">)"
        "|<div id="subform_ctrl"><div style="float:right">$SET(1=<div id="subform_ctrl"><div style="float:right;margin-right:12px;">)"
        "|($TST(a=odd))<blockquote style="margin-bottom:0">$SET(1=<blockquote style="margin-top: 0; margin-bottom: 0; margin-left: -0.5em; margin-right: -0.5em;"
        " background-color: #EFCDF8; padding-left: 1em; padding-right: 1em;">)"
        "|($TST(a=even))<blockquote style="margin-bottom:0">$SET(1=<blockquote style="margin-top: 0; margin-bottom: 0; margin-left: -0.5em; margin-right: -0.5em;"
        " background-color: #F8E9FC; padding-left: 1em; padding-right: 1em;">)"
        "|<span class="csb ch" style="background-position:(-|)[#0:100](px|) 0;(float:right;|)width:[#0:100]px">$SET(1=<span style="display:block;margin-left:15px">)"
        "|<span style="display:block;margin-(right|left)\2:(35|53)px(;|")(clear:right"|)>$SET(1=<span style="display:block;margin-\2:15px;clear:right;">)"
        "|max-width$TST(tStyle=*)*(;|?(^(^\})))"
        "|#center_col,"
Replace = "\1"
Yep, now it works ok for both opera and palemoon.
as a "vote", though i'm not sure how many are using these Google filters (it was my hopes that ensuring Opera/Firefox-based/Chrome-based support would increase the user base), how many would prefer the "left nav" to be 'toggled' as opposed to outright 'removed'?

i myself have "never" used the 'left nav' and therefore i have always removed it entirely...
ProxRocks:
I played around a bit more but something is still not quite right. Try this
Go to the google home page: http://www.google.com/webhp?complete=0 and enter callcentric in the search field.
In opera i get seepage and a weird first result with no preview button (see attachment).
In palemoon, I get ok results but the preview always gives a Prox404 error

I tried entering a (phone) number 4024363082 with similar results.
[attachment=751]
hmm, i'm not able to repeat either of those scenarios...

i'm going to go in a slightly different direction...

targeting the "leftnav" crap is a PITA for Opera and Firefox-based...
while a piece of cake in IE-based and Chrome-based...

so we will no longer be targeting the "leftnav" in Opera and Firefox-based...
BUT will ensure that users can keep the Toggle Left NavBar filter active if they so desire...

also, "child results" are a PITA for Opera and Firefox-based...
while again a piece of cake in IE-based and Chrome-based...

so Opera and Firefox-based will no longer have "four colors", but will drop back down to the original two-color scheme...
IE-based and Chrome-based will maintain the current four-color scheme...

not counting the additional four colors used for images/maps/videos/news/shopping...
those "might" drop down to the original two-color scheme also, not sure...

at least, that's the approach i plan on taking, will know more as i start to edit the filters...
No worries. Take your time.
will be adding the Toggle NavBar filter as one of my own...
it hasn't been updated for quite some time and it's "broken" anyway (image results, for example)...
i'm kinda of "laughing at myself"...
the "fix" has been staring me in the face and i've been overlooking it...

PIECE OF CAKE - fake an IE user-agent in div-everywhere Opera and Firefox-based...

these theme filters will now be using this Exceptions-U entry -
Code:
# Google Search - results pages
www.google.(*/)+{1}(search|webhp)\?
    $SET(0=a_code.f_ua_ie.i_script:2.i_level:4.)

we will no longer be targeting Opera and Firefox-based code because we will no longer be receiving it...
we will instead be receiving the same code that Google sends to its own Chrome browser (which is already the same that they send to IE)...


looking to have updated filters later this morning...
(Apr. 13, 2012 04:55 PM)soccerfan Wrote: [ -> ]In palemoon, I get ok results but the preview always gives a Prox404 error

not browser-specific, Google has put a TRACKER back into the links...

the config's generic "<a>: URL Untangler" removes them for 'other' links, just not for the 'preview' link (nor should it, actually)...

so the theme filters will incorporate it's own URL Untangler for the sake of the preview feature (not new, Google had this tracker in a few weeks ago, then removed it, then put it back in)...

even if they remove it again, no harm in keeping the URL Untangler present for when they add it again down the road, as i'm sure they will if we ever see it removed again)...
here's where things stand right now...
tested for a couple hours in IE8-shell, Opera 11.62.1347, Pale Moon 3.6.30, and Iron 18.0.1050...

everything appears good-to-go, please keep me posted if you see anything unexpected...


changes to note -

we now kill the "sponsored ads table" right from these filters (sidki's default settings leave a three pixel high line behind, probably didn't when the config was "new") - i've attached a screen-cap to illustrate...

the Toggle Left NavBar is now incorporated directly into these filters (please uncheck the older version)...
and also now toggles on image searches, unlike the previous version of the Toggle Left NavBar...
a "z-index" has also been added, keeps the toggled-on NavBar "above" contents below it as opposed to "transparent"...

the "Google Images: Direct Links" filter is now directly embedded (please uncheck the older version)...

URL-tracking is now disabled as part of the filter theme (prevents previews from landing on a 404)...

added some more colors (Pages Similar To, Related Searches, top-of-page bar in Opera, Pale Moon, Iron)...
along with a couple other changes to the top-of-page bar (no underlines, indented from left/right screen edges)...

the "Google Black Bar to Navy" filter is directly implemented (please uncheck the older version)...


requires this Exceptions-U entry (updated since post just above) -
Code:
# Google Search - results pages
(www|images).google.(*/)+{1}(search|webhp)\?
    $SET(0=a_code.f_ua_ie.i_script:2.i_level:4.)

note that by sending an IE user-agent in Opera and Firefox-based browsers, we now get pretty close to the same code that Google sends to its own Chrome-based browsers...
it is also the only way i plan on maintaining the color scheme for cross-browser compatibility...
the div-EVERYWHERE scheme sent to Opera and Firefox-based browsers really is a d@mn nuisance as far as code targeting goes (i'm sure it's done "intentionally", new conspiracy theory, lol)...
Pages: 1 2 3 4 5 6 7 8 9 10 11 12
Reference URL's