Post Reply 
[Req] Clean up Yahoo webmail
Sep. 19, 2008, 10:12 AM
Post: #1
[Req] Clean up Yahoo webmail
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


Attached File(s)
.gif  yahoo_webmail.gif (Size: 61.92 KB / Downloads: 766)
Add Thank You Quote this message in a reply
Sep. 19, 2008, 04:39 PM
Post: #2
RE: [Req] Clean up Yahoo webmail
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>"
Add Thank You Quote this message in a reply
Sep. 20, 2008, 08:44 AM
Post: #3
RE: [Req] Clean up Yahoo webmail
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.


Attached File(s)
.jpg  filter.jpg (Size: 109.27 KB / Downloads: 760)
.gif  unfiltered_webmail.gif (Size: 88.03 KB / Downloads: 763)
Add Thank You Quote this message in a reply
Sep. 20, 2008, 12:37 PM
Post: #4
RE: [Req] Clean up Yahoo webmail
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.
Add Thank You Quote this message in a reply
Sep. 21, 2008, 12:51 PM
Post: #5
RE: [Req] Clean up Yahoo webmail
(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.)
Add Thank You Quote this message in a reply
Sep. 21, 2008, 06:05 PM
Post: #6
RE: [Req] Clean up Yahoo webmail
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
Add Thank You Quote this message in a reply
Sep. 22, 2008, 01:55 AM
Post: #7
RE: [Req] Clean up Yahoo webmail
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".
Add Thank You Quote this message in a reply
Sep. 22, 2008, 08:26 AM
Post: #8
RE: [Req] Clean up Yahoo webmail
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.
Add Thank You Quote this message in a reply
Sep. 22, 2008, 07:38 PM
Post: #9
RE: [Req] Clean up Yahoo webmail
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>"
Add Thank You Quote this message in a reply
Sep. 24, 2008, 11:49 AM
Post: #10
RE: [Req] Clean up Yahoo webmail
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
Add Thank You Quote this message in a reply
Sep. 24, 2008, 01:57 PM
Post: #11
RE: [Req] Clean up Yahoo webmail
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"...
Add Thank You Quote this message in a reply
Sep. 24, 2008, 07:06 PM
Post: #12
RE: [Req] Clean up Yahoo webmail
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


Attached File(s)
.jpg  grab2.jpg (Size: 112.42 KB / Downloads: 752)
.jpg  grab3.JPG (Size: 107.49 KB / Downloads: 704)
Add Thank You Quote this message in a reply
Sep. 25, 2008, 12:25 AM
Post: #13
RE: [Req] Clean up Yahoo webmail
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)...
Add Thank You Quote this message in a reply
Sep. 25, 2008, 01:55 AM
Post: #14
RE: [Req] Clean up Yahoo webmail
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
Add Thank You Quote this message in a reply
Sep. 25, 2008, 03:58 AM
Post: #15
RE: [Req] Clean up Yahoo webmail
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.
Quote this message in a reply
Post Reply 


Forum Jump: