分享 Clash Verge 小配置: Google / Gemini 独立线路分流

xyooyx 2026-08-21 17:48 1

最近 gemini 对线路卡的很严,我自己手头美国的线路都送中了,发现韩国的可以,但 cc 又得走美国线路,之前对 clash verge 都是比较浅使用,正好研究了下,脚本分享给需要的朋友。


function main(config, profileName) {
config.rules = config.rules || [];

// 移除旧的 google 规则
config.rules = config.rules.filter(r => !r.toLowerCase().includes('google'));

// 在最前面添加新的 google 规则
config.rules.unshift('DOMAIN-KEYWORD,google,🇰🇷韩國');//这里“🇰🇷韩國”实际换成你可行的线路

return config;
}
最新回复 (1)
  • supertan 08-22 10:10
    1
    币拿来吧你~

    [proxy-groups]
    节点选择
    xx 地区
    人工智能
    xx 分组

    [rule]
    'GEOSITE,category-ai-!cn,人工智能'

    或者
    'GEOSITE,google-gemini,人工智能',
    'GEOSITE,google,节点选择'

    geodata: https://github.com/MetaCubeX/meta-rules-dat/blob/meta/geo/geosite/
* 帖子来源V2EX
返回