This commit is contained in:
2024-10-29 14:04:59 +08:00
commit 48bf3e6f33
2839 changed files with 762707 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
var _pattern = "android|blackberry|googlebot-mobile|iemobile|ipad|iphone|ipod|opera mobile|palmos|webos"
var _regex = new RegExp(_pattern, "ig");
var _UA = navigator.userAgent;
var domainUrl = window.location.href;
var pathUrl = window.location.pathname;
if(_regex.test(_UA) && pathUrl.search("/us/") != -1){
}
else{
location.href=domainUrl.replace('/usmobile/', '/us/');
}