The Un-Official Proxomitron Forum
Google Updates... - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Filters (/forumdisplay.php?fid=38)
+--- Forum: Website Customization (/forumdisplay.php?fid=9)
+--- Thread: Google Updates... (/showthread.php?tid=1853)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12


RE: Google Updates... - ProxRocks - Mar. 30, 2013 01:04 PM

update for "weather"...
i'm in-process of updating the "install" thread, so users may wish to wait for that thread to 'finalize' later this morning or so...
Code:
Name = "Google: Alt Disp 02 - Maps/Finance/Weather/Calculator  13.03.30 {PFR} [add]"
Active = TRUE
URL = "$TST(hCT=*html)(www|images).google."
Limit = 384
Match = "("
        "(<li class="g">\2<a href="http:\/\/maps.google.com)"
        "$SET(9=<li style="background-color: #FAE7EC; border-top: 2px solid #A5D3CA; "
        "padding-left: 0.5em; padding-right: 0.5em; margin-bottom: -2px;">"
        "\2<a href="http://maps.google.com)"
        "|"
        "(<div class="e"><div><h3 class="r">)"
        "$SET(9=<div style="background-color: #F2F9F8; border-top: 2px solid #A5D3CA; "
        "padding-left: 0.5em; padding-right: 0.5em; margin-bottom: -4px;"><div><h3 class="r">)"
        "|"
        "(<table class="obcontainer"\2style="padding-bottom:5px">)"
        "$SET(9=<table cellspacing="0" cellpadding="0" width="100%" "
        "style="background-color: #E7F3F1; padding-top: 4px; padding-bottom: 2px; "
        "padding-left: 0.5em; padding-right: 0.5em; margin-bottom: -23px;">)"
        "|"
        "(<table style="margin-bottom:19px">)"
        "$SET(9=<table cellspacing="0" cellpadding="0" width="100%" "
        "style="background-color: #E7F3F1; border-top: 2px solid #A5D3CA; margin-bottom: 0px; padding-top: 1px; padding-left: 1px;">)"
        "|"
        "(<img src="/images/icons/onebox/calculator-40.gif" height="40" width="40" alt="">)"
        "$SET(9=<img src="/images/icons/onebox/calculator-40.gif" height="40" width="40" alt="" style="margin-right: -33px;" >)"
        ")"
Replace = "\9"



RE: Google Updates... - ProxRocks - Mar. 30, 2013 01:26 PM

