mirror of
https://github.com/WebStackPage/WebStackPage.github.io.git
synced 2026-02-06 11:53:17 +08:00
update
This commit is contained in:
@@ -13,13 +13,13 @@
|
||||
|
||||
var language = navigator.browserLanguage;
|
||||
|
||||
if (language.indexOf(“en”) > -1) document.location.href = “en / index.html”;
|
||||
if (language.indexOf(“en”) > -1) document.location.href = “en/index.html”;
|
||||
|
||||
else if (language.indexOf(“zh”) > -1) document.location.href = ”cn / index.html”;
|
||||
else if (language.indexOf(“zh”) > -1) document.location.href = ”cn/index.html”;
|
||||
|
||||
else
|
||||
|
||||
document.location.href = ”en / index.html”;
|
||||
document.location.href = ”en/index.html”;
|
||||
</script>
|
||||
</head>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user