jq PC terminal jump to mobile terminal

<script type="text/javascript">
function loadBrowser() {
var userAgent = navigator.userAgent.toLocaleLowerCase();
//debugger;
if ((userAgent.match(/(mqqbrowser|juc|fennec|symbian|windows phone|android|blackberry|webos|browserng|iemobile|wosbrowser|iphone)/i))) {
return "mobile"

}
if (loadBrowser() == 'mobile'){
window.location.href = "mobile.html";
}
</script>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324879001&siteId=291194637