summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'main.js')
-rw-r--r--main.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.js b/main.js
new file mode 100644
index 0000000..c3d8b56
--- /dev/null
+++ b/main.js
@@ -0,0 +1,6 @@
+o
+let btn = document.querySelector(".neon-button");
+
+if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent))
+ btn.setAttribute("href", "../..");
+else