first, this script you're dreaming of would have to connect to the given page being redirected to
every time the redirector is loaded. it'd have to sift through
hundreds, maybe even
thousands, of lines of code each visit. it'd have to parse the required ad code out of all those lines to make sure it's in there, somewhere. and whether or not the code is in there, it must tell itself to show an ad or show nothing. and it'd have to do it all
instantly. can you say 'resource hog'?
and there are other things to take into account. like maybe someone has put the code in between these:
or these:
Code:
<[b][/b]noscript></[b][/b]noscript>
or code the page in php or cgi/ssi, etc... and hide the code in an if/else statement, so if the server's i.p. or hostname shows up looking for the code, it shows it. otherwise, it leaves it out, which is
very easy to accomplish.
yeah, your little script idea there is
real practical.