js中判断是否是安卓还是ios系统
js中判断是否是安卓还是ios系统判断访问设备是android还是ios,无非就是获取设备的userAgent<script type="text/javascript">var device = navigator.userAgent;var isAndroid = device.indexOf('Android') > -1 || device.indexOf('Adr') > -1; //android终端var