Add UA auto detection for Stash iOS

This commit is contained in:
Peng-YM 2022-03-23 17:36:57 +08:00
parent 638f4ae8d9
commit 991bedd663
2 changed files with 6 additions and 3 deletions

View File

@ -871,7 +871,10 @@ function service() {
return "Surge";
} else if (UA.indexOf("Decar") !== -1 || UA.indexOf("Loon") !== -1) {
return "Loon";
} else {
} else if (UA.indexOf("Stash") !== -1) {
return "Clash";
}
else {
return null;
}
}

File diff suppressed because one or more lines are too long