摘要: 通过js判断是否通过微信的窗口打开页面如下:function is_weixn(){ var ua = navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i)=="micromessenger") { return true; } else { return false; }}过测试完全通过,无论是android 还是iphone,ipad 都可以。除了用js来判断之外,用其它语言来判断就更简单了,比如PHPfunction is_weixin(){ if ( ... 阅读全文
posted @ 2013-12-20 11:47 vivi.wang 阅读(898) 评论(0) 推荐(0)