-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdxcommunity.html
More file actions
152 lines (146 loc) · 5.4 KB
/
Copy pathdxcommunity.html
File metadata and controls
152 lines (146 loc) · 5.4 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<html>
<head>
<title>DX&7777커뮤니티</title>
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-store" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
#g9x5 {
list-style: none;
padding-left: 0px;
}
#d4ga {
width: 90%;
height: auto;
background-color: transparent;
border-style: solid none none;
border-color: #505050;
border-width: 2px;
word-break: break-all;
display: flex;
flex-direction: column;
margin: 0 auto;
}
#fh2g {
width: 130px;
height: auto;
}
#i8fa {
color: #a1a1a1;
line-height: 50%;
text-indent: 20px;
}
#fs45 {
text-indent: 12px;
margin-block-start: -0.2em;
margin-block-end: 0.3em;
}
#fs49 {
color: #8f8f8f;
text-indent: 15px;
margin-block-start: -0.4em;
margin-block-end: 0.4em;
font-size: 0.9em;
}
#fs94 {
overflow: auto;
background: #e2e2e2;
width: max-content;
height: auto;
border-radius: 10px;
}
#ff22 {
width: 270px;
height: auto;
border: 3px;
border-color: black;
border-style: solid;
}
</style>
</head>
<body>
<script>
gcaih('https://raw.githubusercontent.com/1top10000/dx/main/dx.txt');
function gcaih(a) {
fetch(a, {
'cache': "no-store",
'Cache-Control': "no-store"
}).then(function (res) {
res.text().then(function (text) {
var dx = "";
dx = text.trim();
var arr = JSON.parse(dx).reverse();
for (let i = 0; i < arr.length; i++) {
const a = document.createElement("li");
const h = document.createElement("div");
const e = document.createElement("h3");
var d = arr[i]
a.id = "g9x5";
e.innerText = d.h;
h.id = "d4ga";
e.id = "fs45";
h.innerText = d.b;
h.prepend(e);
a.appendChild(h);
const o = document.createElement("p");
o.id = "fs49";
o.innerText = d.d.slice(0, 4) + '년' + d.d.slice(4, 6) + '월' + d.d.slice(6, 8) + '일' + d.d.slice(8, 10) + '시' + d.d.slice(10, 12) + '분';
h.prepend(o);
const x = document.createElement("p");
x.id = "i8fa";
if (d.c != undefined && d.c != "") {
x.innerText = "@" + d.c;
} else {
x.innerText = "@익명";
}
h.prepend(x);
document.querySelector("#p4gp").appendChild(a);
if (d.i != "") {
const i = document.createElement("img");
const p = document.createElement("p");
i.id = "fh2g";
p.style = "text-indent: 8px;";
i.src = d.i;
p.appendChild(i);
h.appendChild(p);
}
}
})
});
}
function ac() {
if (document.querySelector("#fs94").style.display == "none") {
document.querySelector("#fs94").style.display = "";
} else {
document.querySelector("#fs94").style.display = "none";
}
}
function qi() {
if (document.querySelector("#ff22").style.display == "none") {
document.querySelector("#ff22").style.display = "";
} else {
document.querySelector("#ff22").style.display = "none";
}
}
</script>
<h1>DX&7777 커뮤니티</h1>
<a href="https://paraxeni-zoi.p-e.kr/">이상한생활 사이트</a>
<h3>지금은 로딩이 느려 글을 작성하면 한참 후에 보입니다.</h3>
<h4>글이 없다고 같은 글을 한번에 많이 달지 말아주세요.</h4>
<h5>지금은 임시php 서버입니다.</h5>
<button onclick="ac();">글 작성</button><br>
<div id="fs94" style="display:none">
<form method="post" style="margin: 8px;" action="https://paraxeni-zoi.000webhostapp.com/" autocomplete="off">
글 이름(필수): <input name="h" type="text" /><br>
이름: <input name="c" type="text" /><br>
글(필수): <input name="b" type="text" /><br>
사진: 미완성<br>
<img style="width:1.2em; height:1.2em;" src="l.png" onclick="qi();" /> <br>
<input type="submit" value="확인" />
</form>
</div><br>
<img onclick="qi();" src="yfu8.png" id="ff22" style="display: none;" />
<p id="p4gp"></p>
</body>
</html>