(function() {
var origOpen = XMLHttpRequest.prototype.open;
XMLHttpRequest.prototype.open = function() {
// console.log('request started!');
this.addEventListener('load', function() {
console.log(this.responseText); // 得到Ajax的返回内容
});
origOpen.apply(this, arguments);
};
})();
js Hook Ajax
猜你喜欢
转载自blog.csdn.net/qq_41236493/article/details/123569928
今日推荐
周排行