Add random funny 404 terminal messages
This commit is contained in:
parent
1ac2899bc8
commit
1939042040
1 changed files with 18 additions and 1 deletions
19
404.html
19
404.html
|
|
@ -62,7 +62,7 @@
|
|||
<p class="nf-dim">searching all channels...</p>
|
||||
<p class="nf-dim">searching voice lounge...</p>
|
||||
<p class="nf-dim">asking the hamsters powering the server...</p>
|
||||
<p class="nf-err">ERROR: page not found. hamsters are also confused.</p>
|
||||
<p class="nf-err" id="nf-err">ERROR: page not found. hamsters are also confused.</p>
|
||||
<p><span class="nf-prompt">$</span> <span class="nf-cursor"></span></p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -90,5 +90,22 @@
|
|||
</footer>
|
||||
|
||||
<script src="script.js"></script>
|
||||
<script>
|
||||
(function () {
|
||||
var messages = [
|
||||
"ERROR: page not found. hamsters are also confused.",
|
||||
"ERROR: 404. the page left to touch grass and never came back.",
|
||||
"ERROR: channel deleted by a rogue mod with too much power.",
|
||||
"ERROR: page went to get milk. it's been 3 years.",
|
||||
"ERROR: our carrier pigeon got lost. again.",
|
||||
"ERROR: this URL is in another castle.",
|
||||
"ERROR: packet fell off the internet. oops.",
|
||||
"ERROR: page exists, but only on opposite day.",
|
||||
"ERROR: the hamsters unionized and refuse to find this page."
|
||||
];
|
||||
var el = document.getElementById('nf-err');
|
||||
if (el) el.textContent = messages[Math.floor(Math.random() * messages.length)];
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue