PageSourceSearch

https://amass.jp/parts_update/update_top.js

js amass.jp collected 2026-10-02 06:40:36 UTC 2,664 bytes, 86 lines download raw bytes

1//////////////////////////////////////////////////////////////////////////////////////////////			
2// 更新情報
3function update_list(x,y){
4	///////////////////////////////////////////////
5	document.getElementById("update_top").innerHTML = "<img src='https://amass.jp/img/kihon/nowload.gif'>";
6
7	///////////////////////////////////////////////
8	// Mozilla, Firefox, Safari, IE7
9	if (window.XMLHttpRequest){
10		httpObject_update = new XMLHttpRequest();
11	// IE5, IE6
12	} else if (window.ActiveXObject){
13		try {
14			httpObject_update = new ActiveXObject("Msxml2.XMLHTTP"); 
15		} catch(e) {
16			httpObject_update = new ActiveXObject("Microsoft.XMLHTTP"); 
17		}
18	}
19	///////////////////////////////////////////////	
20	httpObject_update.onreadystatechange = display_update_list;
21	///////////////////////////////////////////////	
22	// HTTP
23	httpObject_update.open ("GET", x + "parts_update/update_top.php?type=" + y + "&" + (new Date).getTime() , true);	
24	httpObject_update.send (null);
25	///////////////////////////////////////////////	
26	// 全件未セレクト
27	this_array = new Array('up_a','up_b','up_c','up_d','up_e','up_f','up_g','up_h','up_i','up_j','up_k');
28
29	for(i=0;i < this_array.length;i++){
30		select_on = this_array[i];
31		
32		document.getElementById(select_on).style.backgroundPosition= '0 0';		
33	}
34
35	// セレクト=全件(新着順)
36	if(y == ""){
37		this_on = "up_a";	
38	// セレクト=リリース情報
39	} else if(y == "1"){
40		this_on = "up_b";	
41	// セレクト=無料ダウンロード
42	} else if(y == "2"){
43		this_on = "up_c";	
44	// セレクト=試聴
45	} else if(y == "3"){
46		this_on = "up_d";	
47	// セレクト= 映像
48	} else if(y == "4"){
49		this_on = "up_e";	
50	// セレクト=ライヴ/イベント
51	} else if(y == "5"){
52		this_on = "up_f";	
53	// セレクト=人気のニュース
54	} else if(y == "6"){
55		this_on = "up_g";	
56	// セレクト=TV/ラジオ/映画
57	} else if(y == "7"){
58		this_on = "up_h";	
59	// セレクト=ベストリスト
60	} else if(y == "8"){
61		this_on = "up_i";	
62	// セレクト=結成/解散/訃報他
63	} else if(y == "9"){
64		this_on = "up_j";	
65	// セレクト=その他
66	} else if(y == "99"){	
67		this_on = "up_k";	
68	}
69
70	document.getElementById(this_on).style.backgroundPosition= '0 -30px';	
71
72}
73
74///////////////////////////////////////////////	
75// 更新情報~表示
76function display_update_list(){
77	if(httpObject_update.readyState == 4 && httpObject_update.status == 200){
78
79		update_txt = decodeURIComponent(httpObject_update.responseText);
80		
81		document.getElementById("update_top").innerHTML = update_txt;
82
83	}
84}
85
86

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.