Author Topic:  (Read 2010 times)


  • Jr. Member
  • **
  • Posts: 75
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
« on: July 15, 2002, 06:30:52 AM »
Yahoo has made changes to pages which happens
to make it easy to strip out a few advertisment sections.
This filter removes tables which contain certain key words:
ADVERTISEMENT which conviently marks a table of ads,
MTFSID which seems to always be part of a comment line inside
the table for the advertisement banner on the page, and
MTFAD:N:750x100 which catches some other banners that don't
have an MTFSID comment.

Name = "Kill advertisement tables"
Active = TRUE
URL = "(story.|)*"
Bounds = "$NEST(<table,</table>)"
Limit = 10000
Replace = "<!-- Yahoo 1 removed -->"

So far I haven't seen where this has removed any legitimate content.
Although it would on older-style yahoo pages such as
and if you used it on them (which is why I've been so
specific with the URL match)
Hopefully they are moving those other pages to this new format!!
I'm sure this filter will evolve, I've re-written it several times
since I started posting this
(and now editted it once since posting!)

Edited by - pooms on 15 Jul 2002  07:44:12