update for pdf/xls/doc...
i'm in-process of updating the "install" thread, so users may wish to wait for that thread to 'finalize' later this morning or so...
Code:
Name = "Google: Alt Disp 04 - PDF/XLS/DOC/ZIP/TXT  13.03.30 {PFR} [add]"
Active = TRUE
Multi = TRUE
URL = "$TST(hCT=*html)(www|images).google."
Limit = 384
Match = "("
        "(<li class="g">\2<h3\3>"
        "<a href="\4.pdf">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #FFC4FF; "
        "padding-left: 0.5em; padding-right: 0.5em;">"
        "<font color="red"><b>PDF&nbsp;&nbsp;&nbsp;</b></font><a href="\4.pdf">\5)"
        "|"
        "(<li class="g"><blockquote style="margin-bottom:0"><h3\3>"
        "<a href="\4.pdf">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #FFC4FF; "
        "padding-left: 1em; padding-right: 1em;">"
        "<font color="red"><b>PDF&nbsp;&nbsp;&nbsp;</b></font><a href="\4.pdf">\5)"
        "|"
        "(<li class="g">\2<h3\3>"
        "<a href="\4.xls(|?)\6">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #8DC7BB; "
        "padding-left: 0.5em; padding-right: 0.5em;">"
        "<font color="green"><b>XLS&nbsp;&nbsp;&nbsp;</b></font><a href="\4.xls\6">\5)"
        "|"
        "(<li class="g"><blockquote style="margin-bottom:0"><h3\3>"
        "<a href="\4.xls">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #8DC7BB; "
        "padding-left: 1em; padding-right: 1em;">"
        "<font color="green"><b>XLS&nbsp;&nbsp;&nbsp;</b></font><a href="\4.xls">\5)"
        "|"
        "(<li class="g">\2<h3\3>"
        "<a href="\4.doc(|?)\6">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #B7B7FF; "
        "padding-left: 0.5em; padding-right: 0.5em;">"
        "<font color="darkblue"><b>DOC&nbsp;&nbsp;&nbsp;</b></font><a href="\4.doc\6">\5)"
        "|"
        "(<li class="g"><blockquote style="margin-bottom:0"><h3\3>"
        "<a href="\4.doc">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #B7B7FF; "
        "padding-left: 1em; padding-right: 1em;">"
        "<font color="darkblue"><b>DOC&nbsp;&nbsp;&nbsp;</b></font><a href="\4.doc">\5)"
        "|"
        "(<li class="g"><h3\3>"
        "<a href="\4.zip">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #FFF06A; "
        "padding-left: 0.5em; padding-right: 0.5em;">"
        "<font color="darkgoldenrod"><b>ZIP&nbsp;&nbsp;&nbsp;</b></font><a href="\4.zip">\5)"
        "|"
        "(<li class="g"><blockquote style="margin-bottom:0"><h3\3>"
        "<a href="\4.zip">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #FFF06A; "
        "padding-left: 1em; padding-right: 1em;">"
        "<font color="darkgoldenrod"><b>ZIP&nbsp;&nbsp;&nbsp;</b></font><a href="\4.zip">\5)"
        "|"
        "(<li class="g"><h3\3>"
        "<a href="\4.txt">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #ECD9D9; "
        "padding-left: 0.5em; padding-right: 0.5em;">"
        "<font color="darkslategray"><b>TXT&nbsp;&nbsp;&nbsp;</b></font><a href="\4.txt">\5)"
        "|"
        "(<li class="g"><blockquote style="margin-bottom:0"><h3\3>"
        "<a href="\4.txt">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #ECD9D9; "
        "padding-left: 1em; padding-right: 1em;">"
        "<font color="darkslategray"><b>TXT&nbsp;&nbsp;&nbsp;</b></font><a href="\4.txt">\5)"
        ")"
Replace = "\9"



RE: Google Updates... - ProxRocks - Mar. 30, 2013 01:36 PM

filter repost...
i don't think the "blockquote" matches are needed anymore, but want the above post in-place in case i need to bring them back...

i'm in-process of updating the "install" thread, so users may wish to wait for that thread to 'finalize' later this morning or so...
Code:
Name = "Google: Alt Disp 04 - PDF/XLS/DOC/ZIP/TXT  13.03.30 {PFR} [add]"
Active = TRUE
Multi = TRUE
URL = "$TST(hCT=*html)(www|images).google."
Limit = 384
Match = "("
        "(<li class="g">\2<h3\3>"
        "<a href="\4.pdf">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #FFC4FF; "
        "padding-left: 0.5em; padding-right: 0.5em;">"
        "<font color="red"><b>PDF&nbsp;&nbsp;&nbsp;</b></font><a href="\4.pdf">\5)"
        "|"
        "(<li class="g">\2<h3\3>"
        "<a href="\4.xls(|?)\6">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #8DC7BB; "
        "padding-left: 0.5em; padding-right: 0.5em;">"
        "<font color="green"><b>XLS&nbsp;&nbsp;&nbsp;</b></font><a href="\4.xls\6">\5)"
        "|"
        "(<li class="g">\2<h3\3>"
        "<a href="\4.doc(|?)\6">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #B7B7FF; "
        "padding-left: 0.5em; padding-right: 0.5em;">"
        "<font color="darkblue"><b>DOC&nbsp;&nbsp;&nbsp;</b></font><a href="\4.doc\6">\5)"
        "|"
        "(<li class="g"><h3\3>"
        "<a href="\4.zip">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #FFF06A; "
        "padding-left: 0.5em; padding-right: 0.5em;">"
        "<font color="darkgoldenrod"><b>ZIP&nbsp;&nbsp;&nbsp;</b></font><a href="\4.zip">\5)"
        "|"
        "(<li class="g"><h3\3>"
        "<a href="\4.txt">\5</h3>)"
        "$SET(9=<li class="g" style="background-color: #ECD9D9; "
        "padding-left: 0.5em; padding-right: 0.5em;">"
        "<font color="darkslategray"><b>TXT&nbsp;&nbsp;&nbsp;</b></font><a href="\4.txt">\5)"
        ")"
Replace = "\9"



