summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-06-09 08:00:00 +0800
committerRunxi Yu <me@runxiyu.org>2024-06-09 08:00:00 +0800
commita74c16ed4728c0130680cc7f7c67a715ddda9325 (patch)
tree652f9c1001ba1199f8b1b26df134d06f3f366ae8
parent8ab1b4e696ce1d09f39c2ee64c3fcb08150d539e (diff)
downloadwww-a74c16ed4728c0130680cc7f7c67a715ddda9325.tar.gz
Add banjs.html
-rw-r--r--banjs.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/banjs.html b/banjs.html
new file mode 100644
index 0000000..946c9c8
--- /dev/null
+++ b/banjs.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+	<meta charset="UTF-8" />
+	<title>JavaScript is banned here</title>
+	<link rel="stylesheet" href="./style.css" />
+	<link rel="icon" href="./favicon.ico" sizes="any" />
+	<!--link rel="icon" href="./icon.svg" type="image/svg+xml" / -->
+	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+	<meta name="theme-color" content="#241504" />
+	<meta name="color-scheme" content="light dark">
+
+</head>
+<body>
+<header>
+	<h1>JavaScript is banned here</h1>
+</header>
+
+<article>
+	<p>
+	If you can see this page, then JavaScript is disabled. Great!
+	</p>
+</article>
+
+<footer>
+	<ul role="list">
+		<li><a href="./">Home</a></li>
+		<li>Runxi Yu</li>
+		<li><a rel="license" href="./pubdom.html">Public Domain</a></li>
+	</ul>
+</footer>
+<script>
+	document.head.innerHTML = '<meta charset="UTF-8"><title>JavaScript detected</title>'
+	document.body.innerHTML = 'Please disable JavaScript to view this page.'
+</script>
+</body>
+</html>