2021-09-26 16:04:20 +02:00
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "utf-8" / >
2021-09-29 17:40:25 +02:00
<!-- Welcome to a shark. I hope you enjoy this aquatic organism. -->
2021-09-26 16:04:20 +02:00
< meta name = "viewport" content = "width=device-width,initial-scale=1" / >
2021-10-02 19:17:06 +02:00
< meta http-equiv = "content-security-policy" content = "script-src localhost:* 'self' 'unsafe-inline'" / >
2021-09-26 16:04:20 +02:00
2021-10-04 09:03:47 +02:00
< meta name = "application-name" property = "og:title" content = "Shark Game" / >
< meta name = "author" content = "Toby https://tobot.dev/" / >
2021-10-04 09:06:49 +02:00
< meta name = "description" property = "description" content = "A web game about resources, discovery and sharks." / >
2021-10-04 09:03:47 +02:00
< meta name = "keywords" content = "sharkgame,shark,game,incremental,clicker,idle,cirr,cirrial" / >
< meta name = "referrer" content = "never" / >
< meta name = "theme-color" content = "#2e4372" / >
< meta name = "color-scheme" content = "normal" / >
2021-10-04 10:55:24 +02:00
< meta name = "image" property = "image" content = "https://rewrite.shark.tobot.dev/sharkgame.png" / >
2021-09-26 16:04:20 +02:00
2021-10-04 09:45:06 +02:00
< meta name = "twitter:card" content = "summary" / >
2021-10-04 09:35:47 +02:00
< meta property = "og:url" content = "https://rewrite.shark.tobot.dev/" / >
2021-10-04 09:03:47 +02:00
< meta property = "og:type" content = "website" / >
2021-10-04 09:27:36 +02:00
< meta property = "og:site_name" content = "Shark Game" / >
2021-10-04 09:35:47 +02:00
< meta property = "og:image" content = "https://rewrite.shark.tobot.dev/sharkgame.png" / >
2021-10-04 09:06:49 +02:00
< meta property = "og:image:secure_url" content = "https://rewrite.shark.tobot.dev/sharkgame.png" / >
2021-09-26 16:04:20 +02:00
< meta property = "og:image:type" content = "image/png" / >
< meta property = "og:image:width" content = "200" / >
< meta property = "og:image:height" content = "200" / >
< meta
property="og:image:alt"
content="A grey-blue shark drawn in a simple lineless style swims in front of a navy blue background. There are the words Shark Game, the word Shark above the shark and the word Game below it."
/>
2021-10-04 09:03:47 +02:00
< meta property = "og:locale" content = "en_US" / >
2021-09-26 16:04:20 +02:00
2021-09-26 18:37:35 +02:00
< link rel = "shortcut icon" href = "favicon.png" type = "image/x-icon" / >
2021-10-04 09:03:47 +02:00
< link rel = "image_src" href = "https://rewrite.shark.tobot.dev/sharkgame.png" / >
< link rel = "apple-touch-icon" href = "https://rewrite.shark.tobot.dev/sharkgame.png" / >
2021-09-26 16:04:20 +02:00
2021-10-05 12:53:14 +02:00
< link rel = "manifest" href = "/manifest.json" / >
2021-10-04 09:41:19 +02:00
< link rel = "alternate" type = "application/json+oembed" href = "/oEmbed.json" / >
2021-10-04 09:27:36 +02:00
2021-10-04 09:03:47 +02:00
<!-- This loads the actual game -->
2021-09-26 16:04:20 +02:00
< link rel = "stylesheet" type = "text/css" href = "./build/bundle.css" / >
2021-10-04 09:03:47 +02:00
< script type = "module" src = "./build/bundle.js" > < / script >
< title > Shark Game< / title >
2021-09-26 16:04:20 +02:00
< noscript >
< style >
#wrapper {
display: none;
}
2021-09-26 21:02:02 +02:00
noscript {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
2021-09-26 16:04:20 +02:00
< / style >
2021-10-04 09:03:47 +02:00
< / noscript >
< / head >
< body >
< noscript >
2021-09-26 16:04:20 +02:00
< h1 > Shark Game??< / h1 >
< span
2021-09-30 21:26:11 +02:00
>Oh dear! It seems you have Javascript disabled, or that your current browser does not support scripts.< /span
2021-09-26 16:04:20 +02:00
>
2021-09-30 21:26:11 +02:00
< span > Shark Game requires scripts to work. Otherwise it's just a static webpage that doesn't do much.< / span >
2021-09-26 16:04:20 +02:00
< span > In fact, it only displays this Shark asking you for scripts.< / span >
< pre >
,
.';
.-'` .'
,`.-'-.`\
; / '-'
| \ ,-, (scripts plz.)
\ '-.__ )_`'._ /
'. ``` ``'--._
.-' , `'-.
'-'`-._ (( o )
jgs `'--....(`- ,__..--'
'-'` < /pre
>
< / noscript >
2021-10-05 12:53:14 +02:00
< script >
if ("serviceWorker" in navigator) {
window.addEventListener("load", () => {
navigator.serviceWorker
.register("service-worker.js")
.then((registration) => {
console.debug("Registered ServiceWorker");
})
.catch((err) => {
console.error("ServiceWorker registration failed", err);
});
});
} else {
console.warn("ServiceWorker not supported.");
}
< / script >
2021-09-26 16:04:20 +02:00
< / body >
< / html >