RE: Google Updates... - soccerfan - Mar. 30, 2013 01:41 PM

(Mar. 30, 2013 01:36 PM)ProxRocks Wrote:  i'm in-process of updating the "install" thread, so users may wish to wait for that thread to 'finalize' later this morning or so...

When you do, could you please also attach the full set of your filters in a text file. Thanks Smile!


RE: Google Updates... - ProxRocks - Mar. 30, 2013 02:06 PM

all updates are in and the "install" thread is now up-to-date Smile!

for newcomers, it will be easier to visit the "install" thread than catching up via the updates in this thread...

the "install" thread is here -
http://prxbx.com/forums/showthread.php?tid=1912


RE: Google Updates... - ProxRocks - Mar. 30, 2013 02:09 PM

(Mar. 30, 2013 01:41 PM)soccerfan Wrote:  
(Mar. 30, 2013 01:36 PM)ProxRocks Wrote:  i'm in-process of updating the "install" thread, so users may wish to wait for that thread to 'finalize' later this morning or so...

When you do, could you please also attach the full set of your filters in a text file. Thanks Smile!

already did - the .txt is inside the alt--disp.zip Smile!

edit - i take that back, ONE of the filters (the "preview" function) isn't in that .txt file, it's in the thread text itself as Step C... but if you are "updating", you already have that step completed and don't need to repeat that step in order to update...


RE: Google Updates... - ProxRocks - May. 01, 2013 05:46 PM

a minor update to resolve Google changing the "Search" at the top of the page
Code:
Name = "Google: Alt Disp 07 - Kills/Replaces/Edits  13.05.01 {PFR} [add]"
Active = TRUE
URL = "$TST(hCT=*html)(www|images|mail).google."
Limit = 2048
Match = "<div style="\2class="(spon|wtali)\3"$SET(1=<div style="display:none;\2class="\3")"
        "|<div id="rhs_block" style="$SET(1=<div id="rhs_block" style="display:none;)"
        "|<td class="sfbgg">\2<style>$SET(1=<style="display:none;><!-- search header background killed -->\r\n\r\n)"
        "|<td class="ab_bg">\2</td>$SET(1=<!-- search header killed -->\r\n\r\n)"
        "|<div><tr><th\2</th></tr>$SET(1=<!-- columns killed -->\r\n\r\n)"
        "|<tr><td\2id="logo"\3</td>$SET(1=<!-- logo killed -->\r\n\r\n)"
        "|<td class="sfbgg" valign="top" colspan="2" style="padding-left:8px">"
        "<form\2 style="display:block;margin:0;background:none">\3value=\4 title="Search"\5</button></div></div></td>"
        "$SET(1=<td align="center"><form\2 style="border-bottom:1px solid #8DC7BB;margin-top:-22px;padding:2px 4px;"
        "position:fixed;background-color:white;z-index:997;width:100%;">\r\n"
        "<table width="99%" border="0" cellpadding="0">\r\n<tr><td>\r\n"
        "<input type="text" name="q" maxlength="255" value=\4 style="font-size:16px;font-weight:bold;padding:0 4px;width:98%;margin-right:12px;" /></td></tr>\r\n"
        "\r\n\r\n<!-- search form adjusted -->\r\n\r\n)"
        "|<td (width="259" |)style\2SafeSearch\3</td></tr>$SET(1=<!-- SafeSearch Indicator Killed -->\r\n\r\n)"
        "|<div id="tbbc"\2</div>$SET(1=<!-- tbbc killed -->\r\n\r\n)"
        "|<p (class="flc" |)id="bfl"\2</p>$SET(1=<!-- bfl killed -->\r\n\r\n)"
        "|<div (class="flc" |)id="fll"\2</div>$SET(1=<!-- fll Help killed -->\r\n\r\n)"
        "|<p id="mfr"\2DMCA\scomplaint\3</p>$SET(1=<!-- DMCA killed -->\r\n\r\n)"
        "|<p id="ofr"\2relevant\sresults\3</p>$SET(1=<!-- relevant 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" style="margin-top:55px;"><div style="float:right;margin-right:15px;">)"
        "|($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;">)"
        "|#gbx3,#gbx4\{background-color:#2d2d2d$SET(1=#gbx3,#gbx4\{background-color:Navy;)"
        "|a.gb1,a.gb4\{text-decoration:underline !important\}$SET(1=a.gb1,a.gb4{text-decoration:none !important;})"
        "|#ires\{padding-top:6px\}"
        "|spell\{font-size:16px\}$SET(1=spell{font-size:12px; color: #336600;})"
        "|spell_orig\{font-size:13px\}$SET(1=spell_orig{font-size:11px; color: #336600;})"
        "|<div id="resultStats">$SET(1=<div id="resultStats" style="margin-left:81%;margin-top:2px;position:fixed;z-index:999;">)"
        "|<u>More</u> \&raquo;$SET(1=More &raquo;)"
