mirror of
https://github.com/sipeed/sipeed_wiki.git
synced 2026-11-09 17:44:31 -06:00
19 lines
478 B
HTML
19 lines
478 B
HTML
<script>
|
|
var hash = window.location.hash
|
|
var url_language = "zh"
|
|
|
|
if( navigator.language.indexOf("zh") == -1 )
|
|
{
|
|
url_language = "en"
|
|
}
|
|
|
|
|
|
if (hash.indexOf("start")!= -1)
|
|
{
|
|
location.href = window.location.origin + "/hardware/" + url_language + "/tang/tang-nano-20k/example/unbox.html"
|
|
}
|
|
else
|
|
{
|
|
location.href = window.location.origin + "/hardware/" + url_language + "/tang/tang-nano-20k/nano-20k.html"
|
|
}
|
|
</script> |