Author Topic: How to kill off-site FLASH ?  (Read 1866 times)

Bes

  • Newbie
  • *
  • Posts: 29
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • Email
How to kill off-site FLASH ?
« on: May 14, 2002, 05:20:26 AM »
I'm just not able to write such a filter myself, but since guru's are
always ready to try, and perhaps noone wrote one such filter ?

Is it possible to filter Off-Site-Flash (which are mostly banners anyway) ?


 
 

sidki3003

  • Sr. Member
  • ****
  • Posts: 476
    • ICQ Messenger -
    • AOL Instant Messenger -
    • Yahoo Instant Messenger -
    • View Profile
    • http://
    • Email
How to kill off-site FLASH ?
« Reply #1 on: May 14, 2002, 06:32:08 AM »
Hi Bes,
I almost never see those
Can you provide a URL, so we can see which filter does the job?
Maybe it's the default filter "Flash animation killer"?
regards, sidki

 
 

Jor

  • 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
How to kill off-site FLASH ?
« Reply #2 on: May 14, 2002, 01:46:15 PM »
Hi,

this filter should do the trick:
Name = "Kill off-site flash"
Active = TRUE
Multi = TRUE
URL = "^$LST(AllowFlash)"
Bounds = "$NEST(<object,</object>)|<embeds*>"
Limit = 1024
Match = "<1s*(shockwave|macromedia|flash|swf)*&"
        "(*(src=$AV((w://|)([^/]++)([^.|..]w.*)2)|"
        "*<param name=$AV(movie) value=$AV((w://|)([^/]++)([^.|..]w.*)2) >)*)"
Replace = "<a href="2" class="flash" class="proxlink"> 2</a>"

I don't have the plug-in myself at the moment, so please test yourself

Rather than killing it entirely, I rewrote the 'Convert Flash animations to links' filter I have to only intercept flash on remote servers. This way, you have the choice of still seeing it if you want.

Edited by - Jor on 14 May 2002  14:49:50