Skip to content

Commit

Permalink
terms patch (4/?)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatFruedDued committed Aug 20, 2022
1 parent 24d157c commit 2502665
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions release/ploader/public/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@

XMLHttpRequest.prototype._open = XMLHttpRequest.prototype.open;
XMLHttpRequest.prototype.open = function () {
console.log(...arguments);

if (arguments[1].endsWith("/api/config")) {
arguments[1] = location.origin + "/api/config";
return this._open(...arguments);
Expand Down Expand Up @@ -172,7 +170,6 @@

window._fetch = window.fetch;
window.fetch = async function () {
console.log(...arguments);
if (!arguments[1]) {
arguments[1] = {};
}
Expand Down Expand Up @@ -322,7 +319,10 @@
"delete window." + safeReplacer
);
}
console.log(script);
script = script.replaceAll(
'"blooket.com"',
'"blooket-utility.okr765.com"'
);
eval(script);
}
});
Expand Down

0 comments on commit 2502665

Please sign in to comment.