summaryrefslogtreecommitdiff
path: root/Base/res/html/misc
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-03-30 23:29:35 +0100
committerAndreas Kling <kling@serenityos.org>2022-03-31 17:08:38 +0200
commitb64080a9139c908fc9815324e35267949a6ad9aa (patch)
tree8afbc955e5b5d792d694fa5c5509452d9fb0c44d /Base/res/html/misc
parent04e40b7aaa2d0cfd9ac169694e951b222975dcfd (diff)
downloadserenity-b64080a9139c908fc9815324e35267949a6ad9aa.zip
Base: Add a <noscript> test page
Diffstat (limited to 'Base/res/html/misc')
-rw-r--r--Base/res/html/misc/noscript.html15
-rw-r--r--Base/res/html/misc/welcome.html1
2 files changed, 16 insertions, 0 deletions
diff --git a/Base/res/html/misc/noscript.html b/Base/res/html/misc/noscript.html
new file mode 100644
index 0000000000..7a6e507a37
--- /dev/null
+++ b/Base/res/html/misc/noscript.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8" />
+ <title>&lt;noscript&gt;</title>
+</head>
+<body>
+ <script>
+ alert("Scripting is enabled!");
+ </script>
+ <noscript>
+ Scripting is disabled!
+ </noscript>
+</body>
+</html>
diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html
index bbce692127..318093c6b7 100644
--- a/Base/res/html/misc/welcome.html
+++ b/Base/res/html/misc/welcome.html
@@ -73,6 +73,7 @@
<li><a href="br.html">br</a></li>
<li><a href="progressbar.html">progressbar</a></li>
<li><a href="textarea.html">textarea</a></li>
+ <li><a href="noscript.html">noscript</a></li>
</ul>
<h2>CSS</h2>