var isOnPc=!(/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)); if(isOnPc) { } else{ window.location.href="mobile_index.html"; }
http://www.xker.com/page/e2014/0325/131654.html
http://www.hi-docs.com/article/detail-ODU=.html