(/MicroMessenger/ig.test(userAgent)) { if (/iphone os ([0-9]+)_/i.test(userAgent) && parseInt(RegExp.$1, 10) >= 9) { var wxVersion = userAgent.match(/MicroMessenger\/(.+)\(/); wxVersion = wxVersion[1]; var vs = versionCompare(wxVersion, '7.0.5'); // ios 微信7.0.5...