[ol]function main(config) {
config['rules'] = [
// 自定义规则
'PROCESS-NAME,WeChat.exe,DIRECT', // 微信
'DOMAIN-SUFFIX,adobe.io,DIRECT', // Adobe
'DOMAIN-SUFFIX,*.adobe.io,REJECT',
'DOMAIN-SUFFIX,adobestats.io,REJECT',
'DOMAIN-SUFFIX,photo-api.adobe.io,DIRECT',
'DOMAIN-SUFFIX,home.581019.xyz,jww',
'DOMAIN-KEYWORD,winget,jww',
'GEOSITE,CN,DIRECT',
'GEOIP,CN,DIRECT',
'GEOSITE,geolocation-!cn,jww',
'MATCH,jww'
]
config['proxy-groups'] = [
{
"name": "jww",
"type": "select",
"proxies": ["自动选择"],
"include-all-proxies": true,
"url": "https://www.google.com/generate_204",
},
{
"name": "自动选择",
"type": "url-test",
"include-all-proxies": true,
"url": "https://www.google.com/generate_204",
},
]
return config;
}[/ol]复制代码