commit: 10a4efde96eedbe9b68c195d659549f32cd66bf7
parent aeea8077eff0e9382999e320483ac4d6af828d52
Author: Лu Лinveгa <aliceffekt@gmail.com>
Date: Mon, 10 Jun 2019 06:41:11 +0200
Merge pull request #3 from microlith57/patch-1
Add Javascript warnings
Diffstat:
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/404.html b/404.html
@@ -7,12 +7,24 @@ permalink: /404.html
<meta charset="utf-8">
<title>Loading..</title>
</head>
-<body style='background:black'>
+<body style='background:black; color:white'>
<script>
var parts = window.location.pathname.split("/")
var target = parts.slice(-1);
parts.splice(-1)
document.location.href = parts.join("/")+"/#"+target
</script>
+
+ <h1>
+ Loading, please wait.
+ <br />
+ If this takes a long time, please check your Javascript settings.
+ </h1>
+
+ <noscript>
+ <h2>
+ This website requires Javascript. To view the content, please enable it in your browser settings.
+ </h2>
+ </noscript>
</body>
</html>
diff --git a/index.html b/index.html
@@ -51,5 +51,11 @@
var RIVEN = new Riven();
graph()
</script>
+
+ <noscript>
+ <h2 style="color:white">
+ This website requires Javascript. To view the content, please enable it in your browser settings.
+ </h2>
+ </noscript>
</body>
</html>