PageSourceSearch

https://www.korea.kr/jsV5/changeUrl.js?time=202610021911

js korea.kr collected 2026-10-02 10:13:50 UTC 41,643 bytes, 867 lines download raw bytes

1var thisUrl = location.href;
2var referUrl = document.referrer;
3
4//console.log("referUrl : " + referUrl);
5
6/*
7if(thisUrl.indexOf("https")>-1){
8	thisUrl = thisUrl.replace("https://","http://");
9	location.href = thisUrl;
10}
11*/
12
13if(thisUrl.indexOf("reporter.korea.kr")>-1){
14	thisUrl = "https://www.korea.kr/news/reporterList.do";
15	location.href = thisUrl;
16}else if(thisUrl.indexOf("/archive/govVisionList.do")>-1){
17	//thisUrl = "https://www.korea.kr/news/policyNewsView.do?newsId=148947514";
18	thisUrl = "https://www.korea.kr/govVision/index.html";
19	location.href = thisUrl;
20}
21	//thisUrl     = "https://www.korea.kr:7001/policy/economyView.do?newsId=148798598&aaa=11";
22	var trueUrl = "";
23	var param   = "";
24	var pass    = false;
25
26if(thisUrl.indexOf("economy.korea.kr") > -1) {				//economy
27	trueUrl = "https://www.korea.kr"+thisUrl.substr(thisUrl.indexOf("economy.korea.kr")+16, thisUrl.length); //thisUrl.indexOf("economy.korea.kr");
28
29	pass = true;
30}
31//2019.12.03 policy -> news url변경 추가
32else if(thisUrl.indexOf("/policy/cardnewsView.do") > -1){
33	trueUrl = thisUrl.replace("/policy/cardnewsView.do","/news/cardnewsView.do");
34	pass = true;
35}
36
37/*else if(thisUrl.indexOf("policyplus/policyQuizList.do") > -1){
38	if(thisUrl.indexOf("quizId") == -1){
39		trueUrl = "https://www.korea.kr/policyplus/policyQuizList.do?quizId=01IjqUvCADGJ000"
40		pass = true;
41	}
42}else if(thisUrl.indexOf("/policyplus/byulbyulList.do") > -1){
43	if(thisUrl.indexOf("issue") == -1){
44		trueUrl = "https://www.korea.kr/policyplus/byulbyulList.do?issue=01Ii27t0EDGJ000"
45		pass = true;
46	}
47}*/
48
49if(pass) {
50	trueUrl = trueUrl + param;
51		window.location.href = trueUrl;
52}
53
54var cookie = document.cookie;
55var ckCnt = cookie.indexOf("selectedMedia=PC");
56if(ckCnt == -1){
57	
58	if( navigator.userAgent.match(/Android/i)
59	    || navigator.userAgent.match(/webOS/i)
60	    || navigator.userAgent.match(/iPhone/i)
61	    || navigator.userAgent.match(/iPad/i)
62	    || navigator.userAgent.match(/iPod/i)
63	    || navigator.userAgent.match(/BlackBerry/i)
64	    || navigator.userAgent.match(/Windows Phone/i) ){
65		
66		
67		 if(thisUrl.indexOf("guide/privacy.do") > -1) {						//개인??보 처리방침
68			trueUrl = "https://m.korea.kr/etc/privacy.do";
69			pass = true;
70		} else if(thisUrl.indexOf("etc/privacy.do") > -1) {						//개인정보 처리방침
71			trueUrl = "https://m.korea.kr/etc/privacy.do";
72			pass = true;
73		} else if(thisUrl.indexOf("guide/copyRight.do") > -1) {						//????권??책
74			trueUrl = "https://m.korea.kr/etc/copyRight.do";
75			pass = true;
76		} else if(thisUrl.indexOf("etc/copyRight.do") > -1) {						//저작권정책
77			trueUrl = "https://m.korea.kr/etc/copyRight.do";
78			pass = true;
79		} else if(thisUrl.indexOf("guide/emailReject.do") > -1) {					//??메????집거??
80			trueUrl = "https://m.korea.kr/etc/emailReject.do";
81			pass = true;
82		} else if(thisUrl.indexOf("etc/emailReject.do") > -1) {					//이메일수집거부
83			trueUrl = "https://m.korea.kr/etc/emailReject.do";
84			pass = true;
85		} else if(thisUrl.indexOf("guide/toMaster.do") > -1) {					//운영자에게
86			trueUrl = "https://m.korea.kr/etc/toMaster.do";
87			pass = true;
88		} else if(thisUrl.indexOf("cultureWriterView.do") > -1){
89			trueUrl = "https://m.korea.kr/news/cultureColumnView.do";
90				param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
91				pass = true;
92		} else if(thisUrl.indexOf("briefing/stateCouncilList.do") > -1) {			//??????의 브리??
93			trueUrl = "https://m.korea.kr/briefing/briefingHomeList.do?gubun=stateCouncil";
94			pass = true;
95		} else if(thisUrl.indexOf("briefing/policyBriefingList.do") > -1) {			//???? 브리??
96			trueUrl = "https://m.korea.kr/briefing/briefingHomeList.do?gubun=policyBriefing";
97			pass = true;
98		} else if(thisUrl.indexOf("briefing/presidentList.do") > -1) {
99			trueUrl = "https://m.korea.kr/briefing/briefingHomeList.do?gubun=president";
100			pass = true;
101		} else if(thisUrl.indexOf("archive/ebookWeeklyList.do") > -1) {
102			trueUrl = "https://m.korea.kr/archive/ebookMainList.do";
103			pass = true;
104		} else if(thisUrl.indexOf("archive/ebookDeptList.do") > -1) {
105			trueUrl = "https://m.korea.kr/archive/ebookMainList.do?metaId=dept_ebook";
106			pass = true;
107		}  else if(thisUrl.indexOf("archive/ebookCartoonList.do") > -1) {
108			trueUrl = "https://m.korea.kr/archive/ebookMainList.do?metaId=yaho_korea2";
109			pass = true;
110		} else if(thisUrl.indexOf("archive/ebookHopeList.do") > -1) {
111			trueUrl = "https://m.korea.kr/archive/ebookMainList.do?metaId=hope_ebook";
112			pass = true;
113		} else if(thisUrl.indexOf("archive/expDocMainList.do") > -1 || thisUrl.indexOf("archive/expDocList.do") > -1) {				//??문??료 리스??
114			trueUrl = "https://m.korea.kr/archive/expDocMainList.do";
115			pass = true;
116		} else if(thisUrl.indexOf("etc/byulbyulList.do") > -1) {				//SNS이벤트
117			
118			trueUrl = "https://m.korea.kr/etc/byulbyulView.do"+location.href.substr(location.href.indexOf('?'));
119			pass = true;
120		} else if(thisUrl.indexOf("etc/byulBeforeList.do") > -1 && thisUrl.indexOf("period=ended") < 0 ) {				//SNS이벤트
121			trueUrl = "https://m.korea.kr/etc/byulbyulList.do";
122			pass = true;
123		} else if(thisUrl.indexOf("etc/byulBeforeList.do") > -1 && thisUrl.indexOf("period=ended") > -1 ) {				//SNS이벤트
124			trueUrl = "https://m.korea.kr/etc/policyQuizList.do?pageSe=byulbyul&eventIng=END";
125			pass = true;
126		} else if(thisUrl.indexOf("etc/policyQuizList.do") > -1 ) {				//정책퀴즈
127			trueUrl = "https://m.korea.kr/etc/policyQuizView.do";
128			pass = true;
129		} else if(thisUrl.indexOf("news/policyFocusHome.do") > -1 ) {			//정책포커스
130			trueUrl = "https://m.korea.kr/news/policyFocusList.do";
131			pass = true;
132		} else if(thisUrl.indexOf("/main.do") > -1) {				//SNS이벤트
133			trueUrl = "https://m.korea.kr";
134			pass = true;
135		}else if(thisUrl.indexOf("/etc/newsNotifySetting.do") > -1) {				//SNS이벤트
136			trueUrl = "https://m.korea.kr/etc/newsNotifyGuide.do?pageSe=sett
136ing";
137			pass = true;
138		}else if(thisUrl.indexOf("/etc/newsLetterList.do") > -1) {				//뉴스레터 목록
139			trueUrl = "https://m.korea.kr/etc/newsLetterMain.do?pageSe=list";
140			pass = true;
141		} else{
142			//thisUrl = thisUrl.replace("https://www.korea.kr", "http://m.korea.kr");
143			//thisUrl = thisUrl.replace("http://korea.kr", "http://m.korea.kr");
144			thisUrl = thisUrl.replace("https://korea.kr", "https://m.korea.kr");
145			thisUrl = thisUrl.replace("https://www.korea.kr", "https://m.korea.kr");
146			console.log("trueUrl=="+thisUrl);
147			trueUrl = thisUrl;
148			pass = true;				
149		}
150
151
152
153		if(pass) {
154			trueUrl = trueUrl + param;
155				window.location.href = trueUrl;
156				console.log(trueUrl);
157		}
158		
159		/*
160		if(thisUrl.indexOf("deptIntroduceView.do") > -1) {
161			url = thisUrl.substring(thisUrl.indexOf("url=")+4, thisUrl.indexOf("url=")+11);
162			trueUrl = "https://www.gov.kr/portal/orgInfo/"+url;
163			pass = true;
164		}else if(thisUrl.indexOf("policyNewsView.do") > -1) {
165			trueUrl = "https://m.korea.kr/news/policyNewsView.do";
166			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
167			pass = true;
168		
169		} else if(thisUrl.indexOf("cultureView.do") > -1) {	
170			trueUrl = "https://m.korea.kr/news/policyNewsView.do";
171			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
172			pass = true;
173		
174		} else if(thisUrl.indexOf("societyView.do") > -1) {	
175			trueUrl = "https://m.korea.kr/news/policyNewsView.do";
176			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
177			pass = true;
178		
179		} else if(thisUrl.indexOf("diplomacyView.do") > -1) {	
180			trueUrl = "https://m.korea.kr/news/policyNewsView.do";
181			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
182			pass = true;
183		
184		} else if(thisUrl.indexOf("/policy/mainView.do") > -1) {	
185			trueUrl = "https://m.korea.kr/news/policyNewsView.do";
186			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
187			pass = true;
188		
189		} else if(thisUrl.indexOf("summitDiplomacyList.do") > -1) {
190			trueUrl = "https://m.korea.kr/special/summitDiplomacyList.do";
191			pass = true;
192		
193		} else if(thisUrl.indexOf("summitDiplomacyView.do") > -1){
194			trueUrl = "https://m.korea.kr/special/summitDiplomacyView.do";
195			param   = "?pkgId=" + thisUrl.substring(thisUrl.indexOf("pkgId=")+6, thisUrl.indexOf("pkgId=")+15);	
196			param   += "newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
197			pass = true;
198			
199		} else if(thisUrl.indexOf("cardnewsView.do") > -1) {
200	
201			trueUrl = "https://m.korea.kr/news/cardnewsView.do";
202			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);		
203			pass = true;
204		} else if(thisUrl.indexOf("pressReleaseView.do") > -1) {
205			trueUrl = "https://m.korea.kr/news/pressReleaseView.do";
206			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
207			pass = true;
208		
209		} else if(thisUrl.indexOf("actuallyView.do") > -1) {
210			//trueUrl = "https://m.korea.kr/newsWeb/m/factView.do";
211			trueUrl = "https://m.korea.kr/news/actuallyView.do";
212			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
213			pass = true;
214		
215		} else if(thisUrl.indexOf("graphicsView.do") > -1) {
216			trueUrl = "https://m.korea.kr/news/graphicsView.do";
217			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
218			pass = true;
219	
220		} else if(thisUrl.indexOf("cartoonView.do") > -1) {
221			trueUrl = "https://m.korea.kr/news/cartoonView.do";
222			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
223			pass = true;
224			
225		} else if(thisUrl.indexOf("weekendView.do") > -1) {
226			//trueUrl = "https://m.korea.kr/newsWeb/m/factView.do";
227			trueUrl = "https://m.korea.kr/news/weekendView.do";
228			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
229			pass = true;
230			
231		} else if(thisUrl.indexOf("healthView.do") > -1) {
232			trueUrl = "https://m.korea.kr/news/healthView.do";
233			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
234			pass = true;
235			
236		} else if(thisUrl.indexOf("policyQuizList.do") > -1) {
237			if(thisUrl.indexOf("quizId") > -1){
238				trueUrl = "https://m.korea.kr/etc/policyQuizView.do";
239				param   = "?quizId=" + thisUrl.substring(thisUrl.indexOf("quizId=")+7, thisUrl.indexOf("quizId=")+22);
240				pass = true;
241			}else{
242				trueUrl = "https://m.korea.kr/etc/policyQuizList.do";
243				pass = true;
244			}
245			
246			
247		} else if(thisUrl.indexOf("policyQuizView.do") > -1) {
248			trueUrl = "https://m.korea.kr/etc/policyQuizView.do";
249			pass = true;
250			if(thisUrl.indexOf("quizId") > -1){
251				param   = "?quizId=" + thisUrl.substring(thisUrl.indexOf("quizId=")+7, thisUrl.indexOf("quizId=")+22);
252			}
253		} else if(thisUrl.indexOf("reporterView.do") > -1) {
254			
255			trueUrl = "https://m.korea.kr/news/reporterView.do";
256			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
257			pass = true;
258		} else if(thisUrl.indexOf("reporterList.do") > -1) {
259			
260			trueUrl = "https://m.korea.kr/news/reporterList.do";
261			pass = true;
262		} else if(thisUrl.indexOf("economyList.do") > -1 || thisUrl.indexOf("cultureList.do") > -1|| thisUrl.indexOf("societyList.do") > -1
263				|| thisUrl.indexOf("diplomacyList.do") > -1){
264			trueUrl = "https://m.korea.kr/news/policyNewsList.do";
265			pass = true;
266			
267		} else if(thisUrl.indexOf("cardnewsList.do") > -1 || thisUrl.indexOf("cardnewsMainList.do") > -1) {
268			trueUrl = "https://m.korea.kr/news/policyNewsList.do";
269			pass = true;
270			
271		} else if(thisUrl.indexOf("policy/mainList.do") > -1) {
272			trueUrl = "https://m.korea.kr/news/policyNewsList.do";
273			pass = true;
274			
275		} else if(thisUrl.indexOf("pressReleaseList.do") > -1) {
276			trueUrl = "https://m.korea.kr/news/briefingHomeList.do?gubun=pressRelease";
277			pass = true;
278		
279		//} else if(thisUrl.indexOf("policyplus/mainList.do") > -1 || thisUrl.indexOf("news/policyNewsList.do") > -1) {
280		} else if(thisUrl.indexOf("policyplus/mainList.do") > -1) {	
281			trueUrl = "https://m.korea.kr/news/policyNewsList.do";
282			pass = true;	
283		
284		} else if(thisUrl.indexOf("actuallyList.do") > -1) {
285			trueUrl = "https://m.korea.kr/news/actuallyList.do";
286			pass = true;	
287		
288		} else if(thisUrl.indexOf("graphicsMainList.do") > -1) {
289			trueUrl = "https://m.korea.kr/news/policyNewsList.do";
290			pass = true;
291	
292		} else if(thisUrl.indexOf("cartoonMainList.do") > -1 || thisUrl.indexOf("cartoonList.do") > -1) {
293			trueUrl = "https://m.korea.kr/news/policyNewsList.do";
294			pass = true;
295			
296		} else if(thisUrl.indexOf("weekendList.do") > -1) {
297			//trueUrl = "https://m.korea.kr/newsWeb/m/factView.do";
298			trueUrl = "https://m.korea.kr/news/policyNewsList.do";
299			pass = true;
300			
301		} else if(thisUrl.indexOf("healthList.do") > -1) {
302			trueUrl = "https://m.korea.kr/news/policyNewsList.do";
303			pass = true;
304			
305		} else if(thisUrl.indexOf("/policyplus/mediaMainList.do") > -1) {
306			trueUrl = "https://m.korea.kr/news/policyNewsList.do";
307			pass = true;
308	
309		} else if(thisUrl.indexOf("jobinfoMainList.do") > -1) {
310			trueUrl = "https://m.korea.kr/jobinfo/recruitInfoList.do";
311			pass = true;
312			
313		} else if(thisUrl.indexOf("recruitInfoList.do") > -1) {
314			trueUrl = "https://m.korea.kr/jobinfo/recruitInfoList.do";
315			pass = true;
316			
317		} else if(thisUrl.indexOf("examInfoList.do") > -1) {
318			trueUrl = "https://m.korea.kr/jobinfo/examInfoList.do";
319			pass = true;
320			
321		} else if(thisUrl.indexOf("examPassList.do") > -1) {
322			trueUrl = "https://m.korea.kr/jobinfo/examPassList.do";
323			pass = true;
324			
325		} else if(thisUrl.indexOf("workPlaceList.do") > -1) {
326			trueUrl = "https://m.korea.kr/jobinfo/workPlaceList.do";
327			pass = true;
328			
329		} else if(thisUrl.indexOf("photoQuizList.do") > -1) {
330			trueUrl = "https://m.korea.kr/policyplus/photoQuizList.do";
331			pass = true;
332		
333		} else if(thisUrl.indexOf("special/mainList.do") > -1) {
334			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500649";
335			pass = true;
336		
337		} else if(thisUrl.indexOf("recruitInfoView.do") > -1) {
338			trueUrl = "https://m.korea.kr/jobinfo/recruitInfoView.do";
339			param   = "?dataId=" + thisUrl.substring(thisUrl.indexOf("dataId=")+7, thisUrl.indexOf("dataId=")+22);
340			pass = true;
341			
342		} else if(thisUrl.indexOf("examInfoView.do") > -1) {
343			trueUrl = "https://m.korea.kr/jobinfo/examInfoView.do";
344			param   = "?dataId=" + thisUrl.substring(thisUrl.indexOf("dataId=")+7, thisUrl.indexOf("dataId=")+22);
345			pass = true;
346			
347		} else if(thisUrl.indexOf("examPassView.do") > -1) {
348			trueUrl = "https://m.korea.kr/jobinfo/examPassView.do";
349			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
350			pass = true;
351			
352		} else if(thisUrl.indexOf("workPlaceView.do") > -1) {
353			trueUrl = "https://m.korea.kr/jobinfo/workPlaceView.do";
354			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
355			pass = true;
356			
357		}  else if(thisUrl.indexOf("policyFocusList.do") > -1) {
358			thisUrl = thisUrl.replace("https://www.korea.kr", "http://m.korea.kr");
359			thisUrl = thisUrl.replace("http://korea.kr", "http://m.korea.kr");
360			console.log("trueUrl=="+thisUrl);
361			trueUrl = thisUrl;
362			pass = true;
363				
364		} else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500649") > -1) {
365			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500649";
366			pass = true;
367			
368		}	else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500647") > -1) {
369			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500647";
370			pass = true;
371			
372		} else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500640") > -1) {
373			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500640";
374			pass = true;
375			
376		} else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500627") > -1) {
377			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500627";
378			pass = true;
379			
380		} else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500636") > -1) {
381			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500636";
382			pass = true;
383			
384		} else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500633") > -1) {
385			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500633";
386			pass = true;
387			
388		} else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500632") > -1) {
389			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500632";
390			pass = true;
391			
392		} else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500568") > -1) {
393			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500568";
394			pass = true;
395			
396		} else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500628") > -1) {
397			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500628";
398			pass = true;
399			
400		} else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500625") > -1) {
401			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500625";
402			pass = true;
403			
404		} else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500565") > -1) {
405			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500565";
406			pass = true;
407			
408		} else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500617") > -1) {
409			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500617";
410			pass = true;
411			
412		} else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500595") > -1) {
413			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500595";
414			pass = true;
415			
416		} else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500594") > -1) {
417			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500594";
418			pass = true;
419			
420		}else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500574") > -1) {
421			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500574";
422			pass = true;
423			
424		} else if(thisUrl.indexOf("policyFocusList.do?pkgId=49500667") > -1) {
425			trueUrl = "https://m.korea.kr/special/policyFocusList.do?pkgId=49500667";
426			pass = true;
427
428		} else if(thisUrl.indexOf("policyFocusList.do") > -1) {
429			trueUrl = "https://m.korea.kr/special/policyFocusList.do";
430			pass = true;
431			
432		} else if(thisUrl.indexOf("policyFocusView.do") > -1){
433			trueUrl = "https://m.korea.kr/special/policyFocusView.do";
434			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
435			param   += "&pkgId=" + thisUrl.substring(thisUrl.indexOf("pkgId=")+6, thisUrl.indexOf("pkgId=")+15);	
436			pass = true;
437			
438		} else if(thisUrl.indexOf("mediaSympathyView.do") > -1 || thisUrl.indexOf("mediaWideBlueHouseStoryView.do") > -1 || thisUrl.indexOf("mediaPolicyAdView.do") > -1 ) {
439			trueUrl = "https://m.korea.kr/policyplus/mediaSympathyView.do";
440			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
441			pass = true;
442			
443		} else if(thisUrl.indexOf("celebrityList.do") > -1 || thisUrl.indexOf("celebrity/mainList.do") > -1 || thisUrl.indexOf("celebrity/contributePolicyList.do") > -1) {			//칼럼&??플 ?? ??책기고 리스??
444			trueUrl = "https://m.korea.kr/celebrity/contributePolicyList.do";
445			pass = true;
446		
447		} else if(thisUrl.indexOf("news/contributePolicyView.do") > -1) {			//??책기고 ??세보기
448			trueUrl = "https://m.korea.kr/news/contributePolicyView.do";
449			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
450			pass = true;
451		
452		} else if(thisUrl.indexOf("news/contributePolicyView.do") > -1) {			//??책기고 ??세보기
453			trueUrl = "https://m.korea.kr/news/contributePolicyView.do";
454			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
455			pass = true;
456		
457		} else if(thisUrl.indexOf("news/cultureColumnList.do") > -1) {		//문화칼럼
458			trueUrl = "https://m.korea.kr/news/celebrityList.do";
459			pass = true;
460		
461		} else if(thisUrl.indexOf("news/cultureWriterList.do") > -1) {		//문화칼럼
462			trueUrl = "https://m.korea.kr/news/celebrityList.do";
463			pass = true;
464		
465		} else if(thisUrl.indexOf("news/cultureColumnView.do") > -1) {		//문화칼럼 ??세보기
466			trueUrl = "https://m.korea.kr/news/cultureColumnView.do";
467			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
468			pass = true;
469		
470		} else if(thisUrl.indexOf("celebrity/interviewList.do") > -1) {			//??터??
471			trueUrl = "https://m.korea.kr/news/policyNewsList.do";
472			pass = true;
473		
474		}  else if(thisUrl.indexOf("news/interviewView.do") > -1) {		//??터????세보기
475			trueUrl = "https://m.korea.kr/news/interviewView.do";
476			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
477			pass = true;
478		} else if(thisUrl.indexOf("news/briefingHomeList.do") > -1 || thisUrl.indexOf("news/blueHouseList.do") > -1) {			//브리??룸, ?????브리??
479			trueUrl = "https://m.korea.kr/news/briefingHomeList.do";
480			pass = true;
481		} else if(thisUrl.indexOf("news/blueHouseView.do") >
481 -1) {				//?????브리????세보기
482			trueUrl = "https://m.korea.kr/news/blueHouseView.do";
483			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
484			pass = true;
485		} else if(thisUrl.indexOf("news/stateCouncilList.do") > -1) {			//??????의 브리??
486			trueUrl = "https://m.korea.kr/news/briefingHomeList.do?gubun=stateCouncil";
487			pass = true;
488		} else if(thisUrl.indexOf("news/stateCouncilView.do") > -1) {			//??????의 브리????세보기
489			trueUrl = "https://m.korea.kr/news/stateCouncilView.do";
490			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
491			pass = true;
492		} else if(thisUrl.indexOf("news/policyBriefingList.do") > -1) {			//???? 브리??
493			trueUrl = "https://m.korea.kr/news/briefingHomeList.do?gubun=policyBriefing";
494			pass = true;
495		} else if(thisUrl.indexOf("news/policyBriefingView.do") > -1) {			//???? 브리????세보기
496			trueUrl = "https://m.korea.kr/news/policyBriefingView.do";
497			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
498			pass = true;
499		} else if(thisUrl.indexOf("archive/speechList.do") > -1) {					//??설??
500			trueUrl = "https://m.korea.kr/archive/speechList.do";
501			pass = true;
502		} else if(thisUrl.indexOf("archive/speechView.do") > -1) {					//??설????세보기
503			trueUrl = "https://m.korea.kr/archive/speechView.do";
504			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
505			pass = true;
506		} else if(thisUrl.indexOf("policy/majorbannerList.do") > -1) {				//??이??이??
507			trueUrl = "https://m.korea.kr/policy/majorbannerList.do";
508			pass = true;
509		} else if(thisUrl.indexOf("special/govGongmoList.do") > -1) {				//공모??업??리??
510			pass = true;
511		} else if(thisUrl.indexOf("news/civilList.do") > -1) {					//공무??뉴??
512			trueUrl = "https://m.korea.kr/news/civilList.do";
513			pass = true;
514		} else if(thisUrl.indexOf("news/civilView.do") > -1) {					//공무??뉴????세보기
515			trueUrl = "https://m.korea.kr/news/civilView.do";
516			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
517			pass = true;
518		} else if(thisUrl.indexOf("guide/privacy.do") > -1) {						//개인??보 처리방침
519			trueUrl = "https://m.korea.kr/etc/privacy.do";
520			pass = true;
521		} else if(thisUrl.indexOf("etc/privacy.do") > -1) {						//개인정보 처리방침
522			trueUrl = "https://m.korea.kr/etc/privacy.do";
523			pass = true;
524		} else if(thisUrl.indexOf("guide/copyRight.do") > -1) {						//????권??책
525			trueUrl = "https://m.korea.kr/etc/copyRight.do";
526			pass = true;
527		} else if(thisUrl.indexOf("etc/copyRight.do") > -1) {						//저작권정책
528			trueUrl = "https://m.korea.kr/etc/copyRight.do";
529			pass = true;
530		} else if(thisUrl.indexOf("guide/emailReject.do") > -1) {					//??메????집거??
531			trueUrl = "https://m.korea.kr/etc/emailReject.do";
532			pass = true;
533		} else if(thisUrl.indexOf("etc/emailReject.do") > -1) {					//이메일수집거부
534			trueUrl = "https://m.korea.kr/etc/emailReject.do";
535			pass = true;
536		} else if(thisUrl.indexOf("guide/toMaster.do") > -1) {					//운영자에게
537			trueUrl = "https://m.korea.kr/etc/toMaster.do";
538			pass = true;
539		} else if(thisUrl.indexOf("archive/simpleSearch.do") > -1|| thisUrl.indexOf("archive/mainList.do") > -1) {					//??책??보 ??카??브
540			trueUrl = "https://m.korea.kr/archive/simpleSearch.do";
541			pass = true;
542		} else if(thisUrl.indexOf("archive/expDocMainList.do") > -1 || thisUrl.indexOf("archive/expDocList.do") > -1) {				//??문??료 리스??
543			trueUrl = "https://m.korea.kr/archive/expDocMainList.do";
544			pass = true;
545		} else if(thisUrl.indexOf("archive/expDocView.do") > -1) {					//??문??료 ??
546			trueUrl = "https://m.korea.kr/archive/expDocView.do";
547			param   = "?docId=" + thisUrl.substring(thisUrl.indexOf("docId=")+6, thisUrl.indexOf("docId=")+11);
548			param   += "&group=" + thisUrl.substring(thisUrl.indexOf("group=")+6, thisUrl.indexOf("group=")+7);
549			pass = true;
550		} else if(thisUrl.indexOf("policyplus/byulbyulList.do?issue=") > -1) {				//SNS이벤트
551			//trueUrl = "https://m.korea.kr/etc/byulbyulView.do?issue="+thisUrl.substring(thisUrl.indexOf("issue=")+6, thisUrl.indexOf("issue=")+19);
552			trueUrl = thisUrl.replace("//www.korea.kr","//m.korea.kr");
553			trueUrl = trueUrl.replace("//korea.kr","//m.korea.kr");
554			trueUrl = trueUrl.replace("/policyplus/byulbyulList.do","/etc/byulbyulView.do");
555			pass = true;
556		} else if(thisUrl.indexOf("policyplus/byulbyulList.do") > -1) {				//SNS이벤트
557			trueUrl = "https://m.korea.kr/etc/policyQuizList.do?pageSe=byulbyul&eventIng=ING";
558			pass = true;
559		} else if(thisUrl.indexOf("policyplus/byulBeforeList.do") > -1 && thisUrl.indexOf("period=ended") < 0 ) {				//SNS이벤트
560			trueUrl = "https://m.korea.kr/etc/policyQuizList.do?pageSe=byulbyul&eventIng=ING";
561			pass = true;
562		} else if(thisUrl.indexOf("policyplus/byulBeforeList.do") > -1 && thisUrl.indexOf("period=ended") > -1 ) {				//SNS이벤트
563			trueUrl = "https://m.korea.kr/etc/policyQuizList.do?pageSe=byulbyul&eventIng=END";
564			pass = true;
565		}else if(thisUrl.indexOf("jobinfo/uniqueJobList.do?cateId=unique_future") > -1) {				//이색직업
566			trueUrl = "https://m.korea.kr/jobinfo/uniqueJobList.do?cateId=unique_future";
567			pass = true;
568		} else if(thisUrl.indexOf("jobinfo/uniqueJobList.do?cateId=unique_baby") > -1) {				//이색직업
569			trueUrl = "https://m.korea.kr/jobinfo/uniqueJobList.do?cateId=unique_baby";
570			pass = true;
571		} else if(thisUrl.indexOf("jobinfo/uniqueJobList.do?cateId=unique_job") > -1) {					//이색직업
572			trueUrl = "https://m.korea.kr/jobinfo/uniqueJobList.do?cateId=unique_job";
573			pass = true;
574		} else if(thisUrl.indexOf("jobinfo/uniqueJobList.do") > -1) {									//이색직업
575			trueUrl = "https://m.korea.kr/jobinfo/uniqueJobList.do";
576			pass = true;
577		} else if(thisUrl.indexOf("uniqueJobView.do?cateId=unique_future") > -1){					//이색직업 상세
578			trueUrl = "https://m.korea.kr/jobinfo/uniqueJobView.do?cateId=unique_future";
579			param   += "&newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
580			pass = true;
581		} else if(thisUrl.indexOf("uniqueJobView.do?cateId=unique_baby") > -1){						//이색직업 상세
582			trueUrl = "https://m.korea.kr/jobinfo/uniqueJobView.do?cateId=unique_baby";
583			param   += "&newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
584			pass = true;
585		} else if(thisUrl.indexOf("uniqueJobView.do?cateId=unique_job") > -1){						//이색직업 상세
586			trueUrl = "https://m.korea.kr/jobinfo/uniqueJobView.do?cateId=unique_job";
587			param   += "&newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
588			pass = true;
589		} else if(thisUrl.indexOf("uniqueJobView.do") > -1){										//이색직업 상세
590			trueUrl = "https://m.korea.kr/jobinfo/uniqueJobView.do";
591			param   += "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
592			pass = true;
593		} else if(thisUrl.indexOf("etc/deptSns.do") > -1){												//소셜네트워크
594			trueUrl = "https://m.korea.kr/etc/deptSns.do";
595			pass = true;
596		} else if(thisUrl.indexOf("deptSns.do") > -1){												//소셜네트워크
597			//trueUrl = "https://m.korea.kr/social/socialNetwork.do";
598			trueUrl = "https://m.korea.kr/etc/deptSns.do";
599			pass = true;
600		} else if(thisUrl.indexOf("recommendBookList.do") > -1){									//사서추천도서
601			trueUrl = "https://m.korea.kr/policyplus/recommendBookList.do";
602			pass = true;
603		} else if(thisUrl.indexOf("recommendBookView.do") > -1){									//사서추천도서 상세
604			trueUrl = "https://m.korea.kr/policyplus/recommendBookView.do";
605			param   += "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+10);	
606			pass = true;
607		} else if(thisUrl.indexOf("urimalList.do") > -1){											//쉼표, 마침표
608			trueUrl = "https://m.korea.kr/policyplus/urimalList.do";
609			pass = true;
610		} else if(thisUrl.indexOf("urimalView.do") > -1){											//쉼표, 마침표 상세
611			trueUrl = "https://m.korea.kr/policyplus/urimalView.do";
612			param   += "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
613			pass = true;
614		} else if(thisUrl.indexOf("https://www.korea.kr/news/policyPhotoList.do") > -1 || thisUrl.indexOf("https://www.korea.kr/news/policyPhotoView.do") > -1){
615			trueUrl = thisUrl.replace("www.korea.kr","m.korea.kr");
616			pass = true;
617		} else if(thisUrl.indexOf("https://korea.kr/news/policyPhotoList.do") > -1 || thisUrl.indexOf("https://korea.kr/news/policyPhotoView.do") > -1){
618			console.log("thisUrl111"+trueUrl);
619			trueUrl = thisUrl.replace("https://korea.kr","http://m.korea.kr");
620			console.log("thisUrl222"+trueUrl);
621			pass = true;
622		} else if(thisUrl.indexOf("https://www.korea.kr/news/top50View.do") > -1 || thisUrl.indexOf("https://korea.kr/news/top50View.do") > -1){
623			trueUrl = "https://m.korea.kr/news/top50View.do";
624			param   += "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+30);	
625			pass = true;
626		} else if(thisUrl.indexOf("https://www.korea.kr/news/top50List.do") > -1 || thisUrl.indexOf("http://news.kr/policy/top50List.do") > -1){
627			if(thisUrl.indexOf("newest=Y") > -1){
628				trueUrl = "https://m.korea.kr/news/top50List.do?newest=Y";
629			}else{
630				trueUrl = "https://m.korea.kr/news/top50List.do";
631			}
632			pass = true;
633		} else if(thisUrl.indexOf("issueQAView.do") > -1){									//사서추천도서 상세
634			trueUrl = "https://m.korea.kr/special/policyFocusView.do";
635			param   += "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
636			pass = true;
637		} else if(thisUrl.indexOf("mediaOnePointView.do") > -1){									//원포인트생활상식 상세
638			trueUrl = "https://m.korea.kr/policyplus/mediaOnePointView.do";
639			param   += "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
640			pass = true;
641		} else if(thisUrl.indexOf("mediaNewsView.do") > -1){									//11시50분입니다 상세
642			trueUrl = "https://m.korea.kr/news/mediaNewsView.do";
643			param   += "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
644			pass = true;
645		} else if(thisUrl.indexOf("mediaNewsList.do") > -1){									//11시50분입니다 상세
646			trueUrl = "https://m.korea.kr/news/mediaNewsList.do";			
647			pass = true;
648		} else if (thisUrl.indexOf("policyAgendaList.do") > -1){         // 정책아젠다 목록
649			trueUrl = "https://m.korea.kr/special/policyAgendaList.do";
650			pass = true;
651		} else if (thisUrl.indexOf("policyAgendaView.do") > -1){ // 정책아젠다 상세
652			trueUrl = "https://m.korea.kr/special/policyAgendaView.do";
653			param   = "?pkgId=" + thisUrl.substring(thisUrl.indexOf("pkgId=")+6, thisUrl.indexOf("pkgId=")+15);	
654			param   += "newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
655			pass = true;
656		}else if (thisUrl.indexOf("totalSearch.do") > -1){ // 통합검색
657			trueUrl = "https://m.korea.kr/totalSearch.do";
658			param   = thisUrl.substring(thisUrl.indexOf("korea.kr")+8, thisUrl.length).replace('topSearchKeyword', 'keyword');	
659			pass = true;
660		}else if (thisUrl.indexOf("policyCurationList.do") > -1){ // 큐레이션
661			trueUrl = "https://m.korea.kr/special/policyCurationList.do";
662			pass = true;
663		} else if(thisUrl.indexOf("news/policyBriefingView.do") > -1) {					//이브리핑
664			trueUrl = "https://m.korea.kr/news/policyBriefingView.do";
665			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
666			pass = true;
667		} else if(thisUrl.indexOf("special/policyCurationView.do") > -1) {			//정책위키
668			trueUrl = "https://m.korea.kr/special/policyCurationView.do";
669			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
670			pass = true;
671		} else if(thisUrl.indexOf("/introduce/deptIntroduce.do") > -1) {					//
672			trueUrl = "https://m.korea.kr/introduce/deptIntroduce.do";
673			pass = true;
674		} else if(thisUrl.indexOf("/introduce/govVisionList.do") > -1) {					//
675			trueUrl = "https://m.korea.kr/introduce/govVisionList.do";
676			pass = true;
677		}  else if(thisUrl.indexOf("/introduce/koreaIntroduce.do") > -1) {					//
678			trueUrl = "https://m.korea.kr/introduce/koreaIntroduce.do";
679			pass = true;
680		} else if(thisUrl.indexOf("/news/policyNewsList.do") > -1) {					//정책뉴스
681			console.log("thisUrl="+thisUrl);
682			if(thisUrl.indexOf("subject") > -1){
683				trueUrl = "https://m.korea.kr/news/policyNewsList.do?cateId=policyNews";
684			}else if(thisUrl.indexOf("issue_q") > -1){
685				trueUrl = "https://m.korea.kr/news/policyNewsList.do?cateId=issue_q";
686			}else if(thisUrl.indexOf("column_n_interview") > -1){
687				trueUrl = "https://m.korea.kr/news/policyNewsList.do?cateId=column_n_interview";
688			}else if(thisUrl.indexOf("graphic_news") > -1){
689				trueUrl = "https://m.korea.kr/news/policyNewsList.do?cateId=graphic_news";
690			}else if(thisUrl.indexOf("info_pds3") > -1){
691				trueUrl = "https://m.korea.kr/news/policyNewsList.do?cateId=info_pds3";
692			}else if(thisUrl.indexOf("health_common") > -1){
693				trueUrl = "https://m.korea.kr/news/policyNewsList.do?cateId=health_common";
694			}else if(thisUrl.indexOf("leisure") > -1){
695				trueUrl = "https://m.korea.kr/news/policyNewsList.do?cateId=leisure";
696			}else if(thisUrl.indexOf("cardnews") > -1){
697				trueUrl = "https://m.korea.kr/news/policyNewsList.do?cateId=cardnews";
698			}else if(thisUrl.indexOf("exam_pass") > -1){
699				trueUrl = "https://m.korea.kr/news/policyNewsList.do?cateId=exam_pass";
700			}else{
701				trueUrl = "https://m.korea.kr/news/policyNewsList.do";
702			}
703			pass = true;
704		} else if(thisUrl.indexOf("truthView.do") > -1) {
705			trueUrl = "https://m.korea.kr/news/truthView.do";
706			param   += "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
707			pass = true;
708			
709		} else if(thisUrl.indexOf("visualNewsList.do") > -1) {
710			if(thisUrl.indexOf("graphic_news") > -1){
711				trueUrl = "https://m.korea.kr/news/visualNewsList.do?cateId=graphic_news";
712			}else if(thisUrl.indexOf("cardnews") > -1){
713				trueUrl = "https://m.korea.kr/news/visualNewsList.do?cateId=cardnews";
714			}else{
715				trueUrl = "https://m.korea.kr/news/visualNewsList.do";
716			}
717			pass = true;
718			
719		} else if(thisUrl.indexOf("visualNewsView.do") > -1) {
720			trueUrl = "https://m.korea.kr/news/visualNewsView.do";
721			param   += "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
722			pass = true;
723			
724		} else if(thisUrl.indexOf("truthList.do") > -1) {
725			trueUrl = "https://m.korea.kr/news/truthList.do";
726			pass = true;
727		
728		} else if(thisUrl.indexOf("/special/bhFocusList.do") > -1) {
729			trueUrl = "https://www.korea.kr/bhfocus";
730			pass = true;
731			//alert(trueUrl);
732
733		}else if(thisUrl.indexOf("/special/eLibraryList.do") > -1) {
734			trueUrl = "https://m.korea.kr/special/eLibraryList.do";
735			pass = true;
736			//alert(trueUrl);
737
738		} else if(thisUrl.indexOf("/special/bhFocusView.do") > -1) {
739			trueUrl = "https://www.korea.kr/blueHouse/specialView.do";
740			param   += "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
741			param   += "&pkgId=" + thisUrl.substring(thisUrl.indexOf("pkgId=")+6, thisUrl.indexOf("pkgId=")+15);	
742			pass = true;
743		} else if(thisUrl.indexOf("/etc/newsLetterMain.do") > -1){
744			if(thisUrl.indexOf("tabGubun=cancle") > -1){
745				trueUrl = "https://m.korea.kr/etc/newsLetterMain.do?pageSe=cancel";
746			}else{
747				trueUrl = "https://m.korea.kr/etc/newsLetterMain.do";
748			}
749			pass = true;
750		}else if(thisUrl.indexOf("/etc/newsLetterList.do") > -1){
751			trueUrl = "https://m.korea.kr/etc/newsLetterMain.do?pageSe=list";
752			pass = true;
753		}else if(thisUrl.indexOf("/etc/newsLetterView.do") > -1){
754			if(thisUrl.indexOf("newsId") > -1){
755				trueUrl = "https://m.korea.kr/etc/newsLetterView.do";
756				param   = "?pageSe=view&newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+18);	
757				pass = true;
758			}else{
759				trueUrl = "https://m.korea.kr/etc/newsLetterView.do?pageSe=view";
760				pass = true;
761			}
762		}else if(thisUrl.indexOf("ebookMainList.do") > -1){
763			trueUrl = "https://m.k
763orea.kr/archive/ebookMainList.do";
764			pass = true;
765		}else if(thisUrl.indexOf("mediaNewsHomeList.do") > -1){
766			trueUrl = "https://m.korea.kr/news/policyPhotoList.do";
767			pass = true;
768		}else if(thisUrl.indexOf("banner.do") > -1){
769			trueUrl = "https://m.korea.kr/etc/banner.do";
770			pass = true;
771		}else if(thisUrl.indexOf("rss.do") > -1){
772			trueUrl = "https://m.korea.kr/etc/rss.do";
773			pass = true;
774		}else if(thisUrl.indexOf("noticeList.do") > -1){
775			trueUrl = "https://m.korea.kr/guide/noticeList.do";
776			pass = true;
777		}else if(thisUrl.indexOf("noticeView.do") > -1){
778			trueUrl = "https://m.korea.kr/guide/noticeView.do";
779				param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
780				pass = true;
781		}else if(thisUrl.indexOf("cultureWriterList.do") > -1){
782			trueUrl = "https://m.korea.kr/news/celebrityList.do";
783			pass = true;
784		}else if(thisUrl.indexOf("cultureWriterView.do") > -1){
785			trueUrl = "https://m.korea.kr/news/cultureColumnView.do";
786				param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);	
787				pass = true;
788		}else if(thisUrl.indexOf("estNewsView.do") > -1){
789			thisUrl = thisUrl.replace("https://www.korea.kr/news/estNewsView.do", "https://m.korea.kr/news/top50View.do");
790			thisUrl = thisUrl.replace("https://korea.kr/news/estNewsView.do", "https://m.korea.kr/news/top50View.do");
791			param = "&newest=Y";
792			trueUrl = thisUrl;
793			pass = true;
794		}else if(thisUrl.indexOf("presidentView.do") > -1) {
795			
796			trueUrl = "https://m.korea.kr/news/presidentView.do";
797			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
798			pass = true;
799		}else if(thisUrl.indexOf("governmentView.do") > -1) {
800			
801			trueUrl = "https://m.korea.kr/archive/governmentView.do";
802			param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
803			pass = true;
804		}else if(thisUrl.indexOf("news/president.do") > -1) {
805			trueUrl = "https://m.korea.kr/news/briefingHomeList.do?gubun=president";
806			pass = true;
807		}else if(thisUrl.indexOf("archive/ebookWeeklyList.do") > -1) {
808			trueUrl = "https://m.korea.kr/archive/ebookWeeklyList.do";
809			pass = true;
810		}else {
811			trueUrl = "https://m.korea.kr/";
812			pass = true;		
813		}
814		
815		
816		
817		if(pass) {
818			trueUrl = trueUrl + param;
819				window.location.href = trueUrl;
820		}
821	*/	
822		
823		 /*else if(thisUrl.indexOf("/archive/media") > -1) {
824		trueUrl = "http://m.korea.kr/policyplus/mediaView.do";
825		param   = "?newsId=" + thisUrl.substring(thisUrl.indexOf("newsId=")+7, thisUrl.indexOf("newsId=")+16);
826		pass = true;
827		
828	} */
829	
830	
831	}
832}
833
834if(thisUrl.indexOf("/policy/actuallyList.do") > -1){
835	window.location.href = "/news/actuallyList.do";
836}
837
838//모바일이동 스크립트 추가 2017.03.24
839$(document).ready(function(){	
840	if( navigator.userAgent.match(/Android/i)
841	    || navigator.userAgent.match(/webOS/i)
842	    || navigator.userAgent.match(/iPhone/i)
843	    || navigator.userAgent.match(/iPad/i)
844	    || navigator.userAgent.match(/iPod/i)
845	    || navigator.userAgent.match(/BlackBerry/i)
846	    || navigator.userAgent.match(/Windows Phone/i) ){
847
848		thisUrl = thisUrl.replace('https://www.korea.kr', 'https://m.korea.kr');
849		thisUrl = thisUrl.replace('https://korea.kr', 'https://m.korea.kr');
850		thisUrl = thisUrl.replace('https://m.korea.kr/main.do', 'https://m.korea.kr/index.jsp');
851		//$('#mobileweb_link a').attr('href', thisUrl);
852		var mobile = '<div class="mobileweb_link on" id="mobileweb_link"><a href="javascript:void(0);">';
853		//mobile += '<img src="/images/common/ico_md_prev.png" alt="모바일 화면으로 이동" />모바일 화면으로 이동</a></div>';
854		mobile += '<span>모바일 화면으로 이동</span></a></div>';
855		$('body').append(mobile);
856		
857		$('#mobileweb_link').click(function (){
858			$.cookie('selectedMedia', null, {expires : -1, path : '/'});
859			window.location.href = thisUrl;
860		});
861		
862		$(window).resize(function() {	
863			$('.mobileweb_link').css({'width':$(document).outerWidth()+'px'});
864		}).trigger('resize');		
865	};
866});
867

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.