摘要: functionvalidataOS(){if(navigator.userAgent.indexOf(“Window”)>0){return”Windows”;}elseif(navigator.userAgent.indexOf(“MacOSX”)>0){return”Mac”;}elseif(... 阅读全文
posted @ 2016-01-05 23:02 泥娃拉拉 阅读(1820) 评论(0) 推荐(0)
摘要: function is_weixn(){ var ua = navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i)=="micromessenger") { return true; } else { return fals... 阅读全文
posted @ 2016-01-05 22:59 泥娃拉拉 阅读(291) 评论(0) 推荐(0)