forked from 3kh0/3kh0.github.io-replit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aboutblank.html
216 lines (197 loc) · 6.24 KB
/
aboutblank.html
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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-color: black;
color: white;
}
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");
.credit {
font-family: "Montserrat", sans-serif;
text-align: center;
}
a {
color: #4287f5;
}
input {
background: rgba(0, 0, 0, 0);
border: none;
outline: none;
width: 100%;
border-bottom: 1px solid #63de00;
color: #63de00;
font-family: "Montserrat", sans-serif;
font-size: inherit;
}
::placeholder {
/* Chrome, Firefox, Opera, Safari 10.1+ */
font-style: italic;
color: white;
opacity: 1; /* Firefox */
}
:-ms-input-placeholder {
/* Internet Explorer 10-11 */
color: white;
}
::-ms-input-placeholder {
/* Microsoft Edge */
color: white;
}
.console-container {
margin: auto;
font-family: "Montserrat", sans-serif;
height: 40vh;
margin-bottom: 10vh;
}
.console {
width: 100%;
box-sizing: border-box;
margin: auto;
overflow: hidden;
font-family: "Montserrat", sans-serif;
}
.console-input {
padding-bottom: 15%;
font-family: "Montserrat", sans-serif;
}
.console h1 {
font-family: "Montserrat", sans-serif;
text-align: center;
color: #fff;
}
.console .consolebody {
box-sizing: border-box;
font-family: "Montserrat", sans-serif;
padding: 20px;
background-color: #3b3b3b;
color: #63de00;
border-radius: 15px;
}
.consolebody {
font-family: "Montserrat", sans-serif;
}
.console .consolebody p {
line-height: 1.5rem;
}
.button-wrapper {
padding-top: 2%;
text-align: center;
font-family: "Montserrat", sans-serif;
}
.console-button {
font-family: "Montserrat", sans-serif;
font-weight: bold;
text-transform: uppercase;
padding: 0.6em 2em;
margin-right: 2em;
border: none;
outline: none;
color: rgb(0, 0, 0);
background: white;
cursor: pointer;
position: relative;
border-radius: 10px;
font-size: 20px;
}
.console-button:before {
content: "";
background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
position: absolute;
top: -2px;
left: -2px;
background-size: 400%;
z-index: -1;
filter: blur(5px);
width: calc(100% + 4px);
height: calc(100% + 4px);
animation: glowingbn5 20s linear infinite;
opacity: 0;
transition: opacity 0.3s ease-in-out;
border-radius: 10px;
font-family: "Montserrat", sans-serif;
}
@keyframes glowingbn5 {
0% {
background-position: 0 0;
}
50% {
background-position: 400% 0;
}
100% {
background-position: 0 0;
}
}
.console-button:active {
color: black;
}
.console-button:active:after {
background: transparent;
}
.console-button:hover:before {
opacity: 1;
}
.console-button:after {
z-index: -1;
content: "";
position: absolute;
width: 100%;
height: 100%;
background: black;
left: 0;
top: 0;
border-radius: 10px;
}
</style>
<link href="./images/logo.png" rel="icon" />
<title>about:blank | 3kh0</title>
</head>
<body>
<div class="console-container">
<div class="console">
<h1>about:blank</h1>
<div class="consolebody">
<p>Enter a URL you want to be opened in a about:blank page below:</p>
<p class="console-input"><input id="url-target" value="" autocomplete="on" type="text" autofocus /></p>
<p>Please make sure you have the https:// on the URL, it is best to just copy the link from the actual search bar!</p>
</div>
</div>
<div class="button-wrapper">
<button id="create" class="console-button">Create page</button>
<button class="console-button" onclick="document.getElementById('url-target').value = ''">Clear input</button>
</div>
<p class="credit">Made by 3kh0, come visit my <a href="https://3kh0.github.io">website</a>.</p>
<button
onclick="alert('Hello there!\n\nIf you clicked then you are wondering what this is, I can explain. So at our school, teachers have this tool called Dyknow that can screenshot the contents of the page and use it so the teacher knows what we are doing, by embedding a page into a system page (about:blank is counted as a system page), Dyknow can not screenshot or even tell the teacher what we are on! This will not unblock things but it is a start!');"
>
What is this?
</button>
</div>
<script>
var url = document.getElementById("url-target");
var urlObj = new window.URL(window.location.href);
document.getElementById("create").onclick = function () {
if (url.value.substring(0, 8) !== "https://" && url.value.substring(0, 7) !== "http://") {
url.value = "https://" + url.value.split("https://").pop();
} else if (url.value.substring(0, 7) == "http://") {
url.value = "https://" + url.value.split("http://").pop();
}
win = window.open();
win.document.body.style.margin = "0";
win.document.body.style.height = "100vh";
var iframe = win.document.createElement("iframe");
iframe.style.border = "none";
iframe.style.width = "100%";
iframe.style.height = "100%";
iframe.style.margin = "0";
iframe.referrerpolicy = "no-referrer";
iframe.allow = "fullscreen";
iframe.src = url.value;
win.document.body.appendChild(iframe);
//var script = win.document.createElement("script");
//script.src = "https://3kh0.github.io/js/main.js";
//win.document.body.appendChild(script);
};
</script>
</body>
</html>