uweb/redirect.html

13 lines
314 B
HTML
Raw Normal View History

<head>
<script type="text/javascript">
2024-03-23 03:38:38 +00:00
(function(){
var ls = navigator.languages;
for(var i in ls){
2024-04-01 13:51:55 +00:00
if(ls[i].startsWith("en")) {location.href="en/index.html#";return;}
if(ls[i].startsWith("zh")) {location.href="zh/index.html#";return;}
}
2024-04-01 13:51:55 +00:00
location.href="en/index.html#";
2024-03-23 03:38:38 +00:00
})();
</script>
</head>