⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 debug usage_collection.htm

📁 Debug命令大全, DOS下ASM程序调试很有用
💻 HTM
📖 第 1 页 / 共 5 页
字号:
	f_showVerify(o);
	}

function  showcpro(cproshowstr) { document.getElementById("cproshow").innerHTML=cproshowstr;}

function Ku6(vid,i){
  var so = new SWFObject('http://img.ku6.com/common/V2.0.baidu.swf', '', '500', '350', '8', '');
  so.addParam('FlashVars', 'vid='+vid);
  so.addParam('allowScriptAccess', 'always');
  so.write('player'+i);
}

//set hi status code

var arrHiStatus = [];
function IM_STATUS_CALLBACK(arrStatus)
{
	var len = SetHi._bdAllUserID.length;
	for (var property in arrStatus)
    {
		arrHiStatus[property] = arrStatus[property];	
		
		
		for(i=0; i<	len; i++)
		{
			if(SetHi._bdAllUserID[i] == property)
			{				
				SetHi.showHiStatus(i);
			}
		}
	}		
}

var hiID = 0;
var SetHi = 
{
	showHiStatus:function(hiID)
	{	
		
		var fidstr = SetHi._bdAllUserID[hiID];
		if(fidstr == "" || fidstr == " ")
			return;				
				
		var online,imuser;	
		var self = this;
			
		
		if(arrHiStatus[fidstr] && arrHiStatus[fidstr].online && arrHiStatus[fidstr].imuser)
		{
			online = arrHiStatus[fidstr].online;
			imuser = arrHiStatus[fidstr].imuser;
		}
		else
			return;
			
		if(imuser == "1")
		{
			var p_hi = document.getElementById("p_hi_"+hiID);			
			
			var fid = p_hi.getAttribute("value");
			
			//在线或隐身
			if(online == "1" || online == "2")
			{
				p_hi.innerHTML = ("<img id='hi_"+hiID+"' src='/tb/img/hi/hiOnline.gif' style='cursor:pointer;' align=absbottom border=0 />&nbsp;");				
			}
			//离线
			else if(online == "0")
			{
				p_hi.innerHTML = ("<img id='hi_"+hiID+"' src='/tb/img/hi/hiOffline.gif' style='cursor:pointer;' align=absbottom border=0 />&nbsp;");				
			}
			var img = document.getElementById("hi_"+hiID);			
			img.onclick = function()
			{
				var sid = "";					
				startBaiduHi( 'message', sid, fid); //sid:自己的用户名,fid:对方的用户名

			}
		}
	},
	
	request:function(id,url)
	{
		try
		{
			//oScript = document.getElementById(id);
			var head = document.getElementsByTagName("head").item(0);
			 //if (oScript) {
			//	head.removeChild(oScript);
			// }
			 var oScript = document.createElement("script");
			 oScript.setAttribute("src", url);
			 //oScript.setAttribute("id",id);
			 oScript.setAttribute("type","text/javascript");
			 oScript.setAttribute("language","javascript");
			 head.appendChild(oScript);
			 return oScript;
		}
		catch(e)
		{			
		}
	},
	
	getHiStatus:function(arrHiID)
	{			
		for(var i=0; i<arrHiID.length; i++)
		{
			if(arrHiID[i] == "" || arrHiID[i] == " ")
			{
				arrHiID.splice(i,1);	
				i --;		
			}
		}	

		if(arrHiID.length==0)
			return;
			
		bdAllUserID = arrHiID.join(",");		
		
		var hiUrl = "http://pdc.baidu.com/imstate/?callback=IM_STATUS_CALLBACK&type=json&uids="+bdAllUserID;
		
		this.request("hiScript",hiUrl);
	},
	removeSpace:function(json)
	{
		if(json == "")
		return [];
		json = json.replace(/[,]+/g,",");
		json = json.split(",");
		if(json[0] == "")
			json.splice(0,1);		
		if(json.length>0)
			if(json[json.length-1] == "")
				json.splice(json.length-1,1);	
		
		for(i=0; i<json.length; i++)
		{
			for(j=i+1; j<json.length; j++)
			{
				if(json[i] == json[j])
				{
					json.splice(j,1);
					j--;
				}
			}
		}
		return json;
	},
	init:function(bdAllUserID)
	{	
		
		this._bdAllUserID = bdAllUserID.split(",").concat();		
		
		bdAllUserID = this.removeSpace(bdAllUserID); //去空格、去重,返回数组
		
		var bdAllUserID2 = [];
		var MAX_REQUEST = 25;
		if(bdAllUserID.length>MAX_REQUEST)
		{
			var len = bdAllUserID.length;
			for(var i=MAX_REQUEST; i<len; i++)
			{
				bdAllUserID2[bdAllUserID2.length] = bdAllUserID[i];
			}
			bdAllUserID.splice(MAX_REQUEST,len-MAX_REQUEST);
			this.getHiStatus(bdAllUserID);
			this.getHiStatus(bdAllUserID2);
		}
		else
		{
			this.getHiStatus(bdAllUserID);
		}
		
		
	}
};


var bdAllUserID = "5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,5bc6d3f1bde00500,,,,,";

//end set hi status

-->
</script>

<body text=#000000 bgcolor=#ffffff topmargin=0  bottommargin=0 leftmargin=0 rightmargin=0 onLoad="f_load()">
<script src="/tb/js/check_baiduhi.js"></script>
<div style="display:none"><ct>DEBUG最全命令大全:申请加精 </ct></div>
<div class="usrbar"><nobr>
<script>res_str="http://passport.baidu.com/?reg&tpl=tb&u="+escape(window.location.href)+"&aid=6";login_str="http://passport.baidu.com/?login&tpl=tb&u="+escape(window.location.href)+"&aid=6";document.write("<a href=\"http://www.baidu.com/\" >百度首页</a>&nbsp;|&nbsp;");document.write("<a href=\""+login_str+"\" >登录</a>");</script>
</nobr></div>
<form name=f1 onSubmit="return gowhere(this)" action=/f>
<input type=hidden name=ct value=352321536>
<input type=hidden name=tn value=baiduPostSearch>
<input type=hidden name=rn value=10>
<input type=hidden name=pn value=0>
<input type=hidden name=lm value=65536>
<input type=hidden name=sc value="">
<input type=hidden name=kw value="">
<input type=hidden name=rs2 value="0">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -