cringe-studios.com/sus.html
2022-04-09 12:55:18 +02:00

56 lines
1.3 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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>