mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-11 03:19:02 +08:00
Add UA auto detection for Stash iOS
This commit is contained in:
parent
638f4ae8d9
commit
991bedd663
@ -871,7 +871,10 @@ function service() {
|
|||||||
return "Surge";
|
return "Surge";
|
||||||
} else if (UA.indexOf("Decar") !== -1 || UA.indexOf("Loon") !== -1) {
|
} else if (UA.indexOf("Decar") !== -1 || UA.indexOf("Loon") !== -1) {
|
||||||
return "Loon";
|
return "Loon";
|
||||||
} else {
|
} else if (UA.indexOf("Stash") !== -1) {
|
||||||
|
return "Clash";
|
||||||
|
}
|
||||||
|
else {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
backend/sub-store.min.js
vendored
4
backend/sub-store.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user