The Un-Official Proxomitron Forum
[Req] Clean up Yahoo webmail - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Filters (/forumdisplay.php?fid=38)
+--- Forum: Filter Help/Request (/forumdisplay.php?fid=31)
+--- Thread: [Req] Clean up Yahoo webmail (/showthread.php?tid=1099)

Pages: 1 2


[Req] Clean up Yahoo webmail - leecovuk - Sep. 19, 2008 10:12 AM

URL: mail.yahoo.com / uk.mail.yahoo.com

Hello,

Does anyone know how (and is willing) to adjust/add to Sidki's Yahoo filter(s) to remove the 'search' box at the top right of the webmail pages? For me, this annoyingly partly masks some local links such as 'Options'. I've attached a screen grab of what I see. On that, I have all Yahoo filters turned off and turning any/all on doesn't remove the search elements.
I suppose my experience here might be subject to one or more of the other filters in the config, but I'm assuming it needs a current Yahoo filter updating or maybe a new Yahoo filter for webmail.

Thanks for any help,
Lee


RE: [Req] Clean up Yahoo webmail - ProxRocks - Sep. 19, 2008 04:39 PM

hmm, i don't use Yahoo Mail, but do have this filter blocking top-of-page crap on other Yahoo sites, maybe it will work for you...
Code:
Name = "<div>: Remove Larger class= Yahoo Content IIc"
Active = TRUE
URL = "$TYPE(htm)(^$KEYCHK(^C))[^/]++.yahoo.com/"
Bounds = "$NEST(<div,</div>)"
Limit = 25000
Match = "*class=$AV((mast|ob)\1)*"
Replace = "<center>"
          "<span class=Prox id="p-comment" style=display:none;>"
          "\&bull; Yahoo class= Content IIc - \1"
          "</span></center>"



RE: [Req] Clean up Yahoo webmail - leecovuk - Sep. 20, 2008 08:44 AM

Hello ProxRocks and thanks,

Assuming I've made that filter correctly (I've attached a screengrab) it doesn't seem to be impacting on my issue.

I've noticed my problem is caused by Prox removing content; the page then 'contracts' and that search box ends up where I showed it earlier.
In case it inspires you or anyone else, I've attached a screengrab of the page unfiltered. It seems to be the removal of the 'Yahoo Mail Classic' logo (h**p://eur.a1.yimg.com/eur.yimg.com/a/uk/mail/btyclassic1.gif) that seems to cause the problem. Disabling all the functions under 'Block Ads By URL' doesn't seem to bring it back. (whilst keeping Block Ads By URL itself turned on)

Lee

edited at 9.18 GMT to correct what I earlier wrote.


RE: [Req] Clean up Yahoo webmail - leecovuk - Sep. 20, 2008 12:37 PM

I appear to have 'fixed' this myself. Adding the following to the bottom of IncludeExclude-U.ptxt brings the Yahoo Classic logo back and the search box falls back into its correct position. Luckily (?) no ads seem to be let through as a result of doing this.

*mail.yahoo.com* $SET(0=a_adban.a_adimg.)

I did that using the 'white triangle in a green circle' Prox menu on the webpage, by selecting 'Allow Ad Banners', using 'list' to save it, having made the url generic. I never have (and never will) know how to make such rules manually. All I understand is you can make the matching url generic by bunging a star before and after it.


RE: [Req] Clean up Yahoo webmail - whenever - Sep. 21, 2008 12:51 PM

(Sep. 20, 2008 12:37 PM)leecovuk Wrote:  *mail.yahoo.com* $SET(0=a_adban.a_adimg.)
Remove that entry and add below entry to AdKeys-S.ptxt:
Code:
[^/]++.mail.yahoo.com/        $SET(sAdKey=.ygmasrchfrm.)



RE: [Req] Clean up Yahoo webmail - leecovuk - Sep. 21, 2008 06:05 PM

Thanks, whenever,

However that seems to put me back to my original situation.
Maybe we have other filters impacting?
I've put your line at the bottom of AdKeys-S.ptxt and commented out my line in IncludeExclude-U.ptxt (put a # at the start of it)

