var ua = navigator.userAgent.toLowerCase(); if (ua.indexOf('micromessenger') != -1) { document.writeln('