This commit is contained in:
Viggo
2017-12-20 13:23:22 +08:00
parent c463423d63
commit 2ddd48d844
1196 changed files with 227177 additions and 0 deletions

18
language.js Normal file
View File

@@ -0,0 +1,18 @@
<script>
if (navigator.appName ==Netscape)
var language = navigator.language;
else
var language = navigator.browserLanguage;
if (language.indexOf(en) > -1) document.location.href = en/index.html;
else if (language.indexOf(zh) > -1) document.location.href =cn/index.html;
else
document.location.href =en/index.html;
</script>