Thanks,
Lee


RE: [Req] Clean up Yahoo webmail - whenever - Sep. 22, 2008 01:55 AM

I am using sidki's latest beta version.

Have you used the prox menu to reload edited lists and clear your browser's cache before you reloaded the yahoo page?

The another way is to install a firebug extension to your firefox and use the inspect function to find out the form id of that search box and replace the "ygmasrchfrm".


RE: [Req] Clean up Yahoo webmail - leecovuk - Sep. 22, 2008 08:26 AM

Hello again,

whenever Wrote:I am using sidki's latest beta version.
Me too.
Quote:Have you used the prox menu to reload edited lists and clear your browser's cache before you reloaded the yahoo page?
Yes, I did all that.
Quote:The another way is to install a firebug extension to your firefox and use the inspect function to find out the form id of that search box and replace the "ygmasrchfrm".
okay. My method seems to be working though, so I might (need to) just stay with that.


RE: [Req] Clean up Yahoo webmail - ProxRocks - Sep. 22, 2008 07:38 PM

maybe this?

Code:
Name = "<form>: Remove Yahoo Search"
Active = TRUE
URL = "$TYPE(htm)(^$KEYCHK(^C))[^/]++.yahoo.com/"
Bounds = "$NEST(<form,</form>)"
Limit = 25000
Match = "*id="ygmasrchfrm"*"
Replace = "<center>"
          "<span class=Prox id="p-comment" style=display:none;>"
          "\&bull; Yahoo Search"
          "</span></center>"



RE: [Req] Clean up Yahoo webmail - leecovuk - Sep. 24, 2008 11:49 AM

Hello ProxRocks,

Thanks, but that doesn't seem to work for me. Seems the same as when I started. I've tried the filter in Web Page Filters right at the top of the list or at the top of the Yahoo group. (I'm not using any other Yahoo filters in that group except the URL untangler)

Lee


RE: [Req] Clean up Yahoo webmail - ProxRocks - Sep. 24, 2008 01:57 PM

ah, think i found it, i get a different search box in Firefox than i do in ie-shells (guess that shouldn't surprise me)...

try replacing the id="ygmasrchfrm" with id="ygmasrchquery"...


RE: [Req] Clean up Yahoo webmail - leecovuk - Sep. 24, 2008 07:06 PM

hmm still no change for me in either IE or Firefox. It increasingly looks like I'm doing something wrong here, doesn't it !
I've attached 2 grabs, one showing my attempt at your (revised) filter; the other showing a resulting Firefox page.
I don't know if the url format is throwing things off here?
In case it's relevant, which presumably it isn't, I log in using a Yahoo Autologin script using (half)SSL.

Lee


RE: [Req] Clean up Yahoo webmail - ProxRocks - Sep. 25, 2008 12:25 AM

hmmm... let me dig a little deeper tomorrow...

the above filters have been working for me in "my" config, i'll revert to a sidki-out-of-the-box config and see what i can do for you (ie, axe the search box instead of 'moving' or 'realligning' it [too much .css generally involved], "axeing" is ALWAYS "easiest", lol)...


RE: [Req] Clean up Yahoo webmail - leecovuk - Sep. 25, 2008 01:55 AM

ok thanks, see what turns up when you have time.
I'm just about to PM you a link to a copy of my Prox folder if you want to try being 'me'. I don't think there's any personally identifying stuff in it; I've taken out my entries in the Y!Login txt file.
If anyone else knowledgeable wants to have a poke around, just ask. Not that this Yahoo thing is that big a deal, of course.

Lee


RE: [Req] Clean up Yahoo webmail - Guest - Sep. 25, 2008 03:58 AM

Code:
[Patterns]
Name = "Find it"
Active = FALSE
URL = "$TYPE(htm)"
Limit = 25600
Match = "<(^/)([a-z]+)\1[^>]+> "
        "(<(^/)[^>]+> )+ search:"
        "&"
        "$NEST(<$TST(\1),</$TST(\1)>)"
Post the code that this matches, if any.
Tested at uk.yahoo.com/index_narrow.html

It'll need to be enabled.