Update inject.js
This commit is contained in:
parent
dc5fc951ed
commit
f14fd06b43
@ -38,10 +38,10 @@ const introSkipper = {
|
|||||||
}
|
}
|
||||||
return response;
|
return response;
|
||||||
},
|
},
|
||||||
xhrOpenWrapper(xhr, method, url, async, user, password) {
|
xhrOpenWrapper(xhr, method, url, ...rest) {
|
||||||
this.d(`XHR Open: ${method} ${url}`);
|
this.d(`XHR Open: ${method} ${url}`);
|
||||||
xhr._introSkipperUrl = url;
|
xhr._introSkipperUrl = url;
|
||||||
return this.originalXHROpen.apply(xhr, [method, url, async, user, password]);
|
return this.originalXHROpen.apply(xhr, [method, url, ...rest]);
|
||||||
},
|
},
|
||||||
xhrSendWrapper(xhr, body) {
|
xhrSendWrapper(xhr, body) {
|
||||||
const originalOnReadyStateChange = xhr.onreadystatechange;
|
const originalOnReadyStateChange = xhr.onreadystatechange;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user