利用js去除无限debugger

Lan
Lan
2022-03-14 / 1 评论 / 673 阅读 / 正在检测是否收录...
温馨提示:
本文最后更新于2022年03月14日,已超过775天没有更新,若内容或图片失效,请留言反馈。

csdn看见的,还别说,挺好用
www.lanol.cn

//去除无限debugger
Function.prototype.__constructor_back = Function.prototype.constructor ;
Function.prototype.constructor = function() {
    if(arguments && typeof arguments[0]==='string'){
        //alert("new function: "+ arguments[0]);
        if( "debugger" === arguments[0]){
            //arguments[0]="consoLe.Log(\"anti debugger\");";
            //arguments[0]=";";
            return
    }
    }
    return Function.prototype.__constructor_back.apply(this,arguments);
}

原文链接:https://blog.csdn.net/qq_39799322/article/details/119275806

0

评论 (1)

取消
  1. 头像
    qingshang
    Windows 10 · Google Chrome

    推荐你用v_tools

    回复