diff --git a/script.js b/script.js index 7841274..e95bd9c 100644 --- a/script.js +++ b/script.js @@ -7,6 +7,7 @@ const ICON_BASE_URL = const services = [ // Routing rules are matched in order from top to bottom, with the rule at the top of the list taking precedence over the rules below it. + // Default services: Apple, iCloud, Google, Telegram. { name: "bilibili", alias: "BiliBili", @@ -290,20 +291,6 @@ const proxyGroups = [ ...createProxyGroups(services, proxyGroupCommon, "select", { proxies: serviceProxyGroupProxies, }), - { - ...proxyGroupCommon, - name: "iCloud", - type: "select", - proxies: [...serviceProxyGroupProxies], - icon: `${ICON_BASE_URL}iCloud.png`, - }, - { - ...proxyGroupCommon, - name: "Telegram", - type: "select", - proxies: [...serviceProxyGroupProxies], - icon: `${ICON_BASE_URL}Telegram_X.png`, - }, { ...proxyGroupCommon, name: "Apple", @@ -311,6 +298,13 @@ const proxyGroups = [ proxies: [...serviceProxyGroupProxies], icon: `${ICON_BASE_URL}Apple_1.png`, }, + { + ...proxyGroupCommon, + name: "iCloud", + type: "select", + proxies: [...serviceProxyGroupProxies], + icon: `${ICON_BASE_URL}iCloud.png`, + }, { ...proxyGroupCommon, name: "Google", @@ -318,6 +312,13 @@ const proxyGroups = [ proxies: [...serviceProxyGroupProxies], icon: `${ICON_BASE_URL}Google_Search.png`, }, + { + ...proxyGroupCommon, + name: "Telegram", + type: "select", + proxies: [...serviceProxyGroupProxies], + icon: `${ICON_BASE_URL}Telegram_X.png`, + }, { ...proxyGroupCommon, name: "Others",