-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
42 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,45 @@ | ||
<html> | ||
<body style='width: 100%; height: 100%;'> | ||
<script src='https://cdn.jsdelivr.net/npm/party-js@latest/bundle/party.min.js'></script> | ||
<script>document.body.addEventListener('click', function (e) { | ||
party.confetti(e, { | ||
count: 1000 | ||
}); | ||
}); | ||
var x = document.getElementsByTagName("*"); for (i = 0; i < x.length; i++) {x[i].style.cursor = "none"}; | ||
</script > | ||
<body style='width: 100%; height: 100%; background-color: #000000AF; display: flex; justify-content: center; align-items: center;margin: 0;'> | ||
<style> | ||
.loader { | ||
width: 48px; | ||
height: 48px; | ||
border: 2px solid #FFFFFF30; | ||
border-bottom-color: #FFFFFF; | ||
border-radius: 50%; | ||
display: inline-block; | ||
box-sizing: border-box; | ||
animation: rotation 1s linear infinite; | ||
} | ||
|
||
@keyframes rotation { | ||
0% { | ||
transform: rotate(0deg); | ||
} | ||
100% { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
</style> | ||
<span class="loader"></span> | ||
<script> | ||
var KEY = 0 | ||
document.body.onkeydown = function(e){ | ||
if(e.keyCode == 69) { | ||
KEY++ | ||
if (KEY == 3) { | ||
KEY = 0 | ||
var iframes = parent.document.getElementsByTagName("iframe") | ||
for (var i = iframes.length - 1; i >= 0; i--) { | ||
iframes[i].remove(); | ||
} | ||
} | ||
setTimeout(()=> { | ||
KEY = 0 | ||
}, 2000) | ||
} | ||
}; | ||
parent.document.body.innerHTML += '<style>.note {display: none !important;}</style>' | ||
</script> | ||
</body> | ||
</html> |