请问这是在手机端浏览吗?
- 内容介绍
- 文章标签
- 相关推荐
本文共计91个文字,预计阅读时间需要1分钟。
javascriptfunction toLive() { var ua=navigator.userAgent; var ipad=ua.match(/(iPad).*OS\s([\d_]+)/), isIphone=!ipad && ua.match(/(iPhone\sOS)\s([\d_]+)/), isAndroid=ua.match(/(Android)\s+([\d.]+)/), isMobile=isIphone || isAndroid;}
function toLive() { var ua = navigator.userAgent; var ipad = ua.match(/(iPad).*OS\s([\d_]+)/), isIphone = !ipad && ua.match(/(iPhone\sOS)\s([\d_]+)/), isAndroid = ua.match(/(Android)\s+([\d.]+)/), isMobile = isIphone || isAndroid; if (isMobile) { window.open('ihjrm.com/live/mroom.aspx?lcid=7586'); } else { window.open('ihjrm.com/live/room2.aspx?lcid=7586'); } }
本文共计91个文字,预计阅读时间需要1分钟。
javascriptfunction toLive() { var ua=navigator.userAgent; var ipad=ua.match(/(iPad).*OS\s([\d_]+)/), isIphone=!ipad && ua.match(/(iPhone\sOS)\s([\d_]+)/), isAndroid=ua.match(/(Android)\s+([\d.]+)/), isMobile=isIphone || isAndroid;}
function toLive() { var ua = navigator.userAgent; var ipad = ua.match(/(iPad).*OS\s([\d_]+)/), isIphone = !ipad && ua.match(/(iPhone\sOS)\s([\d_]+)/), isAndroid = ua.match(/(Android)\s+([\d.]+)/), isMobile = isIphone || isAndroid; if (isMobile) { window.open('ihjrm.com/live/mroom.aspx?lcid=7586'); } else { window.open('ihjrm.com/live/room2.aspx?lcid=7586'); } }

