You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
uweb/redirect.html

10 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>