Replace = "\1"



RE: Google Updates... - soccerfan - May. 03, 2013 12:18 PM

Something isn't quite right with the latest update (of May 1, 2013).
Using palemoon portable 20.0.1 and portable opera 12.14.
See attached image. Eh?

EDIT: Using 'light' mode here.


RE: Google Updates... - ProxRocks - May. 03, 2013 12:28 PM

yikes, i see what's causing it...
IE is "smart enough" to fix it on its end, i'll have a cross-browser fix later today...


RE: Google Updates... - ProxRocks - May. 04, 2013 03:05 AM

this is more cross-browser friendly -
Code:
Name = "Google: Alt Disp 07 - Kills/Replaces/Edits  13.05.03 {PFR} [add]"
Active = TRUE
URL = "$TST(hCT=*html)(www|images|mail).google."
Limit = 3072
Match = "<div style="\2class="(spon|wtali)\3"$SET(1=<div style="display:none;\2class="\3")"
        "|<div id="rhs_block" style="$SET(1=<div id="rhs_block" style="display:none;)"
        "|<td class="sfbgg">\2<style>\3</style>$SET(1=<!-- search header background killed -->\r\n\r\n)"
        "|<td class="ab_bg">\2</td>$SET(1=<!-- search header killed -->\r\n\r\n)"
        "|<td class="ab_bg" colspan="2">\2<div id="resultStats">$SET(1=\2<div id="resultStats" style="margin-left:81%;margin-top:2px;position:fixed;z-index:999;">)"
        "|<div><tr><th\2</th></tr>$SET(1=<!-- columns killed -->\r\n\r\n)"
        "|<tr><td\2id="logo"\3</td>$SET(1=<!-- logo killed -->\r\n\r\n)"
        "|<td class="sfbgg" valign="top" colspan="2" style="padding-left:8px">"
        "<form\2 style="display:block;margin:0;background:none">\3value=\4 title="Search"\5</button></div></div></td>"
        "$SET(1=<td align="center"><form\2 style="border-bottom:1px solid #8DC7BB;margin-top:-22px;padding:2px 0px 2px 4px;"
        "position:fixed;background-color:white;z-index:997;width:100%;">\r\n"
        "<table width="99%" border="0" cellpadding="0">\r\n<tr><td>\r\n"
        "<input type="text" name="q" maxlength="255" value=\4 style="font-size:16px;font-weight:bold;padding:0px 4px;width:98%;margin:0px 16px 0px 6px;" /></td></tr>\r\n"
        "\r\n\r\n<!-- search form adjusted -->\r\n\r\n)"
        "|<td (width="259" |)style\2SafeSearch\3</td></tr>$SET(1=<!-- SafeSearch Indicator Killed -->\r\n\r\n)"
        "|<div id="tbbc"\2</div>$SET(1=<!-- tbbc killed -->\r\n\r\n)"
        "|<p (class="flc" |)id="bfl"\2</p>$SET(1=<!-- bfl killed -->\r\n\r\n)"
        "|<div (class="flc" |)id="fll"\2</div>$SET(1=<!-- fll Help killed -->\r\n\r\n)"
        "|<p id="mfr"\2DMCA\scomplaint\3</p>$SET(1=<!-- DMCA killed -->\r\n\r\n)"
        "|<p id="ofr"\2relevant\sresults\3</p>$SET(1=<!-- relevant 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" style="margin-top:55px;"><div style="float:right;margin-right:15px;">)"
        "|($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;">)"
        "|#gbx3,#gbx4\{background-color:#2d2d2d$SET(1=#gbx3,#gbx4\{background-color:Navy;)"
        "|a.gb1,a.gb4\{text-decoration:underline !important\}$SET(1=a.gb1,a.gb4{text-decoration:none !important;})"
        "|#ires\{padding-top:16px\}"
        "|spell\{font-size:16px\}$SET(1=spell{font-size:12px; color: #336600;})"
        "|spell_orig\{font-size:13px\}$SET(1=spell_orig{font-size:11px; color: #336600;})"
        "|<u>More</u> \&raquo;$SET(1=More &raquo;)"
