PageSourceSearch

https://www.7m.com.cn/js/gamesearch.js

js 7m.com.cn collected 2026-10-03 17:35:30 UTC 1,631 bytes, 50 lines download raw bytes

1function SearchTeam(key) 
2{
3	key = key.Trim();
4	if(key=="")
5	{
6		closeSearch();
7	}
8	$$("ulGameLive").innerHTML = "<div style='text-align:center'><br><br><img src='//img.7m.com.cn/v2/mload.gif'/></div>";
9	$$("divSTitle").innerHTML = "正在搜索。。。";
10	var divGame =$$("divGame");
11	if(divGame.style.display=="none")
12	{
13		var pos = GetZB($$("txtGame"));
14		divGame.style.display ="block";
15		divGame.style.left = pos.left - 148 + "px";
16		divGame.style.top = pos.top + pos.height + "px";
17	}
18	var url ="https://search.7m.com.cn/liveq.aspx?k=" + encodeURIComponent(key)  +"&e=0&js=1";
19	if(typeof(dt)!="undefined") dt = null;
20	LoadJS(url,SearchTeamCallback);
21
22}
23
24function closeSearch()
25{
26	$$("divGame").style.display="none";
27}
28
29function SearchTeamCallback()
30{
31}
32
33function loadgame(obj)
34{
35	var strHTML = "";
36	for(var i=0;i<obj.length;i++)
37	{
38		strHTML += "<li><a onmouseover=\"this.className='hover'\" onmouseout=\"this.className='odd'\" href='javascript:ShowDetails(" +  obj[i][0] +")'>" + (obj[i][4] != "17" ? "<strong>" + ChangeState(parseInt(obj[i][4])) + "</strong>" : "") + obj[i][1] + (obj[i][3] == "" ? " VS " : " <strong>" + obj[i][3] + "</strong> ") + obj[i][2]  + "</a></li>";
39	}
40	$$("ulGameLive").innerHTML = strHTML;
41	$$("divSTitle").innerHTML = "共<span class='red'>" +  obj.length  +"</span>条结果";
42}
43
44var STATE_ARR = ["", "上", "中", "下", "完", "断", "取", "加", "加", "加", "完", "点", "全", "延", "斩", "待", "金", ""];
45function ChangeState(startIndex)
46{
47	if (startIndex < 0 || startIndex > 18)
48		startIndex = 0;
49	return STATE_ARR[startIndex];
50}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.