updated 2002-08-18My webbug filter.
Replace all images <5x5 with a dummy using proper dimensions.
But give a sign if it's not a simple gif without query string (offsite and inline).
Work with JavaScript.
Ideas by several people.
[Patterns]
Name = "Kill: Webbugs"
Active = TRUE
URL = "
($TYPE(htm)|$TYPE(js)
)(^$LST(Bypass_Ads))"
Bounds = "<i(mg|mage|nput)s*>"
Limit = 800
Match = "(*(width=$AV((\"|"|)7[#0:4](\"|"|)))1)"
"&(*(height=$AV((\"|"|)[#0:4](\"|"|)))2)"
"&*src="
"("
"("
"(^*.gif(\"|"|s|>))&(\"|"|)"
"("
"3
&(([^ "'+]+{50})5?*$SET(6=5...)|([^ "'+]+)6*)"
")"
"(\"|"|s|>)"
"&$SET(4=<a href=737><img src=7http://Local.ptron/red.gif7 width=747 height=747 border=707></a>)"
")"
"|$SET(4=<img src=7http://Local.ptron/killed.gif7 1 2>)"
")*"
Replace = "4"
/5 and /6 is used for debugging, remove it if you don't need it (blue code).
If you don't maintain a bypass ads list, remove the green code.
That piece of art, "red.gif" is
attached (to be placed in the html dir).
/sidki
Edited by - sidki3003 on 18 Aug 2002 14:33:07