Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save yojohanshinwataikei/249d410d2dabc35482952e75ecfe19ee to your computer and use it in GitHub Desktop.
Save yojohanshinwataikei/249d410d2dabc35482952e75ecfe19ee to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name lowiro bypass getCountry
// @namespace http://tampermonkey.net/
// @version 2025-07-10
// @description bypass chinese ip check
// @author yojohanshinwataikei
// @match https://arcaea.lowiro.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=arcaea.lowiro.com
// @grant none
// ==/UserScript==
(function () {
"use strict";
(function (getAllResponseHeaders) {
XMLHttpRequest.prototype.getAllResponseHeaders = function (...arg) {
const result = getAllResponseHeaders.apply(this, arg);
if (this.responseURL === "https://webapi.lowiro.com/country") {
return result.replace("CN", "US");
}
return result;
};
})(XMLHttpRequest.prototype.getAllResponseHeaders);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment