-

(function noDebuger() {
    function testDebuger() {
        var wWADWeTEd1 = new window["Date"]();
        debugger;
        if (new window["Date"]() - wWADWeTEd1 > 10) {
            window["document"]['body']['innerHTML'] = '<div>私有接口,请勿调用</div>';
            return true
        }
        return false
    }

    function start() {
        while (testDebuger()) {
            testDebuger()
        }
    }
    if (!testDebuger()) {
        window['onblur'] = function() {
            setTimeout(function() {
                start()
            }, 500)
        }
    } else {
        start()
    }
})();

 要放在body标签之后

 

-

相关文章:

  • 2021-12-16
  • 2021-05-11
  • 2021-12-13
  • 2021-09-04
  • 2021-10-09
猜你喜欢
  • 2021-12-06
  • 2022-12-23
  • 2022-01-06
  • 2022-12-23
  • 2022-02-17
  • 2022-12-23
  • 2021-09-28
相关资源
相似解决方案