cringe-studios.com/sus.html

56 lines
1.3 KiB
HTML
Raw Permalink Normal View History

2022-03-31 22:23:06 +02:00
<!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!">
2022-03-31 22:23:06 +02:00
<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>
2022-03-31 22:23:06 +02:00
<style>
2022-04-09 12:55:18 +02:00
body {
overflow-x: hidden;
}
.container{
max-width: 100vw;
display: flex;
flex-wrap: wrap;
line-break: anywhere;
}
2022-03-31 22:23:06 +02:00
</style>
</head>
<body style="font-family: 'Courier';">
<div class="container">
2022-03-31 22:23:06 +02:00
</div>
<button type="button" onClick="loadText();">More Sus!</button>
2022-03-31 22:23:06 +02:00
<script>
const container = document.querySelector('.container');
2022-03-31 22:23:06 +02:00
function loadText(numElements = 10000){
let i=0;
let str = "";
while(i < numElements){
str += "SUS";
i++;
}
container.innerText += str;
}
2022-03-31 22:23:06 +02:00
loadText();
2022-03-31 22:23:06 +02:00
window.addEventListener('scroll',()=>{
if(window.scrollY + window.innerHeight >= document.documentElement.scrollHeight - 1000){
loadText();
}
})
</script>
2022-03-31 22:23:06 +02:00
</body>
</html>