PageSourceSearch

https://spo.go.kr/applex_wdigm_html5/applex_local.js

js spo.go.kr collected 2026-09-24 08:28:48 UTC 5,884 bytes, 129 lines download raw bytes

1/***********************************************
2 * WinnerDigm PS-Filter
3 * Version: 5.0.6
4 * HTML5 Filter + IFrame Filter
5 **********************************************/
6
7//------------------------------------------------//
8//		PS-Filter Configure						  //
9//------------------------------------------------//
10var wd_root_path	  = '';  		// 예제: '/root'
11var wd_fileup_lib	  = '';			// 예제: cos & ''
12var wd_enable_fmanager= false;		// 필터 메니저 사용 여부: 1 || true - 사용, 0 || false - 사용 안함
13var wd_enable_ui	  = true;		// UI 상용 여부: 1 || true 
14var wd_bword_space    = true;		// 금직어 true : 공백체크, false : 단어
15var wd_debug          = false;		// 디버그 할때 사용
16
17var wd_uri_fmanager	  = 'http://localhost:9090/FilterManager/detect/detect_process.jsp';		// 필터 메니저 url 주소
18var wd_uri_fileconv   = wd_root_path+'/applex_wdigm_html5/applet/jsp/fileup_cu_old.jsp';				// 파일 업로드 & 변환
19var wd_uri_getip 	  = wd_root_path+'/applex_wdigm_html5/applet/jsp/ip.jsp';							// 아이피 주소 빋기
20
21/*    Example   
22var uri_filter_man 	= 'https://192.168.1.17:443/FilterManager/detect/detect_process.jsp';	// 필터 메니저 url 주소
23var uri_filter_man 	= 'http://192.168.1.17:8080/FilterManager/detect/detect_process.jsp';	// 필터 메니저 url 주소
24uri_convert 		= wd_root_path+'/applex_wdigm_html5/applet/jsp/fileup_cos.jsp';				// 파일 업로드 & 변환
25*/
26
27//-------------------------------------------------//
28//		<JavaScript> 추가							   //
29//-------------------------------------------------//
30//document.write("<script src='"+wd_root_path+"/applex_wdigm_html5/applet/jquery-1.10.2.min.js'></script>");
31//document.write("<script src='"+wd_root_path+"/applex_wdigm_html5/applet/jquery-2.1.4.js'></script>");
32
33/*		<Policy> & Jquery Script		*/
34document.write("<script type='text/javascript' src='"+wd_root_path+"/applex_wdigm_html5/policy.js'></script>");
35document.write("<script type='text/javascript' src='"+wd_root_path+"/applex_wdigm_html5/b_word.js'></script>");
36document.write("<script type='text/javascript' src='"+wd_root_path+"/applex_wdigm_html5/b_word2.js'></script>");
37document.write("<script type='text/javascript' src='"+wd_root_path+"/applex_wdigm_html5/applet/jquery/jquery-latest.js'></script>");
38
39/*		<PrivacyScan> Script			*/
40document.write("<script type='text/javascript' src='"+wd_root_path+"/applex_wdigm_html5/applet/wdigm_constain.js'></script>");
41document.write("<script type='text/javascript' src='"+wd_root_path+"/applex_wdigm_html5/applet/wdigm_lib.js'></script>");
42
43/*		<AlertUI> Script				*/
44if(wd_enable_ui == 1)
45{
46	document.write("<script type='text/javascript' src='"+wd_root_path+"/applex_wdigm_html5/applet/wdigm_expr.js'></script>");
47	document.write("<script type='text/javascript' src='"+wd_root_path+"/applex_wdigm_html5/applet/wdigm_api.js'></script>");
48	
49	//document.write("<script src='"+wd_root_path+"/applex_wdigm_html5/applet/alert/js/jquery.js' type=\"text/javascript\"></script\>");
50	document.write("<script type='text/javascript' src='"+wd_root_path+"/applex_wdigm_html5/applet/ui/js/jquery.ui.draggable.js' type=\"text/javascript\"\></script\>");
51	document.write("<script type='text/javascript' src='"+wd_root_path+"/applex_wdigm_html5/applet/ui/js/jquery.alerts.js' type=\"text/javascript\"\></script\>");
52	
53	document.write("<link href='"+wd_root_path+"/applex_wdigm_html5/applet/ui/css/jquery.alerts.css' rel=\"stylesheet\" type=\"text/css\" media=\"screen\" /\>");
54	document.write("<link href='"+wd_root_path+"/applex_wdigm_html5/applet/ui/css/ui.alert.css' rel=\"stylesheet\" type=\"text/css\"  /\>");
55}else{
56	document.write("<script type='text/javascript' src='"+wd_root_path+"/applex_wdigm_html5/applet/wdigm_expr_a.js'></script>");
57	document.write("<script type='text/javascript' src='"+wd_root_path+"/applex_wdigm_html5/applet/wdigm_api_a.js'></script>");
58}
59
60//-------------------------------------------------//
61//		file <OnChange="wd_filecheck(this,formname)">							   //
62//-------------------------------------------------//
63function wd_filecheck(FileType, fileForm)
64{
65	if(IEversion()){
66		//$("#write").attr("disabled",true);
67//		$("#wd_img").hide();
68//		$("#wd_btn").attr("disabled","disabled");
69//				document.charset = 'utf-8';
70		
71		fileForm.action = wd_uri_fileconv;
72		fileForm.target = "uploadIFrame1";
73		fileForm.submit();
74		
75		$("#uploadIFrame1").load(function (){
76//			$("#wd_btn").attr("disabled", false);
77//			$("#wd_img").show();
78		});
79//				document.charset = 'euc-kr';
80	}	
81}
82
83//-------------------------------------------------//
84//		HTML <TAG> replace						   //
85//-------------------------------------------------//
86function wd_tagremover(str)
87{
88	return str.replace(/(<([^>]+)>)/ig,"");
89}
90
91//-------------------------------------------------//
92//		FORM <FileCount> Check					   //
93//-------------------------------------------------//
94function wd_formFileCount(fileForm)
95{
96	var count=0;
97	if(wd_fileup_lib == 'cos'){
98		for(var iform = 0; iform < fileForm.length; iform++){
99			var iFormType = fileForm[iform].type;
100			if(iFormType=='file'){
101				count++;
102			}
103		}
104		return count;
105	}
106}
107
108//-------------------------------------------------//
109//		<File DELETE> check						   //
110//-------------------------------------------------//
111function wd_formFileDelete(dltFormValue)
112{
113	if(!(delFiles.indexOf(dltFormValue) > -1))
114	{
115		delFiles = delFiles+dltFormValue+':';
116	}
117}
118
119//-------------------------------------------------//
120//		<BROWSER> check	Internet Explorer Version  //
121//-------------------------------------------------//
122function IEversion()
123{
124	if(navigator.appName.charAt(0)=='M'|| navigator.appVersion.indexOf('rv:11.0') != -1){  // IEVersion
125		return true;
126	}else{
127		return false;
128	}
129}

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.