FWIW,
A long time ago I found a bannerblaster from ScoJo, based on IAB size standards using no list, at the time I was too using an AdDims list and noticed that the listless version was a couple of factors faster than my own. So I switched to using ScoJo's version without list...here it is modified and extended since the original...
It's gonna wrap so I put it in a code block, but you'll probably still have to make your window wider to let it unwrap
Name = "Banner Blaster ImgSize IAB Standards (IMG/INPUT SRC) (ScoJo) kill"
Active = TRUE
URL = "*&(^$IHDR(Content-Type:*PrxOriginalType*))"
Bounds = "<I(mg|nput)[^>]+>"
Limit = 512
Match = "<((*width=( ((|\|)("|))[#0:5]( ((|\|)("|)) &*height=( ((|\|)("|))[#0:5]( ((|\|)("|))) $SET(8=Beacon)"
" |(*width=( ((|\|)("|))[#1] ( ((|\|)("|)) &*height=( ((|\|)("|))[#1] ( ((|\|)("|))) $SET(8=Beacon)"
" |(*width=( ((|\|)("|))[#100]( ((|\|)("|)) &*height=( ((|\|)("|))[#101]( ((|\|)("|))) $SET(8=100x100)"
" |(*width=( ((|\|)("|))[#110]( ((|\|)("|)) &*height=( ((|\|)("|))[#110]( ((|\|)("|))) $SET(8=110x110)"
" |(*width=( ((|\|)("|))[#120]( ((|\|)("|)) &*height=( ((|\|)("|))[#60] ( ((|\|)("|))) $SET(8=120x60)"
" |(*width=( ((|\|)("|))[#120]( ((|\|)("|)) &*height=( ((|\|)("|))[#90] ( ((|\|)("|))) $SET(8=120x90)"
" |(*width=( ((|\|)("|))[#120]( ((|\|)("|)) &*height=( ((|\|)("|))[#240]( ((|\|)("|))) $SET(8=120x240)"
" |(*width=( ((|\|)("|))[#120]( ((|\|)("|)) &*height=( ((|\|)("|))[#600]( ((|\|)("|))) $SET(8=120x600)"
" |(*width=( ((|\|)("|))[#125]( ((|\|)("|)) &*height=( ((|\|)("|))[#126]( ((|\|)("|))) $SET(8=125x125)"
" |(*width=( ((|\|)("|))[#125]( ((|\|)("|)) &*height=( ((|\|)("|))[#600]( ((|\|)("|))) $SET(8=125x600)"
" |(*width=( ((|\|)("|))[#160]( ((|\|)("|)) &*height=( ((|\|)("|))[#600]( ((|\|)("|))) $SET(8=160x600)"
" |(*width=( ((|\|)("|))[#180]( ((|\|)("|)) &*height=( ((|\|)("|))[#150]( ((|\|)("|))) $SET(8=180x150)"
" |(*width=( ((|\|)("|))[#200]( ((|\|)("|)) &*height=( ((|\|)("|))[#55] ( ((|\|)("|))) $SET(8=200x55)"
" |(*width=( ((|\|)("|))[#230]( ((|\|)("|)) &*height=( ((|\|)("|))[#33] ( ((|\|)("|))) $SET(8=230x33)"
" |(*width=( ((|\|)("|))[#234]( ((|\|)("|)) &*height=( ((|\|)("|))[#60] ( ((|\|)("|))) $SET(8=234x60)"
" |(*width=( ((|\|)("|))[#240]( ((|\|)("|)) &*height=( ((|\|)("|))[#400]( ((|\|)("|))) $SET(8=240x400)"
" |(*width=( ((|\|)("|))[#250]( ((|\|)("|)) &*height=( ((|\|)("|))[#250]( ((|\|)("|))) $SET(8=250x250)"
" |(*width=( ((|\|)("|))[#300]( ((|\|)("|)) &*height=( ((|\|)("|))[#250]( ((|\|)("|))) $SET(8=300x250)"
" |(*width=( ((|\|)("|))[#336]( ((|\|)("|)) &*height=( ((|\|)("|))[#280]( ((|\|)("|))) $SET(8=336x280)"
" |(*width=( ((|\|)("|))[#468]( ((|\|)("|)) &*height=( ((|\|)("|))[#60] ( ((|\|)("|))) $SET(8=468x60)"
" |(*width=( ((|\|)("|))[#468]( ((|\|)("|)) &*height=( ((|\|)("|))[#68] ( ((|\|)("|))) $SET(8=468x68)"
" |(*width=( ((|\|)("|))[#468]( ((|\|)("|)) &*height=( ((|\|)("|))[#80] ( ((|\|)("|))) $SET(8=468x80)"
" |(*width=( ((|\|)("|))[#468]( ((|\|)("|)) &*height=( ((|\|)("|))[#100]( ((|\|)("|))) $SET(8=468x100)"
" |(*width=( ((|\|)("|))[#470]( ((|\|)("|)) &*height=( ((|\|)("|))[#60] ( ((|\|)("|))) $SET(8=470x60)"
" |(*width=( ((|\|)("|))[#80] ( ((|\|)("|)) &*height=( ((|\|)("|))[#40] ( ((|\|)("|))) $SET(8=80x40)"
" |(*width=( ((|\|)("|))[#81] ( ((|\|)("|)) &*height=( ((|\|)("|))[#63] ( ((|\|)("|))) $SET(8=81x63)"
" |(*width=( ((|\|)("|))[#88] ( ((|\|)("|)) &*height=( ((|\|)("|))[#31] ( ((|\|)("|))) $SET(8=88x31)"
" |(*width=( ((|\|)("|))[#88] ( ((|\|)("|)) &*height=( ((|\|)("|))[#32] ( ((|\|)("|))) $SET(8=88x32)"
" |(*width=( ((|\|)("|))[#89] ( ((|\|)("|)) &*height=( ((|\|)("|))[#31] ( ((|\|)("|))) $SET(8=89x31)"
" )*> "
"&&<*(SRC=) ([(\"']+|)1(((f|ht"+"|ht)tp(s|)(:|%3a)(/|%2f)+{2}|(/|%2f))|)3 5(["']|)2s6>"
"&(^<*SRC=$AV(*/(ts|transparent|trans|tiny|spc|spacer|space|shim|s|pixel|pix|null|lin|leftnav_shim|lg-dot|empty|dummy|dot"
" |clear_pixel|cleardot|clear|circlespot001|c|box_??|box_?|blank|black|b|1x1|1ptrans|1pix|1).gif)*>)"
Replace = "<IMG 1http://Proxomi.Tron:82/_Images/BugOnE.gif?352 ALT=8 width=2 height=2>"
quote:
(*width=([#720:760])7 & *height=([#85:100])8) *>$SET(9=a.monster.2 7x8)
SidKi, if yer running out of variables, unfold the size tests, that'll give you two vars extra to play with
(if yo?r going internal (no list) put the size tests in numerical order (I found it skipped sizes otherwise sometimes)
JarC
tegghead filter:
quote:
" |(*width=( ((|\|)("|))[#100]( ((|\|)("|)) &*height=( ((|\|)("|))[#101]( ((|\|)("|))) $SET(8=100x100)"
" |(*width=( ((|\|)("|))[#125]( ((|\|)("|)) &*height=( ((|\|)("|))[#126]( ((|\|)("|))) $SET(8=125x125)"
they should be:
" |(*width=( ((|\|)("|))[#100]( ((|\|)("|)) &*height=( ((|\|)("|))[#100]( ((|\|)("|))) $SET(8=100x100)"
" |(*width=( ((|\|)("|))[#125]( ((|\|)("|)) &*height=( ((|\|)("|))[#125]( ((|\|)("|))) $SET(8=125x125)"
altosax.
Edited by - altosax on 17 Aug 2002 13:59:41
Hi,
A few notes/questions:
Kill: Banners (linked) uses <as*</a>. Isn't $NEST(<a,</a>) faster?
Kill: Banners (not linked) uses a lot of strings which could be optimized.
Mine looks like this: <i(mg|nput)s*>|<frames*>|$NEST(<iframe,</iframe>)|$NEST(<layer,</layer>)|$NEST(<ilayer,</ilayer>)|$NEST(<object,</object>)|<embeds*>|$NEST(<applet,</applet>)
(As you can see I also added applet and frame. The latter because in MSIE's backwards compatibility mode, it works the same as iframe when used inline, with the exception that it has no closing tag).
Question: is there a difference in functionality between <iframe*>(*</iframe>|) or <iframe*>(|*</iframe>) and $NEST(<iframe,</iframe>)?
Iframes without a closing tag don't work anyway.
Also, embed has no closing tag: it was never part of the HTML standard, and thus did not transfer to XHTML, which added closing tags for all elements. Correct HTML uses <object> instead, and this tag does require a closing tag.
Typical <embed> usage (only in HTML4.01 Transitional Documents and lesser) is still:
<EMBED SRC="/path/file.cmx WIDTH="100" HEIGHT="200">
<NOEMBED>
<P>Sorry, but you do not have a Corel CMX plugin for
displaying Corel CMX image files. Here is an alternate
version, as a regular GIF.</P>
<IMG SRC="/path/file.gif" HEIGHT="200" WIDTH="100"
ALT="stupid example image">
</NOEMBED>
Lastly, is the post edited with all changes, or need I download the zipfile again to get the last version of AdDims as well?
Edited by - Jor on 23 Aug 2002 19:26:25