PageSourceSearch

https://reoneskin.com/theme/reone/js/common.js

js reoneskin.com collected 2026-10-06 14:02:37 UTC 2,780 bytes, 79 lines download raw bytes

1console.log('%c created by. %cFINEAPPLE %cPTL ','color:#8cc677; font-size:14px; background-color:#555; font-weight:600; padding:4px 0;','color:#cbdd54; font-size:14px; background-color:#555; font-weight:600; padding:4px 0;','color:#57b69a; font-size:14px; background-color:#555; font-weight:600; padding:4px 0;');
2
3// html엘리먼트 ie7,8인식; .....
4document.createElement('header');
5document.createElement('nav');
6document.createElement('article');
7document.createElement('section');
8document.createElement('aside');
9document.createElement('footer');
10
11function isBrowserCheck() {
12	const agt = navigator.userAgent.toLowerCase();
13	if (agt.indexOf("chrome") != -1) return 'Chrome'
14	if (agt.indexOf("opera") != -1) return 'Opera'
15	if (agt.indexOf("staroffice") != -1) return 'Star Office'
16	if (agt.indexOf("webtv") != -1) return 'WebTV'
17	if (agt.indexOf("beonex") != -1) return 'Beonex'
18	if (agt.indexOf("chimera") != -1) return 'Chimera'
19	if (agt.indexOf("netpositive") != -1) return 'NetPositive'
20	if (agt.indexOf("phoenix") != -1) return 'Phoenix'
21	if (agt.indexOf("firefox") != -1) return 'Firefox'
22	if (agt.indexOf("safari") != -1) return 'Safari'
23	if (agt.indexOf("skipstone") != -1) return 'SkipStone'
24	if (agt.indexOf("netscape") != -1) return 'Netscape'
25	if (agt.indexOf("mozilla/5.0") != -1) return 'Mozilla'
26	if (agt.indexOf("msie") != -1) {
27		let rv = -1;
28		if (navigator.appName == 'Microsoft Internet Explorer') {
29			let ua = navigator.userAgent;
30			var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})")
31			if (re.exec(ua) != null)
32				rv = parseFloat(RegExp.$1)
33		}
34		return 'Internet Explorer ' + rv
35	}
36}
37
38
39
40// quick
41const tooltipQuick = document.querySelector('#quick');
42const tooltipButton = document.querySelector('.quick-btn-area');
43const tooltipArea = document.querySelector('.quick-btn-area');
44const tooltipMenu = document.querySelector('.quick-wrap');
45
46var simulateClick = function (elem) {
47	// Create our event (with options)
48	var evt = new MouseEvent('click', {
49		bubbles: true,
50		cancelable: true,
51		view: window
52	});
53	// If cancelled, don't dispatch our event
54	var canceled = !elem.dispatchEvent(evt);
55};
56function getTootipCookie (name) {
57	let value = `; ${document.cookie}`;
58	let parts = value.split(`; ${name}=`);
59	if (parts.length === 2) return parts.pop().split(';').shift();
60}
61
62if (tooltipButton !== null) {
63	tooltipButton.addEventListener('click', (e) => {
64		e.stopPropagation()
65		e.preventDefault()
66		tooltipArea.classList.remove('is-active');
67		if(tooltipMenu.classList.contains('is-active')){
68			tooltipMenu.classList.remove('is-active')
69			// 쿠키 생성
70			if (getTootipCookie('tooltipMenuOpen') !== "no")
71			{
72				document.cookie = 'tooltipMenuOpen=no;path=/;expires=0;';
73			}
74		}else{
75			tooltipMenu.classList.add('is-active');
76		}
77	});
78}
79

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.