1 <!--2017/09/13 Jump Mobile page start by imp pser -2 <Metaname= "Mobile-agent"content= "Format=html5;url=http://forbag.inrn.net/kh1m.aspx">3 <Scripttype= "Text/javascript">4 varUseragentinfo=navigator.useragent;5 if(Useragentinfo.indexof ("Android") > 0 ||Useragentinfo.indexof ("IPhone") > 0 ||Useragentinfo.indexof ("SymbianOS") > 0 ||Useragentinfo.indexof ("Windows Phone") > 0 ||Useragentinfo.indexof ("IPod") > 0 ||Useragentinfo.indexof ("IPad") > 0) 6 {7 window.location.href= "http://forbag.inrn.net/kh1m.aspx";8 }Else {9 }Ten </Script> One <!--2017/09/13 Jump Mobile page End by IMP pser -
Insert the above code between the areas of the home page source file, and when the user enters the URL http://forbag.inrn.net on the phone, it jumps directly to the http://forbag.inrn.net/kh1m.aspx page content.
Automatically determine whether a mobile or PC-side jump is done through code