-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patha
More file actions
39 lines (39 loc) · 2.13 KB
/
Copy patha
File metadata and controls
39 lines (39 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<html>
<head>
<title>a</title>
</head>
<body>
<p class="e"></p>
<input type="text" class="p">
<button onclick="d();">f</button>
<script>
function copyToClipboard(text) {
const textarea = document.createElement('textarea');
textarea.value = text;
document.body.appendChild(textarea);
textarea.select();
document.execCommand('copy');
document.body.removeChild(textarea);
}
function i(txt){
const d = document.createElement("div");
d.class = "h";
d.innerText = txt;
document.querySelector(".e").appendChild(d);
}
function d() {
const answer = document.querySelector('.p').value;
if (answer) {
const replacedtext = `젠장,또 ${answer}이야 이 게시글만 보고 자려고 했는데 ${answer}을(를) 또 보고 말았어.이제 나는 외쳐야만 해... 외치면 잠이 확 깨버릴걸 알면서도,나는 외쳐 그것이 ${answer}을(를) 목도한 자의 사명이다. 오늘부로 ${answer} 지지를 철회한다 오늘부터 지지관계에서 벗어나 ${answer}과(와) 나는 한몸으로 일체가 된다 ${answer}에 대한 공격은 나에 대한 공격으로 간주한다 세상에 70억명의 ${answer} 팬이 있다면, 나는 그들 중 한 명일 것이다. 세상에 1억 명의 ${answer} 팬이 있다면, 나는 여전히 그들중 한 명일 것이다. 세상에 백명의 ${answer} 팬이 있다면, 나는 아직도 그들 중 한 명일 것이다. 세상에 한명의 ${answer} 팬이 있다면, 그사람은 아마도 나일 것이다. 세상에 단 한명의 ${answer} 팬도 없다면, 나는 그제서야 이 세상에 없는 것이다. ${answer}, 나의 사랑. ${answer}, 나의 빛. ${answer}, 나의 어둠. ${answer}, 나의 삶. ${answer}, 나의 기쁨. ${answer}, 나의 슬픔. ${answer}, 나의 안식. ${answer}, 나의 영혼. ${answer}, 나`;
//copyToClipboard(replacedText);
if (document.querySelector(".g9cy").querySelector("#h") != null) {
document.querySelector(".g9cy").querySelector("#h").remove();
}
i(replacedText);
} else {
alert('숭배 대상을 입력해주세요.');
}
}
</script>
</body>
</html>