On Wed, 14 Jan 2004 16:20:31 +0100, misha <in**@my-works.org> wrote:
Surely, if a browser is expecting image data[1], you should only send
image data. If you send mark-up, wouldn't the browser just ignore it as
it wasn't expecting it?
Thanks for response. You are right.
I would like to know if there is some method to make browser change it's
mind and execute my script.
I very much doubt it.
With links (<A href="...), the browser is free to interpret and render the
data according to its type, whether that be markup, image or sound (etc)
data. However, with IMG elements, the browser is being told explicity that
the data is an image; it should be interpreted and displayed as such. At
best, you could always return an image like this one:
http://www.mlwinter.pwp.blueyonder.co.uk/steal.gif
It's a 1024x768, two-colour GIF and only 4800 bytes. It would have a low
impact on bandwidth and be quite effective at making your point. I know of
a site that does this sort of thing be cause of their massive bandwidth
problems (they actually return a 32767x32767 plain white GIF at just under
710 kilobytes). They also check the server logs and ban requests that
originate from sites that link to them without permission.
Mike
--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)