摘要: function XMLHttpRequestFilter(){ let base = XMLHttpRequest.prototype.open; let filter_list = []; let add = function(fun, key='_fn'){ filter_list.push([key, fun]) XMLHttpRequest.prototyp... 阅读全文
posted @ 2019-07-18 20:37 413Xiaol 阅读(378) 评论(0) 推荐(0) 编辑
摘要: function XMLHttpRequestBreak(fun=()=>false){ let f = XMLHttpRequest.prototype.open; let add = function(){ XMLHttpRequest.prototype.open = function(...args){ check = fun(args); if(check... 阅读全文
posted @ 2019-07-18 20:36 413Xiaol 阅读(5499) 评论(0) 推荐(0) 编辑