uweb/redirect.html
2022-09-02 22:55:54 +08:00

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