mirror of
https://github.com/milk-net/milk-net.github.io.git
synced 2025-04-19 17:43:42 -05:00
Update index.html
This commit is contained in:
parent
c2689611f7
commit
fd470b59ba
1 changed files with 19 additions and 1 deletions
20
index.html
20
index.html
|
@ -14,11 +14,29 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
|
let savedLink = localStorage.getItem("savedLink");
|
||||||
|
|
||||||
|
document.addEventListener("keydown", function(event) {
|
||||||
|
if (event.key === "`") {
|
||||||
|
if (!savedLink) {
|
||||||
|
savedLink = prompt("Panic key will open:");
|
||||||
|
if (savedLink) {
|
||||||
|
localStorage.setItem("savedLink", savedLink);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
window.open(savedLink, "_blank");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="/assets/img/milk_optimized.png" class="center">
|
<img src="/assets/img/milk_optimized.png" class="center">
|
||||||
<h1 class="center-text">MilkNet</h1>
|
<h1 class="center-text">MilkNet</h1>
|
||||||
<p class="center-text">Paradise for bored students. What would you like to do?</p>
|
<p class="center-text">Paradise for bored students. What would you like to do? (Press ` to escape)</p>
|
||||||
|
|
||||||
<div class="center-text">
|
<div class="center-text">
|
||||||
<a href="/games">Games</a> • <a href="/apps">Apps</a> • <a href="/links.txt">Links</a> • <a href="/form">Requests</a> • <a href="https://thismailboxismine.andthistriagonalsign.22web.org/gba">Retro Games</a>
|
<a href="/games">Games</a> • <a href="/apps">Apps</a> • <a href="/links.txt">Links</a> • <a href="/form">Requests</a> • <a href="https://thismailboxismine.andthistriagonalsign.22web.org/gba">Retro Games</a>
|
||||||
|
|
Loading…
Add table
Reference in a new issue