js/jsSet.js

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

//获得客户端对象
function get_CZBxmlHttp() {
    var xmlhttp; // = new ActiveXObject;				
    try {
        xmlhttp = new ActiveXObject('Msxml2.XMLHTTP');
    }
    catch (e) {
        try {
            xmlhttp = new ActiveXObject('Microsoft.XMLHTTP');

        }
        catch (e) {
            try {
                xmlhttp = new XMLHttpRequest();

            }
            catch (e) {

                alert("创建XMLHttpRequest对象失败!");
            }
        }
    }
    return xmlhttp;
}
//设置质量控制复选框
function setQuality() {
    xmlHttp = get_CZBxmlHttp();
    var param;
    var ip = document.getElementsByName("chkip");
    var cookie = document.getElementsByName("chkcookie");   
   
    var chestr="";
    if (ip[0].checked == true && cookie[0].checked == true) {     
        chestr="";
    }else if(ip[0].checked == false && cookie[0].checked == true)
    {
      chestr="cooke";
    }
    else if(ip[0].checked == true && cookie[0].checked == false)
    {
      chestr="ip";
    }else
    {
        chestr = "ipcookie";
    }
    param = chestr;
    var url = "AjaxWeb.aspx?typeid=5&txt=" + param;    
    param = escape(param, 'utf-8');
    xmlHttp.onreadystatechange = function () {
        if (xmlHttp.readyState == 4) {
            if (this.xmlHttp.status == 200) {
                
            } else {
                alert('访问出现错误 ' + xmlHttp.status);
            }
        }
    
     };
    xmlHttp.open("post", url, true); //传递数据的方法同样有GET和POST两种,但是当方法为POST时下面的一句话就必须写
    xmlHttp.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
后面还有 91 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。