diff --git a/static/colorscheme.js b/static/colorscheme.js
new file mode 100644
index 0000000..e4ed0e8
--- /dev/null
+++ b/static/colorscheme.js
@@ -0,0 +1,20 @@
+var radios = document.getElementsByName("color-scheme");
+var prev = localStorage.getItem("color-scheme");
+for (var i = 0; i < radios.length; i++) {
+ var _this = radios[i];
+ _this.checked = _this.value == prev;
+ radios[i].addEventListener("change", function() {
+ if (this.value !== prev) {
+ prev = this.value;
+ localStorage.setItem("color-scheme", this.value);
+ }
+ });
+}
+var button = document.getElementById("clear-color-scheme");
+button.addEventListener("click", function() {
+ for (var i = 0; i < radios.length; i++) {
+ var _this = radios[i];
+ _this.checked = false;
+ localStorage.removeItem("color-scheme");
+ }
+});
diff --git a/static/nonoscript.js b/static/nonoscript.js
new file mode 100644
index 0000000..cbe8bec
--- /dev/null
+++ b/static/nonoscript.js
@@ -0,0 +1,9 @@
+function nonoscriptImplementer() {
+ var nonoscript = document.getElementsByClassName("nonoscript");
+ console.log(nonoscript);
+ for (let item of nonoscript) {
+ console.log("meep!");
+ item.classList.remove("nonoscript");
+ }
+}
+window.onload = nonoscriptImplementer();
diff --git a/templates/colorscheme.html b/templates/colorscheme.html
index e8ac7f2..50fe70d 100644
--- a/templates/colorscheme.html
+++ b/templates/colorscheme.html
@@ -49,26 +49,6 @@
-
diff --git a/templates/nonoscript.html b/templates/nonoscript.html
index 55a6ebd..a728c41 100644
--- a/templates/nonoscript.html
+++ b/templates/nonoscript.html
@@ -16,15 +16,6 @@
```
-->
-