Skip to content

Commit

Permalink
added shortcut to old version
Browse files Browse the repository at this point in the history
  • Loading branch information
El3ctricFX committed Dec 20, 2024
1 parent 87459e4 commit 79381b2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pages/Old Website/jesus.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,30 @@

</head>

<script>
document.addEventListener('keydown', function(event) {
if (event.key === '1') {
window.location.href = '../../index.html';
}
});
</script>

<script>
let escapePressed = false;
let animationFrameId = null;
document.addEventListener('keydown', function(event) {
if (event.key === 'Escape' || event.keyCode === 27) {
if (!escapePressed) {
cancelAnimationFrame(animationFrameId);
animationFrameId = requestAnimationFrame(function() {
window.location.href = '../../index.html';
escapePressed = true;
});
}
}
});
</script>

<body>

<p style="color:black; background-color: yellow; text-align: center;"><b style="color: black;">ARCHIVED: December 19th (Will not be updated unless specifically requested but would like to keep new one maintained)</b></p>
Expand Down

0 comments on commit 79381b2

Please sign in to comment.