repo.or.cz
/
uweb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add uptodown link
[uweb.git]
/
redirect.html
blob
46c82ab3eb2ac915a697016d3662f28f75ec93e4
1
<head>
2
<script
type
=
"text/javascript"
>
3
(
function
(){
4
var
ls
=
navigator
.
languages
;
5
var
url
=
"en/index.html#"
;
6
for
(
var
i
in
ls
){
7
if
(
ls
[
i
].
startsWith
(
"en"
))
break
;
8
if
(
ls
[
i
].
startsWith
(
"zh"
)) {
url
=
"zh/index.html#"
;
break
;}
9
}
10
location
.
href
=
url
;
11
})();
12
</script>
13
</head>