mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
9 lines
253 B
HTML
9 lines
253 B
HTML
<head>
|
|
<script type="text/javascript">
|
|
var ls = navigator.languages;
|
|
for(var i in ls){
|
|
if(ls[i].startsWith("en")) {location.href="en/index.html";break;}
|
|
if(ls[i].startsWith("zh")) {location.href="zh/index.html";break;}
|
|
}
|
|
</script>
|
|
</head>
|