var userAgent = navigator.userAgent.toLowerCase();//获取UA信息 if(userAgent.indexOf("ezhouxing") != -1){//判断ua中是否含有和app端约定好的标识ezhouxing alert(包含); }
标签:nav agent post dex 通过 log 判断 index app
var userAgent = navigator.userAgent.toLowerCase();//获取UA信息 if(userAgent.indexOf("ezhouxing") != -1){//判断ua中是否含有和app端约定好的标识ezhouxing alert(包含); }
标签:nav agent post dex 通过 log 判断 index app
原文地址:https://www.cnblogs.com/yuanxinru321/p/8534311.html