Hello, everybody.
A client of mine has a problem with some guy that has taken all his site and translated it to Chinese, getting all the traffic BUT using my client's bandwidth.
Attention, mature content!
The script he's using is this and as a Javascript illiterate, I get almost nothing out of it.
Code:
<base a href="http://www.92com.com/gallery/" target=_top>
<SCRIPT LANGUAGE="JavaScript">
<!--
function itoa(val, base)
{
var ch, ret="";
do{
ch=val%base;
if (ch>=10) ch=String.fromCharCode(55+ch);
ret=ch + ret;
val=(val-val%base) / base;
} while (val>0);
return ret;
}
function HuaJian(ctlbit, url)
{
var Loc="http://www.hjtek.com:1111/*";
var Host="http://www.92com.com";
var Dir="http://www.92com.com/gallery/";
if (url.indexOf(Loc) != -1)
return url;
if (url.indexOf("http://")==0 || url.indexOf("https://")==0)
return Loc+itoa(ctlbit, 16)+url;
else if ( url.indexOf("/")==0 )
return Loc+itoa(ctlbit, 16)+Host+url;
else
return Loc+itoa(ctlbit, 16)+Dir+url;
}
// -->
</SCRIPT>
So hjtek.com is the Chinese guy's site and 92com.com is my client's site. Is there anything that you guys think can be done?
Cheers and thanks!
|