This commit is contained in:
Boof 2023-03-15 10:32:06 +01:00 committed by GitHub
parent 001cfc83ac
commit 3cb55c283a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 1 deletions

View File

@ -12,9 +12,11 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400&display=swap" rel="stylesheet">
<script src="https://hexahigh.github.io/cdn/js/min/jquery-3.6.3.min.js"></script>
<script src="scripts/secret.js"></script>
</head>
<body>
<body id="bodyId">
<div class="wrapper">
<div class="container">
<div class="header-container">

View File

@ -0,0 +1,35 @@
var sixPressed = false
var ninePressed = false
var doCheck = true
// Set delay to ms
function delay(milliseconds) {
return new Promise(resolve => {
setTimeout(resolve, milliseconds);
});
}
async function sixPress() {
sixPressed = true
await delay(1000)
sixPressed = false
}
async function ninePress() {
ninePressed = true
await delay(1000)
ninePressed = false
}
async function checkSecret() {
while (doCheck == true) {
await delay(50)
if (sixPressed == true && ninePressed == true) {
//document.getElementById("bodyId").innerHTML = "whatever";
document.write(<div style="position:absolute; left: 0; right: 0; bottom: 0; top: 0px;">
<iframe sandbox="allow-scripts allow-popups" width="100%" height="100%" frameborder="0" src="https://herremann.edu.eu.org"></iframe>
</div>)
}
}
}