去掉微信公众号里面的菜单栏

去掉微信公众号里面的菜单栏:
<script type="text/javascript">
function onBridgeReady(){
WeixinJSBridge.call('hideOptionMenu');
}

if (typeof WeixinJSBridge == "undefined"){ //alert("undefined");
if( document.addEventListener ){
document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false);
}else if (document.attachEvent){
document.attachEvent('WeixinJSBridgeReady', onBridgeReady);
document.attachEvent('onWeixinJSBridgeReady', onBridgeReady);
}
}else{ //("其他");
onBridgeReady();
}
</script>

posted @   谢其江  阅读(2075)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示