Skip to content

Commit

Permalink
Update index.html (LOADING UPDATE)
Browse files Browse the repository at this point in the history
  • Loading branch information
godetremy authored Nov 16, 2023
1 parent f2d099d commit 0a29efd
Showing 1 changed file with 42 additions and 9 deletions.
51 changes: 42 additions & 9 deletions index.html
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>

0 comments on commit 0a29efd

Please sign in to comment.