diff options
-rw-r--r-- | banjs.html | 37 |
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> |