typecho禁止F12代码

 🍂轩落阁🍃
1年前发布 /正在检测是否收录...

AI摘要:

🍂轩落の阁🍃AI

自己找个位置加上就行了,F12就打不开了,但是还有其他方法可以打开

 <!--禁用F12代码-->
<script src="https://lib.baomitu.com/layer/3.1.1/layer.js"></script>
<body onmousemove=HideMenu() oncontextmenu="return false" 
ondragstart="return false" 
onselectstart ="return false" 
onselect="document.selection.empty()" 
oncopy="document.selection.empty()" 
onbeforecopy="return false" 
onmouseup="document.selection.empty()">
</body>
<script>
document.onkeydown = function(){
    if(window.event && window.event.keyCode == 123) {
        layer.msg("偷代码,不如加博主个友链博主告诉你😘");
        event.keyCode=0;
        event.returnValue=false;
    }
}
</script>
© 版权声明
THE END
喜欢就支持一下吧
点赞 1 分享 赞赏
评论 抢沙发
OωO
取消