<SCRIPT type="text/vbscript"> Function bytes2BSTR(vIn) strReturn = "" For i = 1 To LenB(vIn) ThisCharCode = AscB(MidB(vIn,i,1)) If ThisCharCode < &H80 Then strReturn = strReturn & Chr(ThisCharCode) Else NextCharCode = AscB(MidB(vIn,i+1,1)) strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt(NextCharCode)) i = i + 1 End If Next bytes2BSTR = strReturn End Function </script> <script type="text/javascript" language="javascript1.2"> var xmlhttp =new ActiveXObject("Microsoft.XMLHTTP"); //xmlhttp.open("GET","http://soft.2118.com.cn/soft/26470.htm",false); //xmlhttp.Send(); //var Mygettext = bytes2BSTR(xmlhttp.responseBody); //alert(Mygettext); </script>
为了不影响网站,注释掉一部分. 
|