mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 04:13:43 +08:00
移除 ccugame.app 相关代码
This commit is contained in:
parent
68aaa98515
commit
6e6a7f3adb
@ -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(_ => {
|
||||||
|
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user