亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - How to block the share button in the upper right corner of QQ?
僅有的幸福
僅有的幸福 2017-07-05 10:46:07
0
4
1202

In addition to adding the suffix ?_wv=2 after the URL, can I write a code in my website source code to block it? Please answer!

僅有的幸福
僅有的幸福

reply all(4)
曾經(jīng)蠟筆沒有小新

This cannot be controlled, it can only be set by default

習(xí)慣沉默

In WeChat, the browser can ban it through API. I checked QQ's developer API, and there should be no such API.

迷茫

http://192.168.0.240/?_wv=3
or
This is suitable for opening in WeChat
<script>
function onBridgeReady(){
WeixinJSBridge.call('hideOptionMenu');
}
if (typeof WeixinJSBridge == "undefined"){

if( document.addEventListener ){
    document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
}else if (document.attachEvent){
    document.attachEvent('WeixinJSBridgeReady', onBridgeReady); 
    document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
}

}else{

onBridgeReady();

}
</script>

phpcn_u1582

Use QQ’s JS SDK to disable it,
mqq.ui.setTitleButtons({

                        left: {
                            title: "返回"
                         },
                        right: {
                            hidden: true
                        }
                        });
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template