|
|
|
@ -34,8 +34,9 @@
|
|
|
|
|
// location.href = './compatibility'
|
|
|
|
|
location.href = '/compatibility.html'
|
|
|
|
|
}
|
|
|
|
|
const isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
|
|
|
|
|
if (isMobile) {
|
|
|
|
|
// const isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));
|
|
|
|
|
const isWeiXin = (/MicroMessenger/i.test(navigator.userAgent.toLowerCase()));
|
|
|
|
|
if (isWeiXin) {
|
|
|
|
|
document.write('<script type="text/javascript" src="/javascripts/wx/jweixin-1.3.0.js"><\/script>');
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|