如何调试反 debug 的网页?

1次阅读

共计 442 个字符,预计需要花费 2 分钟才能阅读完成。

https://ftty.ydmap.cn/booking/schedule/101332?salesItemId=100341

他通过这段代码不停生成 debugger 的代码
有什么办法可以阻止他,然后调试我自己打的断点

    29556: ()=>{(()=>{if ("undefined" !== typeof window && !window.location.port)
                try {t()
                } catch (n) {}
            function e(e, t) {return Math.floor(Math.random() * (t - e)) + e
            }
            function t() {setInterval((()=>{const t = e(0, 100);
                    (function() {return !1}
                    )["constructor"](`n          // 🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫 禁止调试 🚫🚫🚫🚫🚫🚫🚫🚫🚫🚫n          ${Array.from({length: t}).fill("n").join("")}n          debuggern        `)["call"]()}
                ), 50)
            }
        }
        )()}
    
正文完
 0