mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
10 lines
286 B
HTML
10 lines
286 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;}
|
|
}
|
|
location.href="en/index.html";
|
|
</script>
|
|
</head>
|