PageSourceSearch

https://www.seiburailway.jp/assets/js/seiburailways.core.js/

js seiburailway.jp collected 2026-10-01 10:27:46 UTC 1,268 bytes, 66 lines download raw bytes

1
2
3$(function () {
4
5	$(document).ready(function(){
6            emergency();
7            operation();
8            banner();
9        });
10
11	var operation = function () {
12
13		$.ajax({
14			type: 'GET',
15			url: '/api/v1/servicestatus.jsonp',
16			dataType: 'jsonp',
17			jsonpCallback: 'sr_servicestatus_callback',
18			cache: true,
19                        async: false,
20			statusCode: {
21				404: function () {}
22			}
23		}).then(
24			// Done
25			function (json, status, xhr) {
26				var len = json.IDS2Web;
27
28				for (var i = 0; i < len.length; i++) {
29
30					
31					plf = len[i].plf
32					var info = '';
33                    			for (var pld = plf.pld, j = 0; j < pld.length; j++) {
34                            
35			                        info += '<p class="m-link theme-strong"><a>' + pld[j].lang_ja + '</a></p>';
36
37			                }
38					
39					if (plf.pld.length) {
40						$('.js-railwaysInfo').before('<section class="top__importantInfo"><div class="top__importantInfo_inner"><div class="top__importantInfo_detail">' + info + '</div></div></section>');
41					}
42
43
44
45
46
47				}
48
49
50			},
51			// Failed
52			function (json) {}
53		);
54	};
55
56	var emergency = function () {
57		//noAction
58	}
59
60  var banner = function () {
61		//noAction
62	};
63
64});
65
66

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.