PageSourceSearch

https://minwhafactory.com/theme/yr_int03/skin/board/sub_contents_04/js/_common.js

js minwhafactory.com collected 2026-10-08 13:03:27 UTC 1,896 bytes, 78 lines download raw bytes

1function compareSameSite(url){
2	var sameFlag = false;
3	//var sameStr = '다른사이트로';
4	var httppattern = /(^\w+:|^)\/\//;
5	var wwwpattern = 'www.';
6	var host = g5_url.replace(httppattern, '');
7	host = host.replace(wwwpattern, '');
8	if(typeof(url) == 'undefined'){
9		sameFlag = true;
10		//sameStr = '같은사이트로';
11	}
12	else if(url.match(host) || !url){
13		sameFlag = true;
14		//sameStr = '같은사이트로';
15	}
16	
17	return sameFlag;
18	//return sameStr;
19}
20
21function targetUrlComplete(url){
22	url = url.replace('www.','');
23	if(!url.match(/(^\w+:|^)\/\//)){
24		url = 'http://'+url;
25	}
26	var mod_url_arr = url.split('?');
27	var mod_url = mod_url_arr[0];
28	var last_char = mod_url.charAt(mod_url.length-1);
29	var return_url = mod_url;
30	if(last_char == '/'){
31		return_url = mod_url.slice(0,-1);
32	}
33	return return_url;
34}
35
36
37$('.input_copy').click(function(){
38	var inputObj = $(this).siblings('input');
39	inputCopyToClipboard(inputObj);
40});
41
42$('.info_copy').click(function(){
43	var info_txt = $(this).attr('info');
44	var t = document.createElement("textarea");
45	document.body.appendChild(t);
46	t.value = info_txt;
47	//alert(t.value);
48	textareaToClipboard(t);
49});
50
51function inputCopyToClipboard(ipt){
52	var copy_text = ipt;
53	copy_text.select();
54	document.execCommand("Copy");
55	alert('전송정보를 복사했습니다.');
56}
57
58function textareaToClipboard(ta){
59	ta.select();
60	document.execCommand("Copy");
61	document.body.removeChild(ta);
62	alert('전송정보를 복사했습니다.');
63}
64
65function handlePaste (e) {
66	var clipboardData, pastedData;
67
68	// Stop data actually being pasted into div
69	e.stopPropagation();
70	e.preventDefault();
71
72	// Get pasted data via clipboard API
73	clipboardData = e.clipboardData || window.clipboardData;
74	pastedData = clipboardData.getData('Text');
75
76	// Do whatever with pasteddata
77	alert(pastedData);
78}

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.