首页 > 建站‧营销

网页禁止在微信上分享、复制链接等js代码


网页禁止在微信上分享、复制链接等js代码,代码如下:

<scriptsrc="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
<script>
functiononBridgeReady(){
WeixinJSBridge.call('hideOptionMenu');
}

if(typeofWeixinJSBridge=="undefined"){
if(document.addEventListener){
document.addEventListener('WeixinJSBridgeReady',onBridgeReady,false);
}elseif(document.attachEvent){
document.attachEvent('WeixinJSBridgeReady',onBridgeReady);
document.attachEvent('onWeixinJSBridgeReady',onBridgeReady);
}
}else{
onBridgeReady();
}
</script>

本文链接:https://zhanque.net/cms/4405.html