PageSourceSearch

https://lgbtpride.or.kr/xe/layouts/2015_main/user_layout.js?t=1745901981

js lgbtpride.or.kr collected 2026-09-26 10:35:30 UTC 1,409 bytes, 65 lines download raw bytes

1jQuery(function($) {
2	const menu = document.querySelector("#mobile_menu");
3	const backdrop = document.querySelector("#mobile_menu_bg");
4
5	document.querySelector(".btn_mobilemenu")
6		.addEventListener("click", function () {
7			menu.classList.add("on");
8			backdrop.classList.add("on");
9		});
10
11	document.querySelectorAll("#mobile_menu_bg, .btn_close_mobilemenu")
12		.forEach(el => {
13			el.addEventListener("click", function () {
14				menu.classList.remove("on");
15				backdrop.classList.remove("on");
16			})
17		});
18});
19$(document).ready(()=> {
20	const confetti_handler = function (evt) {
21		if (window.location.href !== "https://lgbtpride.or.kr/xe" && window.location.href !== "https://lgbtpride.or.kr/xe/") {
22			return;
23		}
24
25		evt.preventDefault();
26
27		var count = 200;
28		var defaults = {
29			origin: {y: 0.7}
30		};
31
32		function fire(particleRatio, opts) {
33			confetti({
34				...defaults,
35				...opts,
36				particleCount: Math.floor(count * particleRatio)
37			});
38		}
39
40		fire(0.25, {
41			spread: 26,
42			startVelocity: 55,
43		});
44		fire(0.2, {
45			spread: 60,
46		});
47		fire(0.35, {
48			spread: 100,
49			decay: 0.91,
50			scalar: 0.8
51		});
52		fire(0.1, {
53			spread: 120,
54			startVelocity: 25,
55			decay: 0.92,
56			scalar: 1.2
57		});
58		fire(0.1, {
59			spread: 120,
60			startVelocity: 45,
61		});
62	}
63	document.querySelector(".logo a").onclick = confetti_handler;
64	document.querySelector("#mobile_header a.logo").onclick = confetti_handler;
65});

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.