<script type="text/javascript">

function is_weixn(){

    var ua = navigator.userAgent.toLowerCase();

    if(ua.match(/MicroMessenger/i)=="micromessenger") {

        return true;

    } else {

        return false;

    }

}

 

</script>

Created with the Personal Edition of HelpNDoc: Free Kindle producer