|
I use an img tag to pull something that I know exists from my target, and JavaScript to pull something from my own machine if the img from the target fails. Maybe you could build from this:
<script type="text/javascript">
Now=new Date();
Out ='<img src="http://target.com/green.gif';
Out+='?'+Now*1;
Out+='" onerror="this.src=\'red.gif\'"/>\n';
document.write(Out);
</script>
|