移除 ccugame.app 相关代码

This commit is contained in:
xkeyC 2023-11-16 21:13:21 +08:00
parent 68aaa98515
commit 6e6a7f3adb
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ function LocalizationWatchUpdate() {
SCLocalizationEnableSplitMode = true; SCLocalizationEnableSplitMode = true;
} }
if (window.location.hostname.includes("www.erkul.games") || window.location.hostname.includes("ccugame.app")) { if (window.location.hostname.includes("www.erkul.games")) {
document.body.addEventListener("click", function (event) { document.body.addEventListener("click", function (event) {
setTimeout(function () { setTimeout(function () {
allTranslate().then(_ => { allTranslate().then(_ => {

View File

@ -104,6 +104,7 @@ class WebViewModel {
} }
if (url.startsWith(concierge)) { if (url.startsWith(concierge)) {
replaceWords.clear();
replaceWords.addAll(_getLocalizationResource("concierge")); replaceWords.addAll(_getLocalizationResource("concierge"));
} }
if (url.startsWith(hangar)) { if (url.startsWith(hangar)) {
@ -128,8 +129,7 @@ class WebViewModel {
"getRSILauncherToken(\"$loginChannel\");"); "getRSILauncherToken(\"$loginChannel\");");
} }
} else if (uri.host.contains("www.erkul.games") || } else if (uri.host.contains("www.erkul.games") ||
uri.host.contains("uexcorp.space") || uri.host.contains("uexcorp.space")) {
uri.host.contains("ccugame.app")) {
// //
dPrint("load script"); dPrint("load script");
await Future.delayed(const Duration(milliseconds: 100)); await Future.delayed(const Duration(milliseconds: 100));