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