mirror of
https://github.com/KOP-XIAO/QuantumultX.git
synced 2026-01-25 21:25:09 +00:00
update
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
; 2021-09-13:增加对各个模块的说明(某些内容只适用于 1.0.19 以上版本)
|
||||
; 2022-02-13:增加对各个模块的说明(某些内容只适用于 1.0.28 以上版本)
|
||||
;⚠️注意⚠️: 以下内容中,带“;” “#”的都是注释符号,去掉前面的符号,该行才有效
|
||||
|
||||
;general 模块内为一些通用的设置参数项
|
||||
@@ -22,7 +22,7 @@ geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://raw.githubuserc
|
||||
;running-mode-trigger 模式下,跟手动切换直连/全局代理 等效,rewrite/task 模块始终会生效,比 ssid 策略组设置简单,比 ssid-suspend 更灵活。
|
||||
|
||||
;running_mode_trigger=filter, filter, asus-5g:all_direct, asus: all_proxy
|
||||
; 上述写法,前两个 filter 表示 在 4G 网络跟一般 Wi-Fi 下,走 filter(分流)模式,asus-5g 则切换为全局直连,asus 切换为全局代理
|
||||
; 上述写法,前两个 filter 先后表示 在 4G 网络跟一般 Wi-Fi 下,走 filter(分流)模式,后面则表示在 asus-5g 下切换为全局直连,asus 切换为全局代理
|
||||
; 如需使用,相应 SSID 换成你自己 Wi-Fi 名即可
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ geo_location_checker=http://ip-api.com/json/?lang=zh-CN, https://raw.githubuserc
|
||||
;dns_exclusion_list=*.qq.com, qq.com
|
||||
|
||||
;UDP名单,留空则默认所有为端口。不在udp白名单列表中的端口,将被丢弃处理。
|
||||
;udp_whitelist=53, 123, 1900, 80-443
|
||||
;udp_whitelist=53, 80-427, 444-65535
|
||||
|
||||
# 参数 fallback_udp_policy 仅支持 v1.0.19 以及之后的版本。
|
||||
# 参数 fallback_udp_policy 的值仅支持末端策略(末端策略为经由规则模块和策略模块后所命中的策略,例如:direct、reject 以及节点;不支持内置策略 proxy 以及其它自定义策略)。
|
||||
@@ -82,16 +82,26 @@ server=/*.mi.com/119.29.29.29
|
||||
|
||||
|
||||
[task_local]
|
||||
;任务模块,可用于签到,天气话费查询等
|
||||
;js文件放于iCloud或者本机的Quantumult X/Scripts 路径下。TF版本可直接使用远程js链接
|
||||
;包含3⃣️种类型: cron 定时任务,UI交互脚本,网络切换脚本
|
||||
|
||||
2 12 * * * sample.js, tag=本地示范(左滑编辑,右滑执行), img-url=https://raw.githubusercontent.com/crossutility/Quantumult-X/master/quantumult-x.png
|
||||
13 12 * * * https://raw.githubusercontent.com/crossutility/Quantumult-X/master/sample-task.js, tag=远程示范(点击缓存/更新脚本), img-url=https://raw.githubusercontent.com/crossutility/Quantumult-X/master/quantumult-x.png
|
||||
; 1⃣️ 任务模块,可用于签到,天气话费查询等
|
||||
;js文件放于iCloud或者本机的Quantumult X/Scripts 路径下。TF版本可直接使用远程js链接
|
||||
;从 “分” 开始的5位cron 写法,具体 cron 表达式可自行 Google
|
||||
;比如上述语句 代表每天 12 点 2 分,自动执行一次;
|
||||
;tag参数为 task 命名标识;
|
||||
;img-url参数用于指定 task 的图标(108*108)
|
||||
|
||||
2 12 * * * sample.js, tag=本地示范(左滑编辑,右滑执行), enabled=false, img-url=https://raw.githubusercontent.com/crossutility/Quantumult-X/master/quantumult-x.png
|
||||
13 12 * * * https://raw.githubusercontent.com/crossutility/Quantumult-X/master/sample-task.js, tag=远程示范(点击缓存/更新脚本), enabled=false, img-url=https://raw.githubusercontent.com/crossutility/Quantumult-X/master/quantumult-x.png
|
||||
|
||||
# 2⃣️ UI交互查询脚本示范,在首页长按 节点/策略组 唤出
|
||||
event-interaction https://raw.githubusercontent.com/KOP-XIAO/QuantumultX/master/Scripts/streaming-ui-check.js, tag = 流媒体 - 解锁查询,img-url=checkmark.seal.system, enabled=true
|
||||
|
||||
# 3⃣️ 网络切换/变化时 触发的脚本类型
|
||||
;event-network sample-taks.js
|
||||
|
||||
|
||||
|
||||
|
||||
#以下为策略组[policy]部分
|
||||
# static 策略组中,你需要手动选择想要的节点/策略组。
|
||||
@@ -138,8 +148,8 @@ static= 🇭🇰️ 香港(正则示范), server-tag-regex= 香港|🇭🇰️|H
|
||||
https://raw.githubusercontent.com/crossutility/Quantumult-X/master/server.txt#rename=[香港], tag=示范(请先导入自己订阅/节点), update-interval=86400, opt-parser=true, img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Quantumult_X.png, enabled=true
|
||||
https://raw.githubusercontent.com/crossutility/Quantumult-X/master/server-complete.txt, tag=示范(导入后更新并删除示范), img-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Quantumult_X.png, enabled=true
|
||||
|
||||
#支持本地/iCloud的节点文件,位于Quantumult X/Profiles路径下
|
||||
;servers.txt, tag=本地服务器, img-url=https://raw.githubusercontent.com/crossutility/Quantumult-X/master/quantumult-x.png, enabled=false
|
||||
#支持本地/iCloud的节点文件/片段,位于Quantumult X/Profiles路径下
|
||||
;servers.snippet, tag=本地服务器, img-url=https://raw.githubusercontent.com/crossutility/Quantumult-X/master/quantumult-x.png, enabled=false
|
||||
|
||||
#规则分流远程订阅
|
||||
[filter_remote]
|
||||
@@ -208,9 +218,10 @@ https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrit
|
||||
;shadowsocks=ws-b.example.com:80, method=aes-128-gcm, password=pwd, obfs=ws, fast-open=false, udp-relay=false, tag=Sample-F
|
||||
;shadowsocks=ws-tls-a.example.com:443, method=aes-128-gcm, password=pwd, obfs=wss, obfs-uri=/ws, fast-open=false, udp-relay=false, tag=Sample-G
|
||||
|
||||
# vmess 类型,ws,wss(ws+tls),over-tls,tcp
|
||||
# vmess 类型,ws,wss(ws+tls),over-tls,tcp
|
||||
# vmess 类型节点默认开启 aead,关闭请用 aead=false
|
||||
; ws 类型
|
||||
;vmess=ws-c.example.com:80, method=chacha20-ietf-poly1305, password= 23ad6b10-8d1a-40f7-8ad0-e3e35cd32291, obfs-host=ws-c.example.com, obfs=ws, obfs-uri=/ws, fast-open=false, udp-relay=false, tag=Sample-H
|
||||
;vmess=ws-c.example.com:80, method=chacha20-ietf-poly1305, password= 23ad6b10-8d1a-40f7-8ad0-e3e35cd32291, obfs-host=ws-c.example.com, obfs=ws, obfs-uri=/ws, fast-open=false, udp-relay=false, aead=false, tag=Sample-H
|
||||
; wss(ws+tls) 类型
|
||||
;vmess=ws-tls-b.example.com:443, method=chacha20-ietf-poly1305, password= 23ad6b10-8d1a-40f7-8ad0-e3e35cd32291, obfs-host=ws-tls-b.example.com, obfs=wss, obfs-uri=/ws, tls-verification=true,fast-open=false, udp-relay=false, tag=Sample-I
|
||||
; http 类型
|
||||
@@ -226,7 +237,7 @@ https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrit
|
||||
;http=https.example.com:443, username=name, password=pwd, over-tls=true, tls-verification=true, tls-host=example.com, tls-verification=true, fast-open=false, udp-relay=false, tag=http-tls
|
||||
|
||||
; trojan 类型
|
||||
;trojan=example.com:443, password=pwd, over-tls=true, tls-verification=true, fast-open=false, udp-relay=false, tag=trojan-tls-01
|
||||
;trojan=example.com:443, password=pwd, over-tls=true, tls-verification=true, fast-open=false, udp-relay=true, tag=trojan-tls-01
|
||||
;trojan=192.168.1.1:443, password=pwd, over-tls=true, tls-host=example.com, tls-verification=true, fast-open=false, udp-relay=false, tag=trojan-tls-02
|
||||
|
||||
|
||||
@@ -244,6 +255,9 @@ ip-cidr, 224.0.0.0/24, direct
|
||||
# 已采用 ip 池数据,因此注释掉 geoip cn
|
||||
;geoip, cn, direct
|
||||
|
||||
# 1.0.28 build628 后支持如下的geoip库写法
|
||||
;geoip, netflix, proxy
|
||||
|
||||
#不在上述规则中(远程以及本地)的剩余请求,将走final 指定的节点/策略,这里即是 → 🕹 终极清单, 请根据自己的需求来选择直连或节点、策略
|
||||
final, 🕹 终极清单
|
||||
|
||||
|
||||
Reference in New Issue
Block a user