typecho禁止F12代码

  • 🍂轩落阁🍃 2025年11月13日 59阅读 0评论
  • 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>
    1
    打赏

    —— 评论区 ——

    昵称
    邮箱
    网址
    取消
    站点公告

    联系QQ:2227652475

    分享实用网络教程

    授人以鱼不如授人以渔

    人生倒计时