PageSourceSearch

https://woorisavingsbank.com/resources/normal/js/com/common.js?v=1790305924501

js woorisavingsbank.com collected 2026-09-25 03:13:08 UTC 6,544 bytes, 187 lines download raw bytes

1
2window.addEventListener('scroll', () => {
3    let scrollTop = window.pageYOffset || window.scrollY || document.documentElement.scrollTop;
4    if (scrollTop >= 50) {
5        if(document.querySelector('.header')) document.querySelector('.header').classList.add('on');
6        if(document.querySelector('.location')) document.querySelector('.location').classList.add('on');
7    } else {
8        if(document.querySelector('.header')) document.querySelector('.header').classList.remove('on');
9        if(document.querySelector('.location')) document.querySelector('.location').classList.remove('on');
10    }
11});
12$(function () {
13	// 서브 팝업 스크립트
14	$(".app-info.wooriwon_app .app-info__link a").click(function () {
15		$(".qr_code_wrap").addClass("sub-popup01");
16		$(".qr_code_wrap").show();
17		$(".qr_code_wrap .savings_bank").show();
18		$("body").addClass("hidden");
19		document.querySelector(".qr_code_wrap").tabIndex = 0;
20		document.querySelector(".qr_code_wrap").focus();
21	});
22	$(".app-info.sb_talk_talk .app-info__link a").click(function () {
23		$(".qr_code_wrap").addClass("sub-popup02");
24		$(".qr_code_wrap").show();
25		$(".qr_code_wrap .toktok_bank").show();
26		$("body").addClass("hidden");
27		// document.querySelector(".qr_code_wrap").tabIndex = 0;
28		document.querySelector(".qr_code_wrap .toktok_bank .close").focus();
29	});
30	// 서브 팝업 스크립트
31
32	// 푸터 팝업 스크립트
33     $(".footer__link-icon.footer__link-icon1").click(function () {
34		$(".qr_code_wrap").addClass("footer-popup01");
35       $(".qr_code_wrap").show();
36       $(".qr_code_wrap .savings_bank").show();
37		 $("body").addClass("hidden");
38		//  document.querySelector(".qr_code_wrap").tabIndex = 0;
39		 document.querySelector(".qr_code_wrap .savings_bank .close").focus();
40     });
41	$(".footer__link-icon.footer__link-icon2").click(function () {
42		$(".qr_code_wrap").addClass("footer-popup02");
43       $(".qr_code_wrap").show();
44       $(".qr_code_wrap .member_bank").show();
45		 $("body").addClass("hidden");
46		//  document.querySelector(".qr_code_wrap").tabIndex = 0;
47		 document.querySelector(".qr_code_wrap .member_bank .close").focus();
48	 });
49	// 푸터 팝업 스크립트
50
51	// 공통 팝업 닫기
52	$(".qr_code_wrap .close").click(function () {
53		let qrPopup = document.querySelector(".qr_code_wrap")
54
55		$(".qr_code_wrap").hide();
56		$(".qr_code_wrap .qr_code").hide();
57		$(".qr_code_wrap .qr_web").hide();
58		$("body").removeClass("hidden");
59
60		 if (qrPopup.classList.contains("footer-popup01")) {
61	 		document.querySelector(".qr_code_wrap").tabIndex = -1
62			document.querySelector(".footer__link-icon1 a").focus();
63			popupReset()
64		 }
65		 if (qrPopup.classList.contains("footer-popup02")) {
66	 		document.querySelector(".qr_code_wrap").tabIndex = -1
67			document.querySelector(".footer__link-icon2 a").focus();
68			popupReset()
69		 }
70		 if (qrPopup.classList.contains("sub-popup01")) {
71		 	$(".app-info.wooriwon_app .app-info__link").tabIndex = 0;
72		 	$(".app-info.wooriwon_app .app-info__link a").focus();
73			popupReset()
74		 }
75		 if (qrPopup.classList.contains("sub-popup02")) {
76		 	$(".app-info.sb_talk_talk .app-info__link").tabIndex = 0;
77		 	$(".app-info.sb_talk_talk .app-info__link a").focus();
78			popupReset()
79		 }
80	});
81	function popupReset() {
82		$(".qr_code_wrap").removeClass("footer-popup01");
83		$(".qr_code_wrap").removeClass("footer-popup02");
84		$(".qr_code_wrap").removeClass("sub-popup01");
85		$(".qr_code_wrap").removeClass("sub-popup02");
86	}
87     
88     $(".header__allmenu").click(function(){
89        $("body").addClass("hidden");
90        $(".allmenu-con").addClass("show");
91     });
92     $(".menu-close").click(function () {
93       $("body").removeClass("hidden");
94       $(".allmenu-con").removeClass("show");
95	 });
96	});
97
98	let topItem1 = document.querySelectorAll(".teb-box1 .teb-box__top .teb-box__item");
99		let textItem1 = document.querySelectorAll(".teb-box1 .teb-box__text .teb-box__item");
100		let topItem2 = document.querySelectorAll(".teb-box2 .teb-box__top .teb-box__item");
101		let textItem2 = document.querySelectorAll(".teb-box2 .teb-box__text .teb-box__item");
102		let topItem3 = document.querySelectorAll(".teb-box3 .teb-box__top .teb-box__item");
103		let textItem3 = document.querySelectorAll(".teb-box3 .teb-box__text .teb-box__item");
104		let topItem4 = document.querySelectorAll(".teb-box4 .teb-box__top .teb-box__item");
105		let textItem4 = document.querySelectorAll(".teb-box4 .teb-box__text .teb-box__item");
106		let topItem5 = document.querySelectorAll(".teb-box5 .teb-box__top .teb-box__item");
107		let textItem5 = document.querySelectorAll(".teb-box5 .teb-box__text .teb-box__item");
108
109		topItem1.forEach((el, i) => {
110			el.addEventListener("click", () => {
111				topItem1.forEach((item) => {
112					item.classList.remove("active");
113				});
114				el.classList.add("active");
115
116				textItem1.forEach((text, index) => {
117					text.classList.remove("active");
118					if (i === index) {
119						text.classList.add("active");
120					}
121				});
122			});
123		});
124
125		topItem2.forEach((el, i) => {
126			el.addEventListener("click", () => {
127				topItem2.forEach((item) => {
128					item.classList.remove("active");
129				});
130				el.classList.add("active");
131
132				textItem2.forEach((text, index) => {
133					text.classList.remove("active");
134					if (i === index) {
135						text.classList.add("active");
136					}
137				});
138			});
139		});
140
141		topItem3.forEach((el, i) => {
142			el.addEventListener("click", () => {
143				topItem3.forEach((item) => {
144					item.classList.remove("active");
145				});
146				el.classList.add("active");
147
148				textItem3.forEach((text, index) => {
149					text.classList.remove("active");
150					if (i === index) {
151						text.classList.add("active");
152					}
153				});
154			});
155		});
156
157		topItem4.forEach((el, i) => {
158			el.addEventListener("click", () => {
159				topItem4.forEach((item) => {
160					item.classList.remove("active");
161				});
162				el.classList.add("active");
163
164				textItem4.forEach((text, index) => {
165					text.classList.remove("active");
166					if (i === index) {
167						text.classList.add("active");
168					}
169				});
170			});
171		});
172
173		topItem5.forEach((el, i) => {
174			el.addEventListener("click", () => {
175				topItem5.forEach((item) => {
176					item.classList.remove("active");
177				});
178				el.classList.add("active");
179
180				textItem5.forEach((text, index) => {
181					text.classList.remove("active");
182					if (i === index) {
183						text.classList.add("active");
184					}
185				});
186			});
187		});

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.