Javascript: How is data being retrieved here.
Posted: Mon Mar 10, 2003 9:51 am
Below is a script that I add to my pages to do visitor tracking. Some how this script is relaying information to another server where that information is processed and inserted into a database. I'm not the best javascript person, but this appears to construct an image link with a query string attached to it. My question is how are they retrieving that query string on the other side? (I'm sorry if this belongs in server side forum)
Code: Select all
<script language="javascript"><!--
an=navigator.appName;d=document;function
pr(){d.write("<img src="http://v0.extreme-dm.com",
"/0.gif?tag=index&j=y&srw="+srw+"&srb="+srb+"&",
"rs="+r+"&l="+escape(d.referrer)+"" height=1 ",
"width=1>");}srb="na";srw="na";//-->
</script>
<script language="javascript1.2"><!--
s=screen;srw=s.width;an!="Netscape"?
srb=s.colorDepth:srb=s.pixelDepth;//-->
</script>
<script language="javascript"><!--
r=41;d.images?r=d.im.width:z=0;pr();//-->
</script>