js检测访问设备

if (navigator.userAgent.match(/(iPod|iPhone|iPad)/)) {

}

posted @ 2019-03-04 17:20  虚无缥缈的云  阅读(206)  评论(0编辑  收藏  举报