//baidu ,2022.4.27 var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?278bcd66dca92c9514c5b280fdc71c77"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); //判断是不是微信浏览器 function isWechat() { var ua = navigator.userAgent.toLowerCase(); //获取用户代理字符串 return /micromessenger/i.test(ua); //正则表达式匹配"MicroMessenger"关键字 } //wxlogin var fromurl = document.referrer; // 先判断变量是否存在,再判断值 == 1 if (typeof is_wxlogin_pop !== 'undefined' && is_wxlogin_pop == 1 && fromurl != '') { window.location.href = '/home/public/mobilelogin'; } if (isWechat() || typeof wx !== 'undefined') { if (typeof is_wxlogin_pop !== 'undefined' && is_wxlogin_pop == 1 && fromurl == '') { var text = ""; text += ""; text += ""; text += "
"; text += "
"; text += " "; text += "
"; text += "
"; text += " "; text += " 国联云 申请使用"; text += "
"; text += "
"; text += " 以下信息"; text += "
"; text += "
"; text += "
"; text += " 获取您的公开信息(昵称、头像等)"; text += "
"; text += "
"; text += "
"; text += " "; text += " 允许"; text += "
"; text += "
"; text += " 拒绝"; text += " "; text += "
"; text += "
"; text += "
"; text += "
"; $("body").append(text); } }