Replace = "\1"



RE: Google Updates... - soccerfan - May. 04, 2013 12:54 PM

(May. 04, 2013 03:05 AM)ProxRocks Wrote:  this is more cross-browser friendly -

Sure is. Thanks. Smile! I tried it on portable versions of:
Opera(12.14), k-meleon(1.6), palemoon(20.0.1) and iron(25)


RE: Google Updates... - ProxRocks - May. 16, 2013 09:42 AM

small update to fix "Search instead for" and "Did you mean"...
only tested in IE for now, will test cross-browser over the next few days unless you guys beat me to it...
Code:
Name = "Google: Alt Disp 05 - Images/Srt/Sif/Dym  13.05.16 {PFR} [add]"
Active = TRUE
URL = "$TST(hCT=*html)(www|images).google."
Limit = 3072
Match = "("
        "(<a href\="\/imgres\?imgurl\=\3\&(amp;)+imgrefurl\=\4\&\5><img)"
        "$SET(9=<a class="Pr0XFlPref" href="\3" onmouseover="prxO.oFly.flShow(prxO.oFly.flLink("
        "'Originating&#160;Page','\4'),event,1);" onmouseout="prxO.oFly.flDHide();"><img)"
        "|"
        "(<li class="g"><h3 class="r">"
        "<a href="\/images\?\1">)"
        "$SET(9=<li style="background-color: #F8DAE2; border-top: 2px solid #A5D3CA; "
        "padding-left: 0.5em; padding-right: 0.5em;"><h3><a href="\/images\?\1">)"
        "|"
        "(<a href="\/imgres\?imgurl\=\0$SET(imgurl=\0)(%3F\8|)\&amp;imgrefurl\=\#">)"
        "$SET(9=<a href="$GET(imgurl)">)"
        "|"
        "(<div style="font-size:16px;padding:0 8px 1px">Searches\srelated\sto\4<table\5</table>)"
        "$SET(9=<div style="background-color: #FFC8C8; border-top: 2px solid #A5D3CA; "
        "margin-left: 8px; margin-right: 8px; padding-left: 0.5em; padding-right: 0.5em;">"
        "Searches related to\4<div style="background-color: #FFC8C8; "
        "margin-left: 8px; margin-right: 8px;"><table\5</table></div>)"
        "|"
        "(<div style="font-size:16px;padding-top:6px;margin-bottom:1em">\2Search\sinstead\sfor\3</div>)"
        "$SET(9=<div style="background-color: #DCEDEA; border-top: 2px solid #A5D3CA; "
        "padding-left: 0.5em; padding-right: 0.5em; margin-top: 6px; margin-bottom: -6px;">\2Search instead for\3</div>)"
        "|"
        "(<div style="font-size:16px;padding-top:6px;margin-bottom:1em">\2"
        "<span class="spell ng" style="margin-bottom:7px">Did\syou\smean\3</div>)"
        "$SET(9=<div style="background-color: #DCEDEA; border-top: 2px solid #A5D3CA; "
        "padding-left: 0.5em; padding-right: 0.5em; margin-top: 6px; margin-bottom: -6px;">\2Did you mean\3</div>)"
        ")"
Replace = "\9"



RE: Google Updates... - ProxRocks - Sep. 05, 2013 01:33 PM

some cosmetic alignment fixes...

(i had to bypass Proxo to download...)


RE: Google Updates... - neverwasinparis - Sep. 06, 2013 01:24 PM

(Sep. 05, 2013 01:33 PM)ProxRocks Wrote:  (i had to bypass Proxo to download...)

I had the same problem.
'$FILTER(false)' if 'Content-disposition: attachment' fixed it.
downloaded the file ~10 times, sorry. Wink


RE: Google Updates... - ProxRocks - Sep. 06, 2013 01:46 PM

i don't recall that being an issue in the past...
i'm guessing forum software updates are the culprit...