-
Notifications
You must be signed in to change notification settings - Fork 0
/
sus.html
55 lines (48 loc) · 1.27 KB
/
sus.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Experience the SUS!">
<meta property="og:image" content="https://nsfw.cringe-studios.com/sus.png">
<meta property="og:type" content="website">
<meta property="og:url" content="https://cringe-studios.com/">
<meta property="og:title" content="¢яιηgє $тυ∂ισѕ Infinite SUS">
<meta property="og:description" content="Experience the SUS!">
<title>Infinite SUS</title>
<style>
body {
overflow-x: hidden;
}
.container{
max-width: 100vw;
display: flex;
flex-wrap: wrap;
line-break: anywhere;
}
</style>
</head>
<body style="font-family: 'Courier';">
<div class="container">
</div>
<button type="button" onClick="loadText();">More Sus!</button>
<script>
const container = document.querySelector('.container');
function loadText(numElements = 10000){
let i=0;
let str = "";
while(i < numElements){
str += "SUS";
i++;
}
container.innerText += str;
}
loadText();
window.addEventListener('scroll',()=>{
if(window.scrollY + window.innerHeight >= document.documentElement.scrollHeight - 1000){
loadText();
}
})
</script>
</body>
</html>