摘要: var ua = navigator.userAgent.toLowerCase(); if(ua.match(/android/i)) == "android") { alert("android"); } if(ua.match(/iPhone/i)) == "iPhone") { alert("iPhone"); } if(ua.m... 阅读全文
posted @ 2018-01-31 16:59 web前端kelly 阅读(327) 评论(0) 推荐(0) 编辑