Created
July 10, 2025 09:01
-
-
Save yojohanshinwataikei/249d410d2dabc35482952e75ecfe19ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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