Author Topic: Kill clueless ALT attributes  (Read 3175 times)

Jor

  • Moderator
  • Sr. Member
  • *****
  • Posts: 421
    • ICQ Messenger - 10401286
    • AOL Instant Messenger - jor otf
    • Yahoo Instant Messenger - jor_otf
    • View Profile
    • http://members.outpost10f.com/~jor/
    • Email
Kill clueless ALT attributes
« on: June 03, 2002, 11:44:03 AM »
I forgot where I found this filter, but made a small alteration to it:

[Patterns]
Name = "Kill clueless ALT attributes"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)"
Bounds = "<i(mg|nput)s*>"
Limit = 256
Match = "1 alt=$AV((*.(gif|png|jpg|jpeg|jpe|bmp|xbm)*)|*size*b)"
        " 2"
Replace = "1 alt="" 2"


This will remove any alt attributes which contain the image name itself, or it's filesize. Replace alt="" in the replace section with whatever you like, or leave it blank.

Edited by - Jor on 18 Jun 2002  15:49:00
 

sidki3003

  • Sr. Member
  • ****
  • Posts: 476
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://
    • Email
Kill clueless ALT attributes
« Reply #1 on: June 03, 2002, 02:21:57 PM »
It's one of Paul Rupe's.

 
 

Jor

  • Moderator
  • Sr. Member
  • *****
  • Posts: 421
    • ICQ Messenger - 10401286
    • AOL Instant Messenger - jor otf
    • Yahoo Instant Messenger - jor_otf
    • View Profile
    • http://members.outpost10f.com/~jor/
    • Email
Kill clueless ALT attributes
« Reply #2 on: June 03, 2002, 03:13:54 PM »
*L* Of course... probably most filters I forgot the origin of still in my set are his. Thanks