HOOK XHR请求

 

 

(function (){
    var open=window.xmlHttpRequest.prototype.open;
    window.xmlHttpRequest.prototype.open = function (method,url,async){
        if(url.indexOf('analysis') != -1){
            debugger;
        }
        return open.apply(this,arguments);
    };
})();

 

posted @ 2023-04-28 18:07  *感悟人生*  阅读(121)  评论(0编辑  收藏  举报