PageSourceSearch

https://seoulchurch.or.kr/js/advanced_trace.js?1597114502

js seoulchurch.or.kr collected 2026-09-25 09:48:49 UTC 1,296 bytes, 48 lines download raw bytes

1var ADVANCED_TRACE = function(){
2	var appendCode = function(type,replace_variable){
3		$(function(){
4			var is_cache = false;
5			var callback = function(res){
6				if(res.msg == 'SUCCESS'){
7					if(res.advanced_trace_data != null){
8
9						if(res.advanced_trace_data.header != ''){
10							$('head').append(res.advanced_trace_data.header);
11						}
12						if(res.advanced_trace_data.body != ''){
13							$('body').append(res.advanced_trace_data.body);
14						}
15						if(res.advanced_trace_data.footer != ''){
16							$('footer').append(res.advanced_trace_data.footer);
17						}
18					}
19
20					if ( ! is_cache ) {
21						IMWEB_SESSIONSTORAGE.set('ADVANCED_TRACE_CODE_' + type + '_' + JSON.stringify(replace_variable), res, 60);
22					}
23				} else {
24					alert(res.msg);
25				}
26			};
27
28			var trace_code = IMWEB_SESSIONSTORAGE.get('ADVANCED_TRACE_CODE_' + type + '_' + JSON.stringify(replace_variable));
29			if ( trace_code ) {
30				is_cache = true;
31				callback(trace_code);
32			} else {
33				$.ajax({
34					type : 'POST',
35					data : {'type' : type, replace_variable : replace_variable},
36					url : ('/ajax/get_advanced_trace_code.cm'),
37					dataType : 'json',
38					success : callback
39				});
40			}
41		});
42	};
43	return {
44		"appendCode" : function(type,replace_variable){
45			appendCode(type,replace_variable);
46		}
47	}
48}();

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.