diff --git a/script.js b/script.js index c303e4f..a514f13 100644 --- a/script.js +++ b/script.js @@ -214,6 +214,49 @@ function main(config) { "include-all": true, icon: "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M18%2C1H6A5%2C5%2C0%2C0%2C0%2C1%2C6V18a5%2C5%2C0%2C0%2C0%2C5%2C5H18a5%2C5%2C0%2C0%2C0%2C5-5V6A5%2C5%2C0%2C0%2C0%2C18%2C1Zm3%2C17a3%2C3%2C0%2C0%2C1-3%2C3H6a3%2C3%2C0%2C0%2C1-3-3V6A3%2C3%2C0%2C0%2C1%2C6%2C3H18a3%2C3%2C0%2C0%2C1%2C3%2C3ZM18%2C7H12.82A3%2C3%2C0%2C0%2C0%2C7.18%2C7H6A1%2C1%2C0%2C0%2C0%2C6%2C9H7.18a3%2C3%2C0%2C0%2C0%2C5.64%2C0H18a1%2C1%2C0%2C0%2C0%2C0-2ZM10%2C9a1%2C1%2C0%2C1%2C1%2C1-1A1%2C1%2C0%2C0%2C1%2C10%2C9Zm8%2C6H16.82a3%2C3%2C0%2C0%2C0-5.64%2C0H6a1%2C1%2C0%2C0%2C0%2C0%2C2h5.18a3%2C3%2C0%2C0%2C0%2C5.64%2C0H18a1%2C1%2C0%2C0%2C0%2C0-2Zm-4%2C2a1%2C1%2C0%2C1%2C1%2C1-1A1%2C1%2C0%2C0%2C1%2C14%2C17Z%22%2F%3E%3C%2Fsvg%3E", }, + { + ...groupBaseOption, + name: "iCloud", + type: "select", + proxies: [ + "Proxy", + "Lowest latency", + "Fallback", + "Load balancing (Consistent hashing)", + "Load balancing (Round robin)", + "Direct", + ], + "include-all": true, + icon: "https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/icloud.svg", + }, + { + ...groupBaseOption, + name: "OpenAI", + type: "select", + proxies: [ + "Proxy", + "Lowest latency", + "Fallback", + "Load balancing (Consistent hashing)", + "Load balancing (Round robin)", + ], + "include-all": true, + icon: "https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/openai.svg", + }, + { + ...groupBaseOption, + name: "Telegram", + type: "select", + proxies: [ + "Proxy", + "Lowest latency", + "Fallback", + "Load balancing (Consistent hashing)", + "Load balancing (Round robin)", + ], + "include-all": true, + icon: "https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/telegram.svg", + }, { ...groupBaseOption, name: "bilibili", @@ -229,53 +272,6 @@ function main(config) { "include-all": true, icon: "https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/bilibili.svg", }, - { - ...groupBaseOption, - name: "Microsoft", - type: "select", - proxies: [ - "Proxy", - "Lowest latency", - "Fallback", - "Load balancing (Consistent hashing)", - "Load balancing (Round robin)", - "Direct", - ], - "include-all": true, - icon: "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M2%2022h9.5v-9.5H2V22zm0-10.5h9.5V2H2v9.5zM12.5%202v9.5H22V2h-9.5zm0%2020H22v-9.5h-9.5V22z%22%2F%3E%3C%2Fsvg%3E", - }, - { - ...groupBaseOption, - url: "https://chatgpt.com", - "expected-status": "200", - name: "OpenAI", - type: "select", - proxies: [ - "Proxy", - "Lowest latency", - "Fallback", - "Load balancing (Consistent hashing)", - "Load balancing (Round robin)", - "Direct", - ], - "include-all": true, - icon: "https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/openai.svg", - }, - { - ...groupBaseOption, - name: "Google", - type: "select", - proxies: [ - "Proxy", - "Lowest latency", - "Fallback", - "Load balancing (Consistent hashing)", - "Load balancing (Round robin)", - "Direct", - ], - "include-all": true, - icon: "https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/google.svg", - }, { ...groupBaseOption, name: "YouTube", @@ -286,26 +282,10 @@ function main(config) { "Fallback", "Load balancing (Consistent hashing)", "Load balancing (Round robin)", - "Direct", ], "include-all": true, icon: "https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/youtube.svg", }, - { - ...groupBaseOption, - name: "Telegram", - type: "select", - proxies: [ - "Proxy", - "Lowest latency", - "Fallback", - "Load balancing (Consistent hashing)", - "Load balancing (Round robin)", - "Direct", - ], - "include-all": true, - icon: "https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/telegram.svg", - }, { ...groupBaseOption, name: "Apple", @@ -323,7 +303,21 @@ function main(config) { }, { ...groupBaseOption, - name: "iCloud", + name: "Google", + type: "select", + proxies: [ + "Proxy", + "Lowest latency", + "Fallback", + "Load balancing (Consistent hashing)", + "Load balancing (Round robin)", + ], + "include-all": true, + icon: "https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/google.svg", + }, + { + ...groupBaseOption, + name: "Microsoft", type: "select", proxies: [ "Proxy", @@ -334,7 +328,7 @@ function main(config) { "Direct", ], "include-all": true, - icon: "https://cdn.jsdelivr.net/gh/simple-icons/simple-icons@develop/icons/icloud.svg", + icon: "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M2%2022h9.5v-9.5H2V22zm0-10.5h9.5V2H2v9.5zM12.5%202v9.5H22V2h-9.5zm0%2020H22v-9.5h-9.5V22z%22%2F%3E%3C%2Fsvg%3E", }, { ...groupBaseOption,