add nanokvm short link

This commit is contained in:
wj-xiao
2024-12-25 18:51:43 +08:00
parent 2ae545ba01
commit 2a071ebf44
4 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<script>
var hash = window.location.hash
var url_language = "zh"
if (navigator.language.indexOf("zh") == -1) {
url_language = "en"
}
switch (window.location.hash) {
case "#shell":
default:
location.href = window.location.origin + "/hardware/" + url_language + "/kvm/NanoKVM/introduction.html"
}
</script>

View File

@@ -0,0 +1,14 @@
<script>
var hash = window.location.hash
var url_language = "zh"
if (navigator.language.indexOf("zh") == -1) {
url_language = "en"
}
switch (window.location.hash) {
case "#shell":
default:
location.href = window.location.origin + "/hardware/" + url_language + "/kvm/NanoKVM_PCIe/introduction.html"
}
</script>

View File

@@ -0,0 +1,14 @@
<script>
var hash = window.location.hash
var url_language = "zh"
if (navigator.language.indexOf("zh") == -1) {
url_language = "en"
}
switch (window.location.hash) {
case "#shell":
default:
location.href = window.location.origin + "/hardware/" + url_language + "/kvm/NanoKVM_USB/introduction.html"
}
</script>

View File

@@ -0,0 +1,14 @@
<script>
var hash = window.location.hash
var url_language = "zh"
if (navigator.language.indexOf("zh") == -1) {
url_language = "en"
}
switch (window.location.hash) {
case "#shell":
default:
location.href = window.location.origin + "/hardware/" + url_language + "/kvm/NanoKVM_USB/introduction.html"
}
</script>