mirror of
https://github.com/milk-net/milk-net.github.io.git
synced 2025-04-19 05:33:40 -05:00
Update index.html
This commit is contained in:
parent
77d79f82a7
commit
18189f657d
1 changed files with 19 additions and 1 deletions
|
@ -14,13 +14,31 @@
|
|||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
let savedLink = localStorage.getItem("savedLink");
|
||||
|
||||
document.addEventListener("keydown", function(event) {
|
||||
if (event.key === ",") {
|
||||
if (!savedLink) {
|
||||
savedLink = prompt("Escape to: https://YOURLINK.tld");
|
||||
if (savedLink) {
|
||||
localStorage.setItem("savedLink", savedLink);
|
||||
}
|
||||
} else {
|
||||
window.open(savedLink, "_blank");
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<img src="/assets/img/milk_optimized.png" class="center">
|
||||
<h1 class="center-text">MilkNet</h1>
|
||||
|
||||
<div class="center-text">
|
||||
<p class="center-text">Games</p>
|
||||
<p class="center-text">Games (press , to escape)</p>
|
||||
<a href="/assets/games/smashkarts">Smash Karts</a> • <a href="/assets/games/stickmanhook">Stickman Hook</a> • <a href="/assets/games/slope">Slope</a> • <a href="/assets/games/slope2">Slope 2</a> • <a href="/assets/games/adofai">A Dance of Fire and Ice</a> • <a href="/assets/games/retrobowl">Retro Bowl</a> • <a href="/assets/games/totm">Tomb of the Mask</a> • <a href="/assets/games/whg">World's Hardest Game</a> • <a href="/assets/games/whg2">World's Hardest Game 2</a> • <a href="/assets/games/ovo">OvO</a> • <a href="/assets/games/2048">2048</a> • <a href="/assets/games/tunnelrush">Tunnel Rush</a> • <a href="/assets/games/basketrandom">Basket Random</a> • <a href="/assets/games/clusterrush">Cluster Rush</a> • <a href="/assets/games/bitlife">BitLife</a> • <a href="/assets/games/cookieclicker">Cookie Clicker</a> • <a href="/assets/games/dr3d">Death Run 3D</a> • <a href="/assets/games/flappybird">Flappy Bird</a> • <a href="/assets/games/retrobowl">Retro Bowl</a> • <a href="/assets/games/eagler/1.5.2.html">Eaglercraft 1.5.2</a> • <a href="/assets/games/eagler/1.8.html">Eaglercraft 1.8</a> • <a href="/assets/games/fruitninja">Fruit Ninja</a> • <a href="/assets/games/drivemad">Drive Mad</a> • <a href="/assets/games/jetpackjoyride">Jetpack Joyride</a> • <a href="/assets/games/knifehit">Knife Hit</a> • <a href="/assets/games/tetris">Tetris</a> • <a href="/assets/games/subwaysurfers">Subway Surfers</a> • <a href="/assets/games/wordle">Wordle</a>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Reference in a new issue