[JavaScript] 纯文本查看 复制代码 <script type="text/javascript">
$(function(){
try {
var urlhash = window.location.hash;
if (!urlhash.match("fromapp")){
//移动端
if ((navigator.userAgent.match(/(iPhone|iPod|Android|ios|iPad)/i))){
window.location.href='/cn/index.htm';
//pc端
}else{
window.location.href='/cn/index.htm';
}
}
}catch(err){}
});
</script> |