uweb/redirect.html
2024-03-23 11:38:38 +08:00

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>