├── Conf
├── README.md
├── Spec
│ ├── Lite.conf
│ ├── Surge-Alpha.conf
│ ├── Surge-CN.conf
│ ├── Surge-Developer.conf
│ ├── Surge-EN.conf
│ ├── Surge-Family.conf
│ ├── Surge-Lite-EN.conf
│ ├── Surge-Mini.conf
│ └── Surge.conf
└── img
│ ├── 1.PNG
│ ├── 2.PNG
│ ├── 3.jpg
│ ├── 4.png
│ ├── 5.PNG
│ ├── 6.PNG
│ ├── 7.JPEG
│ └── 7.PNG
├── Module
├── Panel
│ ├── Flush-DNS
│ │ ├── Moore
│ │ │ ├── Flush-DNS.js
│ │ │ └── Flush-DNS.sgmodule
│ │ ├── README.md
│ │ └── img
│ │ │ └── FlushDNS.PNG
│ ├── Group-Panel
│ │ ├── Moore
│ │ │ ├── Group-Panel.js
│ │ │ └── Group-Panel.sgmodule
│ │ ├── README.md
│ │ └── img
│ │ │ └── Group-Panel.PNG
│ ├── IP-Check
│ │ ├── Moore
│ │ │ ├── IP-Check.js
│ │ │ └── IP-Check.sgmodule
│ │ ├── README.md
│ │ └── img
│ │ │ └── IP-Check.PNG
│ ├── Interface-Info
│ │ ├── Moore
│ │ │ ├── interface-info-ncompact.sgmodule
│ │ │ └── interface-info-normal.sgmodule
│ │ ├── README.md
│ │ └── img
│ │ │ ├── 1.PNG
│ │ │ └── 2.PNG
│ ├── Net-lsp-x
│ │ ├── Moore
│ │ │ └── net-lsp-x.sgmodule
│ │ ├── README.md
│ │ └── img
│ │ │ └── 1.PNG
│ ├── Network-Info
│ │ ├── Moore
│ │ │ ├── Network-Info.js
│ │ │ ├── Network-Info.sgmodule
│ │ │ └── Network-Info_test.js
│ │ ├── README.md
│ │ └── img
│ │ │ ├── Wi-Fi.PNG
│ │ │ └── cell.PNG
│ ├── Stream-All-Lite
│ │ ├── Moore
│ │ │ ├── Stream-Al-Lite.sgmodule
│ │ │ ├── Stream-All-Lite.js
│ │ │ └── Stream-All-Lite.sgmodule
│ │ ├── README.md
│ │ └── img
│ │ │ └── HK.PNG
│ ├── Stream-All
│ │ ├── Moore
│ │ │ ├── Stream-All-Mini.js
│ │ │ ├── Stream-All-Mini.sgmodule
│ │ │ ├── Stream-All.js
│ │ │ └── Stream-All.sgmodule
│ │ ├── README.md
│ │ └── img
│ │ │ └── HK.PNG
│ ├── Sub-info
│ │ ├── Moore
│ │ │ ├── Sub-info.js
│ │ │ ├── Sub-info.sgmodule
│ │ │ └── Sub-info_Max.sgmodule
│ │ ├── README.md
│ │ └── img
│ │ │ ├── 1.PNG
│ │ │ └── Sub_info.PNG
│ ├── Surge-Pro
│ │ ├── Moore
│ │ │ ├── SurgePro.js
│ │ │ └── SurgePro.sgmodule
│ │ ├── README.md
│ │ └── img
│ │ │ └── PRO.PNG
│ ├── Timecard
│ │ ├── Moore
│ │ │ ├── Timecard.js
│ │ │ └── Timecard.sgmodule
│ │ ├── README.md
│ │ └── img
│ │ │ └── Timecard.PNG
│ └── WARP
│ │ ├── README.md
│ │ └── img
│ │ └── 1.PNG
├── README.md
└── Spec
│ ├── Baidu_index
│ ├── Moore
│ │ ├── Baidu_index.sgmodule
│ │ └── index.js
│ ├── README.md
│ └── img
│ │ └── 1.PNG
│ ├── Bilibili-Login
│ ├── Moore
│ │ └── Bilibili-Login.sgmodule
│ ├── README.md
│ └── img
│ │ ├── 1.PNG
│ │ └── 2.PNG
│ ├── Bilibili
│ ├── Moore
│ │ └── Bilibili.sgmodule
│ ├── README.md
│ └── img
│ │ └── 1.PNG
│ ├── DNS-QUIC
│ ├── Moore
│ │ └── Ali-DoQ.sgmodule
│ ├── README.md
│ └── img
│ │ ├── 1.PNG
│ │ └── 2.PNG
│ ├── DoH
│ ├── Moore
│ │ ├── Ali-DoH.sgmodule
│ │ └── DNSPod-DoH.sgmodule
│ ├── README.md
│ └── img
│ │ ├── 1.PNG
│ │ └── 2.PNG
│ ├── General
│ ├── README.md
│ └── img
│ │ └── 1.PNG
│ ├── GoogleRewrite
│ ├── Moore
│ │ └── GoogleRewrite.sgmodule
│ ├── README.md
│ └── img
│ │ └── 1.PNG
│ ├── Hide-VPN-Icon
│ ├── Moore
│ │ └── Hide-VPN-Icon.sgmodule
│ ├── README.md
│ └── img
│ │ └── 1.PNG
│ ├── JD_Price
│ ├── Moore
│ │ ├── JD_Price-Lite.sgmodule
│ │ └── JD_Price.sgmodule
│ ├── README.md
│ └── img
│ │ ├── 1.PNG
│ │ └── 2.PNG
│ ├── Skip-Proxy
│ ├── README.md
│ └── img
│ │ └── 1.PNG
│ ├── Sub-Store
│ ├── Moore
│ │ ├── 12hours.sgmodule
│ │ ├── 24hours.sgmodule
│ │ ├── 6hours.sgmodule
│ │ └── Sub-Store.sgmodule
│ ├── README.md
│ └── img
│ │ ├── 1.PNG
│ │ ├── 2.PNG
│ │ └── Sub-Store.jpg
│ ├── TestFlight
│ ├── Moore
│ │ ├── TestFlight.sgmodule
│ │ ├── TestFlightAccount.js
│ │ └── TestFlightAccount.sgmodule
│ ├── README.md
│ └── img
│ │ └── 1.PNG
│ ├── Tieba
│ ├── Moore
│ │ └── Tieba.sgmodule
│ ├── README.md
│ └── img
│ │ └── 1.PNG
│ ├── Tieba_Checkin
│ ├── README.md
│ └── img
│ │ └── 1.PNG
│ ├── Weibo
│ ├── Moore
│ │ ├── Profile.js
│ │ ├── UserShow.js
│ │ ├── Weibo-Test.sgmodule
│ │ ├── Weibo.js
│ │ └── Weibo.sgmodule
│ ├── README.md
│ └── img
│ │ ├── 1.PNG
│ │ └── 2.PNG
│ ├── Zhihu
│ ├── README.md
│ └── img
│ │ └── 1.PNG
│ ├── macOS-Translate
│ ├── Moore
│ │ └── macOS-Translate.sgmodule
│ ├── README.md
│ └── img
│ │ ├── 1.png
│ │ └── 2.PNG
│ └── smzdm
│ ├── Moore
│ └── smzdm.sgmodule
│ ├── README.md
│ └── img
│ ├── 1.PNG
│ └── 2.PNG
└── README.md
/Conf/README.md:
--------------------------------------------------------------------------------
1 |
Surge自用配置文件
2 |
3 | 我自用的Surge配置文件
4 |
5 |
6 |
7 |
8 |
9 |
10 | ## 特点
11 | 1. 界面干净,整洁易懂。
12 | 2. 节点策略组使用故障转移,完美度过每次节点故障。
13 | 3. 根据我的使用需求定制的规则列表以及策略组名称。
14 | 4. 配置简单,只需要修改几个参数即可愉快的上网冲浪。
15 | 5. 使用外部规则以及外部节点,极大程度的避免规则失效以及非官方配置文件节点不能及时更新的问题。
16 | 6. 这是一份非常干净的配置文件,没有搞任何可能引起可用性冲突的配置参数,极大程度的减少各种误杀以及兼容问题。
17 |
18 | ## 如何使用
19 | ### 1. 安装环境
20 | **最低需要iOS 18 / macOS 15系统,否则可能会有兼容问题**
21 | Surge最低支持版本 :
22 | >**App Store 版 5.13.0(3310) 或更新版本**
23 | >**macOS 版 5.8.1(2929) 或更新版本**
24 | ### 2. 配置文件链接
25 | **开发者推荐最小配置**
26 | > **Developer :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Conf/Spec/Surge-Developer.conf
27 |
28 | **适合 Surge 5 卡片视图**
29 | > **完整版(英文) :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Conf/Spec/Surge-EN.conf
30 |
31 | > **轻量版(英文) :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Conf/Spec/Surge-Lite-EN.conf
32 |
33 | > **迷你版(英文) :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Conf/Spec/Surge-Mini.conf
34 |
35 | > **完整版(中文) :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Conf/Spec/Surge-CN.conf
36 |
37 | **适合 Surge 5 列表视图**
38 | > **完整版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Conf/Spec/Surge.conf
39 |
40 | > **轻量版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Conf/Spec/Lite.conf
41 |
42 | **适配两个机场订阅**
43 | > **Family :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/refs/heads/Master/Conf/Spec/Surge-Family.conf
44 |
45 | **广告拦截模块**
46 | > **Block ads :** https://raw.githubusercontent.com/thNylHx/Tools/refs/heads/main/Surge/Module/Blockads.sgmodule
47 |
48 | ### 3. 使用方式
49 | 复制配置链接 -> 打开 Surge -> 从URL下载配置 -> 粘贴链接 -> 在文本模式中编辑 -> 修改“外部节点”的对应参数 -> 完成!
50 |
51 |
52 |
53 |
54 |
55 | ## 注意事項
56 | 1. 一定要仔细阅读使用方式!
57 | 2. 一定要仔细阅读使用方式!
58 | 3. 一定要仔细阅读使用方式!
59 |
60 | ## 我用的机场
61 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
62 | [「Nexitally」佩奇家主站,一家全线中转线路的高端机场。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
63 | [「TAG」目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://482469.dedicated-afflink.com)
64 |
--------------------------------------------------------------------------------
/Conf/Spec/Lite.conf:
--------------------------------------------------------------------------------
1 | # > 深巷有喵的「Surge_Lite」配置
2 | # > 日期:2025-04-02
3 | # > 版本:3.7.1
4 | # > 配置作者:https://github.com/Rabbit-Spec/Surge
5 | # > 适用版本:iOS/macOS的Surge 5
6 |
7 | [General]
8 | # > 日志级别
9 | loglevel = notify
10 | show-error-page-for-reject = true
11 | # > 允许Wi-Fi访问
12 | allow-wifi-access = false
13 | # > All Hybrid 网络并发
14 | all-hybrid = false
15 | # > IPv6 支持(默认关闭)
16 | ipv6 = false
17 | # > IPv6 VIF(默认禁用)
18 | ipv6-vif = disabled
19 | # > 测试超时(秒)
20 | test-timeout = 2
21 | # > Internet 测试 URL
22 | internet-test-url = http://www.baidu.com
23 | # > 代理测速 URL
24 | proxy-test-url = http://connectivitycheck.gstatic.com/generate_204
25 | # > GeoIP数据库
26 | geoip-maxmind-url = https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb
27 | # > 排除简单主机名
28 | exclude-simple-hostnames = true
29 | # > DNS 服务器
30 | dns-server = 223.5.5.5, 119.29.29.29
31 | # > DNS 加密服务器
32 | encrypted-dns-server = https://223.5.5.5/dns-query
33 | # > DNS 劫持
34 | hijack-dns = 8.8.8.8:53, 8.8.4.4:53
35 | # > 从 /etc/hosts 读取 DNS 记录
36 | read-etc-hosts = true
37 | # > 远程控制器
38 | http-api-web-dashboard = true
39 | use-default-policy-if-wifi-not-primary = false
40 | # > 跳过代理
41 | skip-proxy = 192.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
42 | # > Always Real IP
43 | always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.battlenet.com.cn, *.battlenet.com, *.blzstatic.cn, *.battle.net, stun.ugreengroup.com
44 | # > 兼容模式(若需要使用Homekit摄像头,可以开启兼容模式,但开启兼容模式会导致一些屏蔽广告的模块失效,请自行取舍)
45 | # compatibility-mode = 5
46 | # > Surge VIF
47 | # tun-excluded-routes = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
48 | # tun-included-routes = 192.168.1.12/32
49 | # > 禁用 GEOIP 自动更新
50 | disable-geoip-db-auto-update = true
51 | # > 当节点不支持UDP时,默认fallback 到reject
52 | udp-policy-not-supported-behaviour = reject
53 |
54 | [Proxy]
55 | 🌐 全球直连 = direct
56 |
57 | [Proxy Group]
58 | # > 策略组(下面的节点信息需与外部节点对应,若删除了外部节点里的节点,那么在策略组里也要删除。)
59 | ✈️ 节点选择 = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, 🚀 我的节点
60 | 📲 电报信息 = select, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
61 | 🎬 国外媒体 = select, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
62 | 🎥 哔哩哔哩 = select, 🌐 全球直连, 🇭🇰 香港节点, 🇨🇳 台湾节点
63 | 📟 智能助理 = select, ✈️ 节点选择, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
64 | 🍟 谷歌服务 = select, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
65 | Ⓜ️ 微软服务 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
66 | 🍎 苹果服务 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
67 | 🎮 游戏平台 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
68 | # > 外部节点
69 | 🇭🇰 香港节点 = smart, include-other-group=🚀 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇭🇰)|(香港)|(Hong)|(HK)
70 | 🇺🇲 美国节点 = smart, include-other-group=🚀 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇺🇸)|(美国)|(States)|(US)
71 | 🇯🇵 日本节点 = smart, include-other-group=🚀 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇯🇵)|(日本)|(Japan)|(JP)
72 | 🇨🇳 台湾节点 = smart, include-other-group=🚀 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇨🇳)|(台湾)|(Tai)|(TW)
73 | 🇰🇷 韩国节点 = smart, include-other-group=🚀 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇰🇷)|(韩国)|(Korea)|(KR)
74 | 🇸🇬 新加坡节点 = smart, include-other-group=🚀 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇸🇬)|(新加坡)|(Singapore)|(SG)
75 | 🚀 我的节点 = select, policy-path=你的订阅地址, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0
76 |
77 | [Rule]
78 | # > 广告拦截
79 | # DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject.conf,REJECT
80 | # RULE-SET,https://ruleset.skk.moe/List/non_ip/reject.conf,REJECT,extended-matching
81 | # > 智能助理
82 | RULE-SET,https://raw.githubusercontent.com/EAlyce/conf/refs/heads/main/Rule/OpenAI.list,📟 智能助理
83 | # > 苹果服务
84 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple_All_No_Resolve.list,🍎 苹果服务
85 | # > GitHub
86 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GitHub/GitHub.list,✈️ 节点选择,no-resolve
87 | # > 微软服务
88 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Microsoft/Microsoft.list,Ⓜ️ 微软服务
89 | # > 社交平台
90 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Telegram/Telegram.list,📲 电报信息
91 | # > 游戏平台
92 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Epic/Epic.list,🎮 游戏平台
93 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Sony/Sony.list,🎮 游戏平台
94 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Steam/Steam.list,🎮 游戏平台
95 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Nintendo/Nintendo.list,🎮 游戏平台
96 | # > 流媒体
97 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/BiliBili/BiliBili.list,🎥 哔哩哔哩
98 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GlobalMedia/GlobalMedia_All_No_Resolve.list,🎬 国外媒体
99 | # > 谷歌服务
100 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Google/Google.list,🍟 谷歌服务
101 | # > Proxy
102 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy_All_No_Resolve.list,✈️ 节点选择,extended-matching
103 | # > China
104 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMax/ChinaMax_All.list,🌐 全球直连,extended-matching
105 | # > 局域网地址
106 | RULE-SET,LAN,🌐 全球直连
107 | # > DNS 查询失败走 Final 规则
108 | FINAL,✈️ 节点选择,dns-failed
109 |
--------------------------------------------------------------------------------
/Conf/Spec/Surge-Alpha.conf:
--------------------------------------------------------------------------------
1 | # 深巷有喵的「Surge_Alpha」配置
2 | # 日期:2024-10-02
3 | # 版本:3.5.2
4 | # 配置作者:https://github.com/Rabbit-Spec/Surge
5 | # 适用版本:iOS/macOS的Surge 5
6 |
7 | [General]
8 | # > 日志级别
9 | loglevel = notify
10 | show-error-page-for-reject = true
11 | # > 允许Wi-Fi访问
12 | allow-wifi-access = false
13 | # > All Hybrid 网络并发
14 | all-hybrid = false
15 | # > IPv6 支持(默认关闭)
16 | ipv6 = false
17 | # > IPv6 VIF(默认禁用)
18 | ipv6-vif = disabled
19 | # > 测试超时(秒)
20 | test-timeout = 2
21 | # > Internet 测试 URL
22 | internet-test-url = http://www.baidu.com
23 | # > 代理测速 URL
24 | proxy-test-url = http://www.apple.com/library/test/success.html
25 | # > GeoIP数据库
26 | geoip-maxmind-url = https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb
27 | # > 排除简单主机名
28 | exclude-simple-hostnames = true
29 | # > DNS 服务器
30 | dns-server = 223.5.5.5, 119.29.29.29
31 | # > DNS 加密服务器
32 | encrypted-dns-server = https://223.5.5.5/dns-query
33 | # > DNS 劫持
34 | hijack-dns = 8.8.8.8:53, 8.8.4.4:53
35 | # > 从 /etc/hosts 读取 DNS 记录
36 | read-etc-hosts = true
37 | # > 远程控制器
38 | http-api-web-dashboard = true
39 | use-default-policy-if-wifi-not-primary = false
40 | # > 跳过代理
41 | skip-proxy = 192.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
42 | # > Always Real IP
43 | always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.battlenet.com.cn, *.battlenet.com, *.blzstatic.cn, *.battle.net
44 | # > 兼容模式(若需要使用Homekit摄像头,可以开启兼容模式,但开启兼容模式会导致一些屏蔽广告的模块失效,请自行取舍)
45 | # compatibility-mode = 5
46 | # > Surge VIF
47 | # tun-excluded-routes = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
48 | # tun-included-routes = 192.168.1.12/32
49 | # > 禁用 GEOIP 自动更新
50 | disable-geoip-db-auto-update = false
51 | # > 当节点不支持UDP时,默认fallback 到reject
52 | udp-policy-not-supported-behaviour = reject
53 |
54 | [Proxy Group]
55 | # > 策略组(下面的节点信息需与外部节点对应,若删除了外部节点里的节点,那么在策略组里也要删除。)
56 | Proxy = select, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, ✈️ 我的节点, icon-url=https://raw.githubusercontent.com/Irrucky/Tool/main/Surge/icon/surge_2.png
57 | Apple = select, DIRECT, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/Apple_Arcade.png
58 | OpenAI = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/chxm1023/ChatGPT5.png
59 | Telegram = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/erdongchanyo/Telegram.png
60 | Netflix = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Netflix.png
61 | Disney+ = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Disney.png
62 | YouTube = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/youtube.png
63 | Spotify = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/spotify.png
64 | TikTok = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/tiktok.png
65 | BiliBili = select, DIRECT, 🇭🇰 香港节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/bilibili.png
66 | GlobalMedia = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/HKMTMedia.png
67 | Microsoft = select, DIRECT, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Windows_11.png
68 | Gamer = select, DIRECT, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Game.png
69 |
70 | # > 外部节点
71 | 🇭🇰 香港节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇭🇰)|(香港)|(Hong)|(HK), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Hong_Kong.png
72 |
73 | 🇺🇸 美国节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇺🇸)|(美国)|(States)|(US), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/United_States.png
74 |
75 | 🇯🇵 日本节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇯🇵)|(日本)|(Japan)|(JP), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Japan.png
76 |
77 | 🇨🇳 台湾节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇨🇳)|(台湾)|(Tai)|(TW), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/China.png
78 |
79 | 🇰🇷 韩国节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇰🇷)|(韩国)|(Korea)|(KR), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/South_Korea.png
80 |
81 | 🇸🇬 新加坡节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇸🇬)|(新加坡)|(Singapore)|(SG), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Singapore.png
82 |
83 | ✈️ 我的节点 = select, policy-path=你的订阅地址, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Final.png
84 |
85 | [Rule]
86 | # > Anti-AD
87 | # DOMAIN-SET,https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-surge2.txt,REJECT,extended-matching
88 | # > 苹果服务
89 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple_All_No_Resolve.list,Apple
90 | # > OpenAI
91 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/OpenAI/OpenAI.list,OpenAI
92 | # > GitHub
93 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GitHub/GitHub.list,Proxy
94 | # > 微软服务
95 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Microsoft/Microsoft.list,Microsoft
96 | # > 社交平台
97 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Telegram/Telegram.list,Telegram
98 | # > 游戏平台
99 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Epic/Epic.list,Gamer
100 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Sony/Sony.list,Gamer
101 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Steam/Steam.list,Gamer
102 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Nintendo/Nintendo.list,Gamer
103 | # > 流媒体
104 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/YouTube/YouTube.list,YouTube
105 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Netflix/Netflix.list,Netflix
106 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Disney/Disney.list,Disney+
107 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Spotify/Spotify.list,Spotify
108 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/TikTok/TikTok.list,TikTok
109 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/BiliBili/BiliBili.list,BiliBili
110 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMedia/ChinaMedia.list,DIRECT
111 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GlobalMedia/GlobalMedia_All_No_Resolve.list,GlobalMedia
112 | # > Proxy
113 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy_All_No_Resolve.list,Proxy,extended-matching
114 | # > China
115 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMax/ChinaMax_All.list,DIRECT,extended-matching
116 | # > 局域网地址
117 | RULE-SET,LAN,DIRECT
118 | # > DNS 查询失败走Final规则
119 | FINAL,Proxy,dns-failed
--------------------------------------------------------------------------------
/Conf/Spec/Surge-CN.conf:
--------------------------------------------------------------------------------
1 | # > 深巷有喵的「Surge_CN」配置
2 | # > 日期:2025-04-02
3 | # > 版本:3.7.1
4 | # > 配置作者:https://github.com/Rabbit-Spec/Surge
5 | # > 适用版本:iOS/macOS的Surge 5
6 |
7 |
8 | [General]
9 | # > 日志级别
10 | loglevel = notify
11 | show-error-page-for-reject = true
12 | # > 允许Wi-Fi访问
13 | allow-wifi-access = false
14 | # > All Hybrid 网络并发
15 | all-hybrid = false
16 | # > IPv6 支持(默认关闭)
17 | ipv6 = false
18 | # > IPv6 VIF(默认禁用)
19 | ipv6-vif = disabled
20 | # > 测试超时(秒)
21 | test-timeout = 2
22 | # > Internet 测试 URL
23 | internet-test-url = http://www.baidu.com
24 | # > 代理测速 URL
25 | proxy-test-url = http://connectivitycheck.gstatic.com/generate_204
26 | # > GeoIP数据库
27 | geoip-maxmind-url = https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb
28 | # > 排除简单主机名
29 | exclude-simple-hostnames = true
30 | # > DNS 服务器
31 | dns-server = 223.5.5.5, 119.29.29.29
32 | # > DNS 加密服务器
33 | encrypted-dns-server = https://223.5.5.5/dns-query
34 | # > DNS 劫持
35 | hijack-dns = 8.8.8.8:53, 8.8.4.4:53
36 | # > 从 /etc/hosts 读取 DNS 记录
37 | read-etc-hosts = true
38 | # > 远程控制器
39 | http-api-web-dashboard = true
40 | use-default-policy-if-wifi-not-primary = false
41 | # > 跳过代理
42 | skip-proxy = 192.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
43 | # > Always Real IP
44 | always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.battlenet.com.cn, *.battlenet.com, *.blzstatic.cn, *.battle.net, stun.ugreengroup.com
45 | # > 兼容模式(若需要使用Homekit摄像头,可以开启兼容模式,但开启兼容模式会导致一些屏蔽广告的模块失效,请自行取舍)
46 | # compatibility-mode = 5
47 | # > Surge VIF
48 | # tun-excluded-routes = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
49 | # tun-included-routes = 192.168.1.12/32
50 | # > 禁用 GEOIP 自动更新
51 | disable-geoip-db-auto-update = true
52 | # > 当节点不支持UDP时,默认fallback 到reject
53 | udp-policy-not-supported-behaviour = reject
54 |
55 | [Proxy Group]
56 | # > 策略组(下面的节点信息需与外部节点对应,若删除了外部节点里的节点,那么在策略组里也要删除。)
57 | 节点选择 = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, ✈️ 我的节点, icon-url=https://raw.githubusercontent.com/Irrucky/Tool/main/Surge/icon/surge_2.png
58 | 谷歌服务 = select, 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/lige47/QuanX-icon-rule/main/icon/google(1).png
59 | 苹果服务 = select, DIRECT, 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Apple_1.png
60 | 电报信息 = select, 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Telegram.png
61 | 奈飞视频 = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Netflix.png
62 | 迪士尼+ = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Disney.png
63 | 油管视频 = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/YouTube.png
64 | 哔哩哔哩 = select, DIRECT, 🇭🇰 香港节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/bilibili.png
65 | 国外媒体 = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/ForeignMedia.png
66 | 国内媒体 = select, DIRECT, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/iQIYI&bilibili.png
67 | 微软服务 = select, DIRECT, 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Windows_11.png
68 | 游戏平台 = select, DIRECT, 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Game.png
69 | 智能助理 = select, 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/chxm1023/ChatGPT5.png
70 |
71 | # > 外部节点
72 | 🇭🇰 香港节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇭🇰)|(香港)|(Hong)|(HK), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Hong_Kong.png
73 |
74 | 🇺🇲 美国节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇺🇸)|(美国)|(States)|(US), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/United_States.png
75 |
76 | 🇯🇵 日本节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇯🇵)|(日本)|(Japan)|(JP), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Japan.png
77 |
78 | 🇨🇳 台湾节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇨🇳)|(台湾)|(Tai)|(TW), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/China.png
79 |
80 | 🇸🇬 新加坡节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇸🇬)|(新加坡)|(Singapore)|(SG), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Singapore.png
81 |
82 | ✈️ 我的节点 = select, policy-path=你的订阅地址, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Final.png
83 |
84 | [Rule]
85 | # > 广告拦截
86 | # DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject.conf,REJECT
87 | # RULE-SET,https://ruleset.skk.moe/List/non_ip/reject.conf,REJECT,extended-matching
88 | # > 智能助理
89 | RULE-SET,https://raw.githubusercontent.com/EAlyce/conf/refs/heads/main/Rule/OpenAI.list,智能助理
90 | # > 苹果服务
91 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple_All_No_Resolve.list,苹果服务
92 | # > GitHub
93 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GitHub/GitHub.list,节点选择,no-resolve
94 | # > 微软服务
95 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Microsoft/Microsoft.list,微软服务
96 | # > 社交平台
97 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Telegram/Telegram.list,电报信息
98 | # > 游戏平台
99 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Epic/Epic.list,游戏平台
100 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Sony/Sony.list,游戏平台
101 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Steam/Steam.list,游戏平台
102 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Nintendo/Nintendo.list,游戏平台
103 | # > 流媒体
104 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/YouTube/YouTube.list,油管视频
105 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Netflix/Netflix.list,奈飞视频
106 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Disney/Disney.list,迪士尼+
107 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/BiliBili/BiliBili.list,哔哩哔哩
108 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMedia/ChinaMedia.list,国内媒体
109 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GlobalMedia/GlobalMedia_All_No_Resolve.list,国外媒体
110 | # > 谷歌服务
111 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Google/Google.list,谷歌服务,no-resolve
112 | # > Proxy
113 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy_All_No_Resolve.list,节点选择
114 | # > China
115 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMax/ChinaMax_All.list,DIRECT,extended-matching
116 | # > 局域网地址
117 | RULE-SET,LAN,DIRECT
118 | # > DNS 查询失败走 Final 规则
119 | FINAL,节点选择,dns-failed
120 |
--------------------------------------------------------------------------------
/Conf/Spec/Surge-Developer.conf:
--------------------------------------------------------------------------------
1 | # 深巷有喵的「Surge_Developer」配置
2 | # 日期:2024-10-01
3 | # 版本:3.5.1
4 | # 配置作者:https://github.com/Rabbit-Spec/Surge
5 | # 适用版本:iOS/macOS的Surge 5
6 |
7 | [General]
8 | # > Wi-Fi助理
9 | wifi-assist = true
10 | # > IPv6 支持(默认关闭,如无特殊需求不应开启 IPv6,目前网络环境下 IPv6 只会带来问题。)
11 | ipv6 = false
12 | # > 跳过代理
13 | skip-proxy = 192.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
14 | # > 排除简单主机名
15 | exclude-simple-hostnames = true
16 | # > 测试超时(秒)
17 | test-timeout = 2
18 | # > Internet 测试 URL
19 | internet-test-url = http://www.baidu.com
20 | # > 代理测速 URL
21 | proxy-test-url = http://www.apple.com/library/test/success.html
22 | # > DNS 服务器
23 | dns-server = 223.5.5.5, 114.114.114.114
24 | # > DNS 加密服务器(除非当地 ISP 有严重的 DNS 污染问题,否则没必要开启 DoH,传统 DNS 的性能最优,网络异常后恢复速度最快。)
25 | # encrypted-dns-server = h3://223.5.5.5/dns-query
26 |
27 | [Proxy Group]
28 | Proxy = select, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, 🇸🇬 新加坡节点, ✈️ 我的节点, icon-url=https://raw.githubusercontent.com/Irrucky/Tool/main/Surge/icon/surge_2.png
29 |
30 | # > 外部节点
31 | 🇭🇰 香港节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇭🇰)|(香港)|(Hong)|(HK), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Hong_Kong.png
32 |
33 | 🇺🇸 美国节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇺🇸)|(美国)|(States)|(US), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/United_States.png
34 |
35 | 🇯🇵 日本节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇯🇵)|(日本)|(Japan)|(JP), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Japan.png
36 |
37 | 🇨🇳 台湾节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇨🇳)|(台湾)|(Tai)|(TW), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/China.png
38 |
39 | 🇸🇬 新加坡节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇸🇬)|(新加坡)|(Singapore)|(SG), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Singapore.png
40 |
41 | ✈️ 我的节点 = select, policy-path=你的订阅地址, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Final.png
42 |
43 | [Rule]
44 | RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/blocked.list,Proxy
45 | RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/cn.list,DIRECT
46 | DOMAIN,apps.apple.com,Proxy
47 | DOMAIN-SUFFIX,ls.apple.com,DIRECT // Apple Maps
48 | DOMAIN-SUFFIX,store.apple.com,DIRECT // Apple Store Online
49 | RULE-SET,SYSTEM,Proxy
50 | RULE-SET,https://github.com/Blankwonder/surge-list/raw/master/apple.list,Proxy
51 | # 以下规则将触发本地 DNS 解析
52 | RULE-SET,LAN,DIRECT
53 | GEOIP,CN,DIRECT
54 | FINAL,Proxy,dns-failed
--------------------------------------------------------------------------------
/Conf/Spec/Surge-EN.conf:
--------------------------------------------------------------------------------
1 | # > 深巷有喵的「Surge_EN」配置
2 | # > 日期:2025-04-02
3 | # > 版本:3.7.1
4 | # > 配置作者:https://github.com/Rabbit-Spec/Surge
5 | # > 适用版本:iOS/macOS的Surge 5
6 |
7 | [General]
8 | # > 日志级别
9 | loglevel = notify
10 | show-error-page-for-reject = true
11 | # > 允许Wi-Fi访问
12 | allow-wifi-access = false
13 | # > All Hybrid 网络并发
14 | all-hybrid = false
15 | # > IPv6 支持(默认关闭)
16 | ipv6 = false
17 | # > IPv6 VIF(默认禁用)
18 | ipv6-vif = disabled
19 | # > 测试超时(秒)
20 | test-timeout = 2
21 | # > Internet 测试 URL
22 | internet-test-url = http://www.baidu.com
23 | # > 代理测速 URL
24 | proxy-test-url = http://connectivitycheck.gstatic.com/generate_204
25 | # > GeoIP数据库
26 | geoip-maxmind-url = https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb
27 | # > 排除简单主机名
28 | exclude-simple-hostnames = true
29 | # > DNS 服务器
30 | dns-server = 223.5.5.5, 119.29.29.29
31 | # > DNS 加密服务器
32 | encrypted-dns-server = https://223.5.5.5/dns-query
33 | # > DNS 劫持
34 | hijack-dns = 8.8.8.8:53, 8.8.4.4:53
35 | # > 从 /etc/hosts 读取 DNS 记录
36 | read-etc-hosts = true
37 | # > 远程控制器
38 | http-api-web-dashboard = true
39 | use-default-policy-if-wifi-not-primary = false
40 | # > 跳过代理
41 | skip-proxy = 192.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
42 | # > Always Real IP
43 | always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.battlenet.com.cn, *.battlenet.com, *.blzstatic.cn, *.battle.net, stun.ugreengroup.com
44 | # > 兼容模式(若需要使用Homekit摄像头,可以开启兼容模式,但开启兼容模式会导致一些屏蔽广告的模块失效,请自行取舍)
45 | # compatibility-mode = 5
46 | # > Surge VIF
47 | # tun-excluded-routes = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
48 | # tun-included-routes = 192.168.1.12/32
49 | # > 禁用 GEOIP 自动更新
50 | disable-geoip-db-auto-update = true
51 | # > 当节点不支持UDP时,默认fallback 到reject
52 | udp-policy-not-supported-behaviour = reject
53 |
54 | [Proxy Group]
55 | # > 策略组(下面的节点信息需与外部节点对应,若删除了外部节点里的节点,那么在策略组里也要删除。)
56 | Proxy = select, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇨🇳 台湾节点, 🇸🇬 新加坡节点, ✈️ 我的节点, icon-url=https://raw.githubusercontent.com/Irrucky/Tool/main/Surge/icon/surge_2.png
57 | Apple = select, DIRECT, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/Apple_Arcade.png
58 | Intelligence = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/chxm1023/ChatGPT5.png
59 | Telegram = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/erdongchanyo/Telegram.png
60 | Netflix = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Netflix.png
61 | Disney+ = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Disney.png
62 | YouTube = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/youtube.png
63 | Spotify = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/spotify.png
64 | TikTok = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/tiktok.png
65 | BiliBili = select, DIRECT, 🇭🇰 香港节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/bilibili.png
66 | GlobalMedia = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/HKMTMedia.png
67 | Microsoft = select, DIRECT, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Windows_11.png
68 | Gamer = select, DIRECT, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Game.png
69 |
70 | # > 外部节点
71 | 🇭🇰 香港节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇭🇰)|(香港)|(Hong)|(HK), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Hong_Kong.png
72 |
73 | 🇺🇸 美国节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇺🇸)|(美国)|(States)|(US), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/United_States.png
74 |
75 | 🇯🇵 日本节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇯🇵)|(日本)|(Japan)|(JP), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Japan.png
76 |
77 | 🇨🇳 台湾节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇨🇳)|(台湾)|(Tai)|(TW), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/China.png
78 |
79 | 🇰🇷 韩国节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇰🇷)|(韩国)|(Korea)|(KR), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/South_Korea.png
80 |
81 | 🇸🇬 新加坡节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇸🇬)|(新加坡)|(Singapore)|(SG), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Singapore.png
82 |
83 | ✈️ 我的节点 = select, policy-path=你的订阅地址, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Final.png
84 |
85 | [Rule]
86 | # > 广告拦截
87 | # DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject.conf,REJECT
88 | # RULE-SET,https://ruleset.skk.moe/List/non_ip/reject.conf,REJECT,extended-matching
89 | # > 智能助理
90 | RULE-SET,https://raw.githubusercontent.com/EAlyce/conf/refs/heads/main/Rule/OpenAI.list,Intelligence
91 | # > 苹果服务
92 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple_All_No_Resolve.list,Apple
93 | # > GitHub
94 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GitHub/GitHub.list,Proxy,no-resolve
95 | # > 微软服务
96 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Microsoft/Microsoft.list,Microsoft
97 | # > 社交平台
98 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Telegram/Telegram.list,Telegram
99 | # > 游戏平台
100 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Epic/Epic.list,Gamer
101 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Sony/Sony.list,Gamer
102 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Steam/Steam.list,Gamer
103 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Nintendo/Nintendo.list,Gamer
104 | # > 流媒体
105 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/YouTube/YouTube.list,YouTube
106 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Netflix/Netflix.list,Netflix
107 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Disney/Disney.list,Disney+
108 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Spotify/Spotify.list,Spotify
109 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/TikTok/TikTok.list,TikTok
110 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/BiliBili/BiliBili.list,BiliBili
111 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMedia/ChinaMedia.list,DIRECT
112 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GlobalMedia/GlobalMedia_All_No_Resolve.list,GlobalMedia
113 | # > Proxy
114 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy_All_No_Resolve.list,Proxy,extended-matching
115 | # > China
116 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMax/ChinaMax_All.list,DIRECT,extended-matching
117 | # > 局域网地址
118 | RULE-SET,LAN,DIRECT
119 | # > DNS 查询失败走Final规则
120 | FINAL,Proxy,dns-failed
--------------------------------------------------------------------------------
/Conf/Spec/Surge-Family.conf:
--------------------------------------------------------------------------------
1 | # > 深巷有喵的「Surge_Family」配置
2 | # > 日期:2025-04-02
3 | # > 版本:3.7.1
4 | # > 配置作者:https://github.com/Rabbit-Spec/Surge
5 | # > 适用版本:iOS/macOS的Surge 5
6 |
7 | [General]
8 | # > 日志级别
9 | loglevel = notify
10 | show-error-page-for-reject = true
11 | # > 允许Wi-Fi访问
12 | allow-wifi-access = false
13 | # > All Hybrid 网络并发
14 | all-hybrid = false
15 | # > IPv6 支持(默认关闭)
16 | ipv6 = false
17 | # > IPv6 VIF(默认禁用)
18 | ipv6-vif = disabled
19 | # > 测试超时(秒)
20 | test-timeout = 2
21 | # > Internet 测试 URL
22 | internet-test-url = http://www.baidu.com
23 | # > 代理测速 URL
24 | proxy-test-url = http://connectivitycheck.gstatic.com/generate_204
25 | # > GeoIP数据库
26 | geoip-maxmind-url = https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb
27 | # > 排除简单主机名
28 | exclude-simple-hostnames = true
29 | # > DNS 服务器
30 | dns-server = 223.5.5.5, 119.29.29.29
31 | # > DNS 加密服务器
32 | encrypted-dns-server = https://223.5.5.5/dns-query
33 | # > DNS 劫持
34 | hijack-dns = 8.8.8.8:53, 8.8.4.4:53
35 | # > 从 /etc/hosts 读取 DNS 记录
36 | read-etc-hosts = true
37 | # > 远程控制器
38 | http-api-web-dashboard = true
39 | use-default-policy-if-wifi-not-primary = false
40 | # > 跳过代理
41 | skip-proxy = 192.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
42 | # > Always Real IP
43 | always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.battlenet.com.cn, *.battlenet.com, *.blzstatic.cn, *.battle.net, stun.ugreengroup.com
44 | # > 兼容模式(若需要使用Homekit摄像头,可以开启兼容模式,但开启兼容模式会导致一些屏蔽广告的模块失效,请自行取舍)
45 | # compatibility-mode = 5
46 | # > Surge VIF
47 | # tun-excluded-routes = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
48 | # tun-included-routes = 192.168.1.12/32
49 | # > 禁用 GEOIP 自动更新
50 | disable-geoip-db-auto-update = true
51 | # > 当节点不支持UDP时,默认fallback 到reject
52 | udp-policy-not-supported-behaviour = reject
53 |
54 | [Proxy Group]
55 | # > 策略组(下面的节点信息需与外部节点对应,若删除了外部节点里的节点,那么在策略组里也要删除。)
56 | Proxy = select, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇸🇬 新加坡节点, ✈️ 主力机场, 🚀 备用机场, icon-url=https://raw.githubusercontent.com/Irrucky/Tool/main/Surge/icon/surge_2.png
57 | Apple = select, DIRECT, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/Apple_Arcade.png
58 | Intelligence = select, Proxy, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/chxm1023/ChatGPT5.png
59 | Telegram = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/erdongchanyo/Telegram.png
60 | Netflix = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Netflix.png
61 | Disney+ = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Disney.png
62 | YouTube = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/youtube.png
63 | Spotify = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/spotify.png
64 | TikTok = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/tiktok.png
65 | BiliBili = select, DIRECT, 🇭🇰 香港节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/bilibili.png
66 | GlobalMedia = select, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/HKMTMedia.png
67 | Microsoft = select, DIRECT, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Windows_11.png
68 | Google = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Google_Search.png
69 | Gamer = select, DIRECT, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/lige47/game.png
70 |
71 | # > 外部节点
72 | 🇭🇰 香港节点 = select, 主力香港节点, 备用香港节点, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Hong_Kong.png
73 |
74 | 🇺🇸 美国节点 = select, 主力美国节点, 备用美国节点, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/United_States.png
75 |
76 | 🇯🇵 日本节点 = select, 主力日本节点, 备用日本节点, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Japan.png
77 |
78 | 🇨🇳 台湾节点 = select, 主力台湾节点, 备用台湾节点, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/China.png
79 |
80 | 🇰🇷 韩国节点 = select, 主力韩国节点, 备用韩国节点, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/South_Korea.png
81 |
82 | 🇸🇬 新加坡节点 = select, 主力新加坡节点, 备用新加坡节点, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Singapore.png
83 |
84 | ✈️ 主力机场 = select, policy-path=你的订阅地址, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Final.png
85 |
86 | 🚀 备用机场 = select, policy-path=你的订阅地址, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Streaming.png
87 |
88 | 主力香港节点 = smart, no-alert=0, hidden=1, include-all-proxies=0, include-other-group=✈️ 主力机场, policy-regex-filter=(🇭🇰)|(香港)|(Hong)|(HK)
89 | 主力美国节点 = smart, no-alert=0, hidden=1, include-all-proxies=0, include-other-group=✈️ 主力机场, policy-regex-filter=(🇺🇸)|(美国)|(States)|(US)
90 | 主力日本节点 = smart, no-alert=0, hidden=1, include-all-proxies=0, include-other-group=✈️ 主力机场, policy-regex-filter=(🇯🇵)|(日本)|(Japan)|(JP)
91 | 主力台湾节点 = smart, no-alert=0, hidden=1, include-all-proxies=0, include-other-group=✈️ 主力机场, policy-regex-filter=(🇨🇳)|(台湾)|(Tai)|(TW)
92 | 主力韩国节点 = smart, no-alert=0, hidden=1, include-all-proxies=0, include-other-group=✈️ 主力机场, policy-regex-filter=(🇰🇷)|(韩国)|(Korea)|(KR)
93 | 主力新加坡节点 = smart, no-alert=0, hidden=1, include-all-proxies=0, include-other-group=✈️ 主力机场, policy-regex-filter=(🇸🇬)|(新加坡)|(Singapore)|(SG)
94 | 备用香港节点 = smart, no-alert=0, hidden=1, include-all-proxies=0, include-other-group=🚀 备用机场, policy-regex-filter=(🇭🇰)|(香港)|(Hong)|(HK)
95 | 备用美国节点 = smart, no-alert=0, hidden=1, include-all-proxies=0, include-other-group=🚀 备用机场, policy-regex-filter=(🇺🇸)|(美国)|(States)|(US)
96 | 备用日本节点 = smart, no-alert=0, hidden=1, include-all-proxies=0, include-other-group=🚀 备用机场, policy-regex-filter=(🇯🇵)|(日本)|(Japan)|(JP)
97 | 备用台湾节点 = smart, no-alert=0, hidden=1, include-all-proxies=0, include-other-group=🚀 备用机场, policy-regex-filter=(🇨🇳)|(台湾)|(Tai)|(TW)
98 | 备用韩国节点 = smart, no-alert=0, hidden=1, include-all-proxies=0, include-other-group=🚀 备用机场, policy-regex-filter=(🇰🇷)|(韩国)|(Korea)|(KR)
99 | 备用新加坡节点 = smart, no-alert=0, hidden=1, include-all-proxies=0, include-other-group=🚀 备用机场, policy-regex-filter=(🇸🇬)|(新加坡)|(Singapore)|(SG)
100 |
101 | [Rule]
102 | # > 广告拦截
103 | # DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject.conf,REJECT
104 | # RULE-SET,https://ruleset.skk.moe/List/non_ip/reject.conf,REJECT,extended-matching
105 | # > 智能助理
106 | RULE-SET,https://raw.githubusercontent.com/EAlyce/conf/refs/heads/main/Rule/OpenAI.list,Intelligence
107 | # > 苹果服务
108 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple_All_No_Resolve.list,Apple
109 | # > GitHub
110 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GitHub/GitHub.list,Proxy,no-resolve
111 | # > 微软服务
112 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Microsoft/Microsoft.list,Microsoft
113 | # > 社交平台
114 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Telegram/Telegram.list,Telegram
115 | # > 游戏平台
116 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Epic/Epic.list,Gamer
117 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Sony/Sony.list,Gamer
118 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Steam/Steam.list,Gamer
119 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Nintendo/Nintendo.list,Gamer
120 | # > 流媒体
121 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/YouTube/YouTube.list,YouTube
122 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Netflix/Netflix.list,Netflix
123 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Disney/Disney.list,Disney+
124 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Spotify/Spotify.list,Spotify
125 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/TikTok/TikTok.list,TikTok
126 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/BiliBili/BiliBili.list,BiliBili
127 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMedia/ChinaMedia.list,DIRECT
128 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GlobalMedia/GlobalMedia_All_No_Resolve.list,GlobalMedia
129 | # > 谷歌服务
130 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Google/Google.list,Google
131 | # > Proxy
132 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy_All_No_Resolve.list,Proxy,extended-matching
133 | # > China
134 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMax/ChinaMax_All.list,DIRECT,extended-matching
135 | # > 局域网地址
136 | RULE-SET,LAN,DIRECT
137 | # > DNS 查询失败走Final规则
138 | FINAL,Proxy,dns-failed
139 |
--------------------------------------------------------------------------------
/Conf/Spec/Surge-Lite-EN.conf:
--------------------------------------------------------------------------------
1 | # > 深巷有喵的「Surge_Lite_EN」配置
2 | # > 日期:2025-04-02
3 | # > 版本:3.7.1
4 | # > 配置作者:https://github.com/Rabbit-Spec/Surge
5 | # > 适用版本:iOS/macOS的Surge 5
6 |
7 | [General]
8 | # > 日志级别
9 | loglevel = notify
10 | show-error-page-for-reject = true
11 | # > 允许Wi-Fi访问
12 | allow-wifi-access = false
13 | # > All Hybrid 网络并发
14 | all-hybrid = false
15 | # > IPv6 支持(默认关闭)
16 | ipv6 = false
17 | # > IPv6 VIF(默认禁用)
18 | ipv6-vif = disabled
19 | # > 测试超时(秒)
20 | test-timeout = 2
21 | # > Internet 测试 URL
22 | internet-test-url = http://www.baidu.com
23 | # > 代理测速 URL
24 | proxy-test-url = http://connectivitycheck.gstatic.com/generate_204
25 | # > GeoIP数据库
26 | geoip-maxmind-url = https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb
27 | # > 排除简单主机名
28 | exclude-simple-hostnames = true
29 | # > DNS 服务器
30 | dns-server = 223.5.5.5, 119.29.29.29
31 | # > DNS 加密服务器
32 | encrypted-dns-server = https://223.5.5.5/dns-query
33 | # > DNS 劫持
34 | hijack-dns = 8.8.8.8:53, 8.8.4.4:53
35 | # > 从 /etc/hosts 读取 DNS 记录
36 | read-etc-hosts = true
37 | # > 远程控制器
38 | http-api-web-dashboard = true
39 | use-default-policy-if-wifi-not-primary = false
40 | # > 跳过代理
41 | skip-proxy = 192.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
42 | # > Always Real IP
43 | always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.battlenet.com.cn, *.battlenet.com, *.blzstatic.cn, *.battle.net, stun.ugreengroup.com
44 | # > 兼容模式(若需要使用Homekit摄像头,可以开启兼容模式,但开启兼容模式会导致一些屏蔽广告的模块失效,请自行取舍)
45 | # compatibility-mode = 5
46 | # > Surge VIF
47 | # tun-excluded-routes = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
48 | # tun-included-routes = 192.168.1.12/32
49 | # > 禁用 GEOIP 自动更新
50 | disable-geoip-db-auto-update = true
51 | # > 当节点不支持UDP时,默认fallback 到reject
52 | udp-policy-not-supported-behaviour = reject
53 |
54 | [Proxy Group]
55 | # > 策略组(下面的节点信息需与外部节点对应,若删除了外部节点里的节点,那么在策略组里也要删除。)
56 | Proxy = select, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇨🇳 台湾节点, 🇸🇬 新加坡节点, ✈️ 我的节点, icon-url=https://raw.githubusercontent.com/Irrucky/Tool/main/Surge/icon/surge_2.png
57 | Google = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Google_Search.png
58 | Intelligence = select, Proxy, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/chxm1023/ChatGPT5.png
59 | Telegram = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/erdongchanyo/Telegram.png
60 | Microsoft = select, DIRECT, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Windows_11.png
61 | GlobalMedia = select, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/HKMTMedia.png
62 | BiliBili = select, DIRECT, 🇭🇰 香港节点, 🇨🇳 台湾节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/bilibili.png
63 | Apple = select, DIRECT, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/Apple_Arcade.png
64 | Gamer = select, DIRECT, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Game.png
65 |
66 | # > 外部节点
67 | 🇭🇰 香港节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇭🇰)|(香港)|(Hong)|(HK), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Hong_Kong.png
68 |
69 | 🇺🇸 美国节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇺🇸)|(美国)|(States)|(US), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/United_States.png
70 |
71 | 🇯🇵 日本节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇯🇵)|(日本)|(Japan)|(JP), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Japan.png
72 |
73 | 🇨🇳 台湾节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇨🇳)|(台湾)|(Tai)|(TW), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/China.png
74 |
75 | 🇰🇷 韩国节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇰🇷)|(韩国)|(Korea)|(KR), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/South_Korea.png
76 |
77 | 🇸🇬 新加坡节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇸🇬)|(新加坡)|(Singapore)|(SG), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Singapore.png
78 |
79 | ✈️ 我的节点 = select, policy-path=你的订阅地址, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Final.png
80 |
81 | [Rule]
82 | # > 广告拦截
83 | # DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject.conf,REJECT
84 | # RULE-SET,https://ruleset.skk.moe/List/non_ip/reject.conf,REJECT,extended-matching
85 | # > 智能助理
86 | RULE-SET,https://raw.githubusercontent.com/EAlyce/conf/refs/heads/main/Rule/OpenAI.list,Intelligence
87 | # > 苹果服务
88 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple_All_No_Resolve.list,Apple
89 | # > GitHub
90 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GitHub/GitHub.list,Proxy,no-resolve
91 | # > 微软服务
92 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Microsoft/Microsoft.list,Microsoft
93 | # > 社交平台
94 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Telegram/Telegram.list,Telegram
95 | # > 游戏平台
96 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Epic/Epic.list,Gamer
97 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Sony/Sony.list,Gamer
98 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Steam/Steam.list,Gamer
99 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Nintendo/Nintendo.list,Gamer
100 | # > 流媒体
101 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/BiliBili/BiliBili.list,BiliBili
102 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GlobalMedia/GlobalMedia_All_No_Resolve.list,GlobalMedia
103 | # > 谷歌服务
104 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Google/Google.list,Google
105 | # > Proxy
106 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy_All_No_Resolve.list,Proxy,extended-matching
107 | # > China
108 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMax/ChinaMax_All.list,DIRECT,extended-matching
109 | # > 局域网地址
110 | RULE-SET,LAN,DIRECT
111 | # > DNS 查询失败走Final规则
112 | FINAL,Proxy,dns-failed
113 |
--------------------------------------------------------------------------------
/Conf/Spec/Surge-Mini.conf:
--------------------------------------------------------------------------------
1 | # > 深巷有喵的「Surge_Mini」配置
2 | # > 日期:2025-04-02
3 | # > 版本:3.7.1
4 | # > 配置作者:https://github.com/Rabbit-Spec/Surge
5 | # > 适用版本:iOS/macOS的Surge 5
6 |
7 | [General]
8 | # > 日志级别
9 | loglevel = notify
10 | show-error-page-for-reject = true
11 | # > 允许Wi-Fi访问
12 | allow-wifi-access = false
13 | # > All Hybrid 网络并发
14 | all-hybrid = false
15 | # > IPv6 支持(默认关闭)
16 | ipv6 = false
17 | # > IPv6 VIF(默认禁用)
18 | ipv6-vif = disabled
19 | # > 测试超时(秒)
20 | test-timeout = 2
21 | # > Internet 测试 URL
22 | internet-test-url = http://www.baidu.com
23 | # > 代理测速 URL
24 | proxy-test-url = http://connectivitycheck.gstatic.com/generate_204
25 | # > GeoIP数据库
26 | geoip-maxmind-url = https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb
27 | # > 排除简单主机名
28 | exclude-simple-hostnames = true
29 | # > DNS 服务器
30 | dns-server = 223.5.5.5, 119.29.29.29
31 | # > DNS 加密服务器
32 | encrypted-dns-server = https://223.5.5.5/dns-query
33 | # > DNS 劫持
34 | hijack-dns = 8.8.8.8:53, 8.8.4.4:53
35 | # > 从 /etc/hosts 读取 DNS 记录
36 | read-etc-hosts = true
37 | # > 远程控制器
38 | http-api-web-dashboard = true
39 | use-default-policy-if-wifi-not-primary = false
40 | # > 跳过代理
41 | skip-proxy = 192.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
42 | # > Always Real IP
43 | always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.battlenet.com.cn, *.battlenet.com, *.blzstatic.cn, *.battle.net, stun.ugreengroup.com
44 | # > 兼容模式(若需要使用Homekit摄像头,可以开启兼容模式,但开启兼容模式会导致一些屏蔽广告的模块失效,请自行取舍)
45 | # compatibility-mode = 5
46 | # > Surge VIF
47 | # tun-excluded-routes = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
48 | # tun-included-routes = 192.168.1.12/32
49 | # > 禁用 GEOIP 自动更新
50 | disable-geoip-db-auto-update = true
51 | # > 当节点不支持UDP时,默认fallback 到reject
52 | udp-policy-not-supported-behaviour = reject
53 |
54 | [Proxy Group]
55 | # > 策略组(下面的节点信息需与外部节点对应,若删除了外部节点里的节点,那么在策略组里也要删除。)
56 | Proxy = select, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, ✈️ 我的节点, icon-url=https://raw.githubusercontent.com/Irrucky/Tool/main/Surge/icon/surge_2.png
57 | Intelligence = select, Proxy, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/chxm1023/ChatGPT5.png
58 | GlobalMedia = select, Proxy, 🇭🇰 香港节点, 🇺🇸 美国节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点, icon-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/youtube.png
59 |
60 | # > 外部节点
61 | 🇭🇰 香港节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇭🇰)|(香港)|(Hong)|(HK), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Hong_Kong.png
62 |
63 | 🇺🇸 美国节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇺🇸)|(美国)|(States)|(US), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/United_States.png
64 |
65 | 🇯🇵 日本节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇯🇵)|(日本)|(Japan)|(JP), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Japan.png
66 |
67 | 🇨🇳 台湾节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇨🇳)|(台湾)|(Tai)|(TW), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/China.png
68 |
69 | 🇰🇷 韩国节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇰🇷)|(韩国)|(Korea)|(KR), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/South_Korea.png
70 |
71 | 🇸🇬 新加坡节点 = smart, include-other-group=✈️ 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇸🇬)|(新加坡)|(Singapore)|(SG), icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Rounded_Rectangle/Singapore.png
72 |
73 | ✈️ 我的节点 = select, policy-path=你的订阅地址, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0, icon-url=https://raw.githubusercontent.com/Semporia/Hand-Painted-icon/master/Universal/Final.png
74 |
75 | [Rule]
76 | # > 广告拦截
77 | # DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject.conf,REJECT
78 | # RULE-SET,https://ruleset.skk.moe/List/non_ip/reject.conf,REJECT,extended-matching
79 | # > 智能助理
80 | RULE-SET,https://raw.githubusercontent.com/EAlyce/conf/refs/heads/main/Rule/OpenAI.list,Intelligence
81 | # > 苹果服务
82 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple_All_No_Resolve.list,DIRECT
83 | # > GitHub
84 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GitHub/GitHub.list,Proxy,no-resolve
85 | # > 流媒体
86 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GlobalMedia/GlobalMedia_All_No_Resolve.list,GlobalMedia
87 | # > Proxy
88 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy_All_No_Resolve.list,Proxy,extended-matching
89 | # > China
90 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMax/ChinaMax_All.list,DIRECT,extended-matching
91 | # > 局域网地址
92 | RULE-SET,LAN,DIRECT
93 | # > DNS 查询失败走Final规则
94 | FINAL,Proxy,dns-failed
--------------------------------------------------------------------------------
/Conf/Spec/Surge.conf:
--------------------------------------------------------------------------------
1 | # > 深巷有喵的「Surge」配置
2 | # > 日期:2025-04-02
3 | # > 版本:3.7.1
4 | # > 配置作者:https://github.com/Rabbit-Spec/Surge
5 | # > 适用版本:iOS/macOS的Surge 5
6 |
7 | [General]
8 | # > 日志级别
9 | loglevel = notify
10 | show-error-page-for-reject = true
11 | # > 允许Wi-Fi访问
12 | allow-wifi-access = false
13 | # > All Hybrid 网络并发
14 | all-hybrid = false
15 | # > IPv6 支持(默认关闭)
16 | ipv6 = false
17 | # > IPv6 VIF(默认禁用)
18 | ipv6-vif = disabled
19 | # > 测试超时(秒)
20 | test-timeout = 2
21 | # > Internet 测试 URL
22 | internet-test-url = http://www.baidu.com
23 | # > 代理测速 URL
24 | proxy-test-url = http://connectivitycheck.gstatic.com/generate_204
25 | # > GeoIP数据库
26 | geoip-maxmind-url = https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb
27 | # > 排除简单主机名
28 | exclude-simple-hostnames = true
29 | # > DNS 服务器
30 | dns-server = 223.5.5.5, 119.29.29.29
31 | # > DNS 加密服务器
32 | encrypted-dns-server = https://223.5.5.5/dns-query
33 | # > DNS 劫持
34 | hijack-dns = 8.8.8.8:53, 8.8.4.4:53
35 | # > 从 /etc/hosts 读取 DNS 记录
36 | read-etc-hosts = true
37 | # > 远程控制器
38 | http-api-web-dashboard = true
39 | use-default-policy-if-wifi-not-primary = false
40 | # > 跳过代理
41 | skip-proxy = 192.168.0.0/24, 10.0.0.0/8, 172.16.0.0/12, 127.0.0.1, localhost, *.local
42 | # > Always Real IP
43 | always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.battlenet.com.cn, *.battlenet.com, *.blzstatic.cn, *.battle.net, stun.ugreengroup.com
44 | # > 兼容模式(若需要使用Homekit摄像头,可以开启兼容模式,但开启兼容模式会导致一些屏蔽广告的模块失效,请自行取舍)
45 | # compatibility-mode = 5
46 | # > Surge VIF
47 | # tun-excluded-routes = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12
48 | # tun-included-routes = 192.168.1.12/32
49 | # > 禁用 GEOIP 自动更新
50 | disable-geoip-db-auto-update = true
51 | # > 当节点不支持UDP时,默认fallback 到reject
52 | udp-policy-not-supported-behaviour = reject
53 |
54 | [Proxy]
55 | 🌐 全球直连 = direct
56 |
57 | [Proxy Group]
58 | # > 策略组(下面的节点信息需与外部节点对应,若删除了外部节点里的节点,那么在策略组里也要删除。)
59 | ✈️ 节点选择 = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇨🇳 台湾节点, 🇸🇬 新加坡节点, 🚀 我的节点
60 | 📲 电报信息 = select, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
61 | 🎥 奈飞视频 = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
62 | 🎬 迪士尼+ = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
63 | 📹 油管视频 = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
64 | 📽 哔哩哔哩 = select, 🌐 全球直连, 🇭🇰 香港节点, 🇨🇳 台湾节点
65 | 🍿 国外媒体 = select, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
66 | 📟 智能助理 = select, ✈️ 节点选择, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
67 | Ⓜ️ 微软服务 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
68 | 🍎 苹果服务 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
69 | 🎮 游戏平台 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇯🇵 日本节点, 🇰🇷 韩国节点, 🇸🇬 新加坡节点
70 | # > 外部节点
71 | 🇭🇰 香港节点 = smart, include-other-group=🚀 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇭🇰)|(香港)|(Hong)|(HK)
72 | 🇺🇲 美国节点 = smart, include-other-group=🚀 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇺🇸)|(美国)|(States)|(US)
73 | 🇯🇵 日本节点 = smart, include-other-group=🚀 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇯🇵)|(日本)|(Japan)|(JP)
74 | 🇨🇳 台湾节点 = smart, include-other-group=🚀 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇨🇳)|(台湾)|(Tai)|(TW)
75 | 🇰🇷 韩国节点 = smart, include-other-group=🚀 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇰🇷)|(韩国)|(Korea)|(KR)
76 | 🇸🇬 新加坡节点 = smart, include-other-group=🚀 我的节点, update-interval=0, no-alert=0, hidden=1, include-all-proxies=0, policy-regex-filter=(🇸🇬)|(新加坡)|(Singapore)|(SG)
77 | 🚀 我的节点 = select, policy-path=你的订阅地址, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0
78 |
79 | [Rule]
80 | # > 广告拦截
81 | # DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject.conf,REJECT
82 | # RULE-SET,https://ruleset.skk.moe/List/non_ip/reject.conf,REJECT,extended-matching
83 | # > 智能助理
84 | RULE-SET,https://raw.githubusercontent.com/EAlyce/conf/refs/heads/main/Rule/OpenAI.list,📟 智能助理
85 | # > 苹果服务
86 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple_All_No_Resolve.list,🍎 苹果服务
87 | # > GitHub
88 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GitHub/GitHub.list,✈️ 节点选择,no-resolve
89 | # > 微软服务
90 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Microsoft/Microsoft.list,Ⓜ️ 微软服务
91 | # > 社交平台
92 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Telegram/Telegram.list,📲 电报信息
93 | # > 游戏平台
94 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Epic/Epic.list,🎮 游戏平台
95 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Sony/Sony.list,🎮 游戏平台
96 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Steam/Steam.list,🎮 游戏平台
97 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Nintendo/Nintendo.list,🎮 游戏平台
98 | # > 流媒体
99 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/YouTube/YouTube.list,📹 油管视频
100 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Netflix/Netflix.list,🎥 奈飞视频
101 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Disney/Disney.list,🎬 迪士尼+
102 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/BiliBili/BiliBili.list,📽 哔哩哔哩
103 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMedia/ChinaMedia.list,🌐 全球直连
104 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GlobalMedia/GlobalMedia_All_No_Resolve.list,🍿 国外媒体
105 | # > Proxy
106 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy_All_No_Resolve.list,✈️ 节点选择,extended-matching
107 | # > China
108 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMax/ChinaMax_All.list,🌐 全球直连,extended-matching
109 | # > 局域网地址
110 | RULE-SET,LAN,🌐 全球直连
111 | # > DNS 查询失败走 Final 规则
112 | FINAL,✈️ 节点选择,dns-failed
113 |
--------------------------------------------------------------------------------
/Conf/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Conf/img/1.PNG
--------------------------------------------------------------------------------
/Conf/img/2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Conf/img/2.PNG
--------------------------------------------------------------------------------
/Conf/img/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Conf/img/3.jpg
--------------------------------------------------------------------------------
/Conf/img/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Conf/img/4.png
--------------------------------------------------------------------------------
/Conf/img/5.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Conf/img/5.PNG
--------------------------------------------------------------------------------
/Conf/img/6.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Conf/img/6.PNG
--------------------------------------------------------------------------------
/Conf/img/7.JPEG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Conf/img/7.JPEG
--------------------------------------------------------------------------------
/Conf/img/7.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Conf/img/7.PNG
--------------------------------------------------------------------------------
/Module/Panel/Flush-DNS/Moore/Flush-DNS.js:
--------------------------------------------------------------------------------
1 | /*
2 | * 由@zZPiglet编写
3 | * 原脚本地址:https://raw.githubusercontent.com/zZPiglet/Task/master/asset/flushDNS.js
4 | * 由@Rabbit-Spec修改
5 | # 更新日期:2024.08.03
6 | # 版本:2.0
7 | */
8 |
9 | !(async () => {
10 | let panel = { title: "Flush DNS" },
11 | showServer = true,
12 | dnsCache;
13 | if (typeof $argument != "undefined") {
14 | let arg = Object.fromEntries($argument.split("&").map((item) => item.split("=")));
15 | if (arg.title) panel.title = arg.title;
16 | if (arg.icon) panel.icon = arg.icon;
17 | if (arg.color) panel["icon-color"] = arg.color;
18 | if (arg.server == "false") showServer = false;
19 | }
20 | if (showServer) {
21 | dnsCache = (await httpAPI("/v1/dns", "GET")).dnsCache;
22 | dnsCache = [...new Set(dnsCache.map((d) => d.server))].toString().replace(/,/g, "\n");
23 | }
24 | if ($trigger == "button") await httpAPI("/v1/dns/flush");
25 | let delay = ((await httpAPI("/v1/test/dns_delay")).delay * 1000).toFixed(0);
26 | panel.content = `DNS延迟: ${delay}ms${dnsCache ? `\nserver:\n${dnsCache}` : ""}`;
27 | $done(panel);
28 | })();
29 |
30 | function httpAPI(path = "", method = "POST", body = null) {
31 | return new Promise((resolve) => {
32 | $httpAPI(method, path, body, (result) => {
33 | resolve(result);
34 | });
35 | });
36 | }
--------------------------------------------------------------------------------
/Module/Panel/Flush-DNS/Moore/Flush-DNS.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=Flush DNS
2 | #!desc=快速清除Surge的DNS缓存
3 | #!category=深巷有喵的模块
4 | #!arguments=TITLE:DNS Flush,ICON:cube,COLOR:#AFE59A
5 | #!arguments-desc=[参数设置]\n\n⓵ TITLE: 自定义面板标题。\n\n⓶ ICON: 自定义面板图标,需为有效的SFSymbolName,如不设置则默认。\n\n⓷ COLOR: 自定义图标颜色,需为颜色的HEX编码。
6 | # 更新日期:2024.09.09
7 | # 版本:3.2
8 |
9 | [Panel]
10 | FlushDNS = script-name=FlushDNS,update-interval=600
11 |
12 | [Script]
13 | FlushDNS = type=generic,timeout=10,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Flush-DNS/Moore/Flush-DNS.js,argument=title={{{TITLE}}}&icon={{{ICON}}}&color={{{COLOR}}}&server=false
--------------------------------------------------------------------------------
/Module/Panel/Flush-DNS/README.md:
--------------------------------------------------------------------------------
1 | Flush DNS
2 |
3 | 一个可以快速清除Surge DNS缓存的面板
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 1. 简洁的外观配以绿色象征清洁的图标
11 | 2. FlushDNS可以显示当前使用的DNS的延迟情况
12 | 3. FlushDNS模块点击右上角的刷新即可清除DNS缓存
13 |
14 | ## How to use
15 | ### 1. 安装环境
16 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
17 | 最低支持版本 :
18 | >**AppStore 版 4.9.3 或更新版本**
19 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
20 |
21 | ### 2. 模块安装链接
22 | > **FlushDNS :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Flush-DNS/Moore/Flush-DNS.sgmodule
23 |
24 | ### 3. 安装方式
25 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
26 |
27 | ### 4. 更新模块方式
28 | **请按照以下步骤更新**
29 | #### 更新模块本身 :
30 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
31 | #### 更新外部资源 :
32 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
33 |
34 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
35 | (检查方式为 Surge -> 脚本 -> 脚本编辑器 -> 载入 -> FlushDNS -> 检查代码是否与网页版本相同**
36 |
37 | ## 共同作者
38 | **zZPiglet
39 | **fishingworld
40 | **Rabbit-Spec
41 |
42 | __以上順序不分排名__
43 |
44 | ## 我用的机场
45 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
46 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
47 |
48 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Panel/Flush-DNS/img/FlushDNS.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/Flush-DNS/img/FlushDNS.PNG
--------------------------------------------------------------------------------
/Module/Panel/Group-Panel/Moore/Group-Panel.js:
--------------------------------------------------------------------------------
1 | /*
2 | * 由@fishingworld编写
3 | * 原脚本地址:https://raw.githubusercontent.com/fishingworld/something/main/groupPanel.js
4 | * 由@Rabbit-Spec修改
5 | * 更新日期:2024.08.03
6 | * 版本:2.1
7 |
8 | 示例↓↓↓
9 | ----------------------------------------
10 |
11 | [Panel]
12 | Group-Panel = script-name=Group-Panel,update-interval=1
13 |
14 | [Script]
15 | Group-Panel = type=generic,timeout=10,script-path=https://raw.githubusercontent.com/fishingworld/something/main/groupPanel.js,argument=icon=network&color=#86abee&group=Master
16 | 对应参数:
17 | icon:图标
18 | color:图标颜色
19 | group:策略组名称
20 | */
21 |
22 | ;(async () => {
23 |
24 | let params = getParams($argument);
25 | let group=params.group;
26 | let proxy = await httpAPI("/v1/policy_groups");
27 | let groupName = (await httpAPI("/v1/policy_groups/select?group_name="+encodeURIComponent(group)+"")).policy;
28 | var proxyName= [];
29 | let arr = proxy[""+group+""];
30 | let allGroup = [];
31 |
32 | for (var key in proxy){
33 | allGroup.push(key)
34 | }
35 |
36 |
37 | for (let i = 0; i < arr.length; ++i) {
38 | proxyName.push(arr[i].name);
39 | }
40 |
41 | let index;
42 |
43 | for(let i = 0;i < proxyName.length; ++i) {
44 | if(groupName==proxyName[i]){
45 | index=i
46 | }
47 | };
48 |
49 | if($trigger == "button"){
50 | index += 1;
51 |
52 | if(index>arr.length-1){
53 | index = 0;
54 | }
55 | $surge.setSelectGroupPolicy(group, proxyName[index]);
56 |
57 | };
58 |
59 | let name =proxyName[index];
60 | let secondName;
61 | let rootName = name;
62 | if(allGroup.includes(rootName)==true){
63 | secondName = (await httpAPI("/v1/policy_groups/select?group_name="+encodeURIComponent(rootName)+"")).policy;
64 | name = '策略:' + name + '\n' + '节点:' + secondName
65 | }
66 |
67 | while(allGroup.includes(rootName)==true){
68 | rootName = (await httpAPI("/v1/policy_groups/select?group_name="+encodeURIComponent(rootName)+"")).policy;
69 | }
70 |
71 | if(arr[index].isGroup==true && secondName!= rootName){
72 | name='策略:' + name + '\n' + '节点:' + rootName;
73 | }
74 |
75 | $done({
76 | title:group,
77 | content:name,
78 | icon: params.icon,
79 | "icon-color":params.color
80 | });
81 | })();
82 |
83 |
84 | function httpAPI(path = "", method = "GET", body = null) {
85 | return new Promise((resolve) => {
86 | $httpAPI(method, path, body, (result) => {
87 | resolve(result);
88 | });
89 | });
90 | };
91 |
92 | function getParams(param) {
93 | return Object.fromEntries(
94 | $argument
95 | .split("&")
96 | .map((item) => item.split("="))
97 | .map(([k, v]) => [k, decodeURIComponent(v)])
98 | );
99 | }
--------------------------------------------------------------------------------
/Module/Panel/Group-Panel/Moore/Group-Panel.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=Group-Panel
2 | #!desc=快速切换节点
3 | #!category=深巷有喵的模块
4 | #!arguments=GROUP:策略组名称,ICON:network,COLOR:#86ABEE
5 | #!arguments-desc=[参数设置]\n\n⓵ GROUP: 写策略组名称。\n\n⓶ ICON: 自定义面板图标,需为有效的SFSymbolName,如不设置则默认。\n\n⓷ COLOR: 自定义图标颜色,需为颜色的HEX编码。
6 | # 更新日期:2024.09.09
7 | # 版本:3.3
8 |
9 | [Panel]
10 | Group-Panel = script-name=Group-Panel,update-interval=1
11 |
12 | [Script]
13 | Group-Panel = type=generic,timeout=10,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Group-Panel/Moore/Group-Panel.js,argument=icon={{{ICON}}}&color={{{COLOR}}}&group={{{GROUP}}}
--------------------------------------------------------------------------------
/Module/Panel/Group-Panel/README.md:
--------------------------------------------------------------------------------
1 | Group Panel
2 |
3 | 一个可以快速切换策略组节点的面板
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 1. 优雅简洁的显示当前策略组连接的节点
11 | 2. 点击右上角刷新可以快速切换策略组内节点
12 |
13 | ## How to use
14 | ### 1. 安装环境
15 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
16 | 最低支持版本 :
17 | >**AppStore 版 4.9.3 或更新版本**
18 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
19 |
20 | ### 2. 模块安装链接
21 | > **稳定版 :** https://github.com/Rabbit-Spec/Surge/blob/Master/Module/Panel/Group-Panel/Moore/Group-Panel.sgmodule
22 |
23 | ### 3. 安装方式
24 | 打开 Surge -> 模块 -> 新建本地模块 -> 复制粘贴上方的安装链接里的模块内容到本地(不是复制链接!) -> 在Script中必须修改的参数:group:你策略组的名称 -> 完成!
25 |
26 | ### 4. 更新模块方式
27 | **请按照以下步骤更新**
28 | #### 更新外部资源 :
29 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
30 |
31 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
32 | (检查方式为 Surge -> 脚本 -> 脚本编辑器 -> 载入 -> Group-Panel -> 检查代码是否与网页版本相同**
33 |
34 | ## 共同作者
35 | **fishingworld
36 | **Rabbit-Spec
37 |
38 | __以上順序不分排名__
39 |
40 | ## 我用的机场
41 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
42 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
43 |
44 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Panel/Group-Panel/img/Group-Panel.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/Group-Panel/img/Group-Panel.PNG
--------------------------------------------------------------------------------
/Module/Panel/IP-Check/Moore/IP-Check.js:
--------------------------------------------------------------------------------
1 | /*
2 | * 由@congcong0806编写
3 | * 原脚本地址:https://github.com/congcong0806/surge-list/blob/master/Script/ipcheck.js
4 | * 由@Rabbit-Spec修改
5 | * 更新日期:2022.08.14
6 | * 版本:1.5
7 | */
8 |
9 | let url = "http://ip-api.com/json"
10 |
11 | $httpClient.get(url, function(error, response, data){
12 | let jsonData = JSON.parse(data)
13 | let country = jsonData.country
14 | let emoji = getFlagEmoji(jsonData.countryCode)
15 | let city = jsonData.city
16 | let isp = jsonData.isp
17 | let ip = jsonData.query
18 | body = {
19 | title: "节点信息",
20 | content: `IP信息:${ip}\n运营商:${isp}\n所在地:${emoji}${country} - ${city}`,
21 | icon: "globe.asia.australia.fill"
22 | }
23 | $done(body);
24 | });
25 |
26 | function getFlagEmoji(countryCode) {
27 | if (countryCode.toUpperCase() == 'TW') {
28 | countryCode = 'CN'
29 | }
30 | const codePoints = countryCode
31 | .toUpperCase()
32 | .split('')
33 | .map(char => 127397 + char.charCodeAt())
34 | return String.fromCodePoint(...codePoints)
35 |
36 | }
--------------------------------------------------------------------------------
/Module/Panel/IP-Check/Moore/IP-Check.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=IP-Check
2 | #!desc=查看节点IP信息
3 | #!category=深巷有喵的模块
4 | # 更新日期:2024.09.09
5 | # 版本:3.3
6 |
7 | [Panel]
8 | IP-Check = script-name=IP-Check, title="节点详情", content="请刷新", style=info, update-interval=1
9 |
10 | [Script]
11 | IP-Check = type=generic,timeout=3,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/IP-Check/Moore/IP-Check.js
--------------------------------------------------------------------------------
/Module/Panel/IP-Check/README.md:
--------------------------------------------------------------------------------
1 | IP-Check
2 |
3 | 一个可以显示你当前节点信息的面板
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 1. 显示当前节点IP信息
11 | 2. 显示当前节点运营商信息
12 | 3. 显示当前节点所在地信息
13 |
14 | ## How to use
15 | ### 1. 安装环境
16 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
17 | 最低支持版本 :
18 | >**AppStore 版 4.9.3 或更新版本**
19 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
20 |
21 | ### 2. 模块安装链接
22 | > **稳定版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/IP-Check/Moore/IP-Check.sgmodule
23 |
24 | ### 3. 安装方式
25 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
26 |
27 | ### 4. 更新模块方式
28 | **请按照以下步骤更新**
29 | #### 更新模块本身 :
30 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
31 | #### 更新外部资源 :
32 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
33 |
34 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
35 | (检查方式为 Surge -> 脚本 -> 脚本编辑器 -> 载入 -> IP-Check -> 检查代码是否与网页版本相同**
36 |
37 | ## 共同作者
38 | **congcong0806
39 | **Rabbit-Spec
40 |
41 | __以上順序不分排名__
42 |
43 | ## 我用的机场
44 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
45 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
46 |
47 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Panel/IP-Check/img/IP-Check.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/IP-Check/img/IP-Check.PNG
--------------------------------------------------------------------------------
/Module/Panel/Interface-Info/Moore/interface-info-ncompact.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=网络接口信息
2 | #!desc=查询网络接口的网速和流量 https://t.me/zhetengsha
3 | #!category=深巷有喵的模块
4 | #!author=@xream https://t.me/zhetengsha
5 | #!arguments=STYLE:compact,UPDATE-INTERVAL:1,ICON:wifi.router,ICON-COLOR:#6699FF
6 | #!arguments-desc=STYLE:\n样式\ncompact 紧凑, normal 常规\n\nUPDATE-INTERVAL:\n面板刷新时间\n您可以在这里指定一个小的时间(例如1),以使面板每次自动更新
7 | # 更新日期:2024.09.09
8 | # 版本:3.3
9 |
10 | [Script]
11 | # Panel
12 | 网络接口信息面板 = type=generic,timeout=120,script-path=https://raw.githubusercontent.com/xream/scripts/main/surge/modules/interface-info/interface-info.js,argument="icon=wifi.router&icon-color=#6699FF&STYLE=ncompact"
13 |
14 | [Panel]
15 | 网络接口信息面板 = script-name=网络接口信息面板,update-interval={{{UPDATE-INTERVAL}}}
--------------------------------------------------------------------------------
/Module/Panel/Interface-Info/Moore/interface-info-normal.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=网络接口信息
2 | #!desc=查询网络接口的网速和流量 https://t.me/zhetengsha
3 | #!category=深巷有喵的模块
4 | #!author=@xream https://t.me/zhetengsha
5 | #!arguments=STYLE:compact,UPDATE-INTERVAL:1,ICON:wifi.router,ICON-COLOR:#6699FF
6 | #!arguments-desc=STYLE:\n样式\ncompact 紧凑, normal 常规\n\nUPDATE-INTERVAL:\n面板刷新时间\n您可以在这里指定一个小的时间(例如1),以使面板每次自动更新
7 | # 更新日期:2024.09.09
8 | # 版本:3.3
9 |
10 | [Script]
11 | # Panel
12 | 网络接口信息面板 = type=generic,timeout=120,script-path=https://raw.githubusercontent.com/xream/scripts/main/surge/modules/interface-info/interface-info.js,argument="icon=wifi.router&icon-color=#6699FF&STYLE=normal"
13 |
14 | [Panel]
15 | 网络接口信息面板 = script-name=网络接口信息面板,update-interval={{{UPDATE-INTERVAL}}}
--------------------------------------------------------------------------------
/Module/Panel/Interface-Info/README.md:
--------------------------------------------------------------------------------
1 | Interface-Info (网络接口信息)
2 |
3 | 一个基于 Surge 5 客户端展示网络接口信息面板工具
4 |
5 |
6 |
7 |
8 |
9 |
10 | ## 功能
11 | 1. 蜂窝网络下显示
- 蜂窝数据 ISP & LTE、SA、NSA 等类型
- 本地 IPv4、IPv6 位址
- 代理节点 ISP、位置
12 | 2. Wi-Fi 下显示
- 本地 IPv4、IPv6 地址
- 路由器 IPv4、IPv6 地址
- 代理节点 ISP、位置
13 |
14 | ## How to use
15 | ### 1. 安装环境
16 | **需要安装 Surge 客户端 ,并解锁面板功能**
17 | 最低支持 :
18 | >**AppStore 商店版 5.8.3 或更新版本**
19 |
20 | ### 2. 模块安装链接
21 | > **紧凑版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Interface-Info/Moore/interface-info-ncompact.sgmodule
22 | > **常规版 :** https://raw.githubusercontent.com/Nebulosa-Cat/Surge/main/Panel/Interface-Info/interface-info-normal.sgmodule
23 |
24 | ### 3. 安裝方式
25 | 打开 Surge -> 模块 -> 安装新模块... -> 复制上方链接地址进行安装 -> 完成!
26 |
27 | ### 4. 更新模块方式
28 | **请按照以下方式进行更新**
29 | #### 模块更新 :
30 | >Surge -> 模块 -> 找到需要更新的模块 -> 右滑点击更新完成更新
31 | #### 更新外部资源 :
32 | >点击首页左上角打开 配置列表 页面 -> 点击外部资源找到需要更新的资源,右滑点击完成更新,或者点击全部更新等待资源更新完成
33 | **更新时间建议间隔 5 分钟以上 ,更新间隔时间过短可能因页面缓存导致更新失败
34 | (检查更新是否完成) Surge -> 脚本 -> 编辑器 -> 載入需要更新的脚本 -> 检查代码是是否与网页最新版本相同**
35 |
36 | ## 来源
37 | ## **https://t.me/zhetengsha/1147**
38 |
39 | __以上出场排名不分先后__
40 |
41 | ## 我用的机场
42 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
43 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
44 |
45 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Panel/Interface-Info/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/Interface-Info/img/1.PNG
--------------------------------------------------------------------------------
/Module/Panel/Interface-Info/img/2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/Interface-Info/img/2.PNG
--------------------------------------------------------------------------------
/Module/Panel/Net-lsp-x/Moore/net-lsp-x.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=网络信息 𝕏
2 | #!desc=国内外 IP, 运营商, ASN, ORG, 位置, 策略; IPv6; 入口落地; 隐私; LAN; SSID. 自己设置对应域名的分流. 支持网络变化时进行查询通知. 提供 https://net-lsp-x.com 数据接口, 参数与模块参数相同. https://t.me/zhetengsha
3 | #!category=深巷有喵的模块
4 | #!arguments=DOMESTIC_IPv4:spcn,DOMESTIC_IPv4_KEY:若接口需要就填这里,DOMESTIC_IPv6:ddnspod,LANDING_IPv4:ipapi,LANDING_IPv6:ipsb,DNS:ali,FLAG:1,ASN:0,ORG:0,PRIVACY:0,LAN:0,SSID:0,IPv6:0,MASK:0,TIMEOUT:5,RETRIES:1,RETRY_DELAY:1,ENTRANCE_DELAY:0,EVENT_SCRIPT_NAME:网络信息变化,EVENT_DELAY:3,PANEL_NAME:网络信息面板,UPDATE-INTERVAL:-1,ICON:globe.asia.australia,ICON-COLOR:#6699FF
5 | #!arguments-desc=1 为开启, 0 为关闭\n\nLAN:\n显示 LAN IP\n\nSSID:\n显示 SSID\n\nIPv6:\n显示 IPv6 地址\n\nMASK:\n打码 保护隐私\n\nDOMESTIC_IPv4:\n国内 IPv4 来源, 可选 spcn(请设置分流 DOMAIN-SUFFIX,speedtest.cn), cip, bilibili, 126, ipip, ip233, pingan, muhan, ipplus(请设置分流 DOMAIN-SUFFIX,ip.plus), ipim(请设置分流 DOMAIN-SUFFIX,ip.im), ali(将阿里云 IP 服务的 APPCODE 填到 DOMESTIC_IPv4_KEY)\n\nDOMESTIC_IPv4_KEY:\n若接口需要就填(多个 key 用 , 分隔)\n\nDOMESTIC_IPv6:\n国内 IPv6 来源, 可选 ddnspod, neu6\n\nLANDING_IPv4:\n落地 IPv4 来源, 可选 ipapi, ipsb, ipinfo, ipscore, ipwhois\n\nLANDING_IPv6:\n落地 IPv6 来源, 可选 ipsb, ident, ipify\n\nDNS:\n解析域名, 可选 google, cf, ali, tencent\n\nASN:\n显示 ASN 信息\n\nORG:\n显示 ORG 信息\n\nPRIVACY:\n(当落地为 ipwhois, ipinfo 时)显示 Privacy/Security 等信息\n\nFLAG:\n是否显示国旗\n\nTIMEOUT:\n超时设置(单位: 秒)\n\nRETRIES:\n请求重试次数\n\nRETRY_DELAY:\n请求重试等待时间(单位: 秒)\n\nENTRANCE_DELAY:\n查询落地之后紧接着查询入口可能会导致请求太频繁而风控\n可适当调节此延时(单位: 秒)\n\nEVENT_SCRIPT_NAME:\n网络变化时进行查询通知的脚本名称\n若要禁用此脚本, 请输入 #\n\nEVENT_DELAY:\n网络变化时, 延后查询信息(单位: 秒)\n\nPANEL_NAME:\n网络信息面板名称\n若要禁用此面板, 请输入 #\n\nUPDATE-INTERVAL:\n面板刷新时间\n您可以在这里指定一个小的时间(例如1),以使面板每次自动更新。
6 | # 更新日期:2024.09.09
7 | # 版本:3.3
8 |
9 | [MITM]
10 | hostname = %APPEND% net-lsp-x.com
11 |
12 | [Script]
13 | # Request
14 | 网络信息请求 = type=http-request,pattern=^https?:\/\/net-lsp-x\.com,script-path=https://raw.githubusercontent.com/xream/scripts/main/surge/modules/network-info/net-lsp-x.js,timeout=120
15 |
16 | # Event
17 | {{{EVENT_SCRIPT_NAME}}} = type=event,event-name=network-changed,timeout=120,script-path=https://raw.githubusercontent.com/xream/scripts/main/surge/modules/network-info/net-lsp-x.js,argument="TYPE=EVENT&icon={{{ICON}}}&icon-color={{{ICON-COLOR}}}&LAN={{{LAN}}}&SSID={{{SSID}}}&IPv6={{{IPv6}}}&MASK={{{MASK}}}&DOMESTIC_IPv4={{{DOMESTIC_IPv4}}}&DOMESTIC_IPv6={{{DOMESTIC_IPv6}}}&LANDING_IPv4={{{LANDING_IPv4}}}&LANDING_IPv6={{{LANDING_IPv6}}}&PRIVACY={{{PRIVACY}}}&FLAG={{{FLAG}}}&ENTRANCE_DELAY={{{ENTRANCE_DELAY}}}&EVENT_DELAY={{{EVENT_DELAY}}}&RETRIES={{{RETRIES}}}&RETRY_DELAY={{{RETRY_DELAY}}}&ASN={{{ASN}}}&ORG={{{ORG}}}&DOMESTIC_IPv4_KEY={{{DOMESTIC_IPv4_KEY}}}"
18 |
19 | # Panel
20 | 网络信息面板 = type=generic,timeout=120,script-path=https://raw.githubusercontent.com/xream/scripts/main/surge/modules/network-info/net-lsp-x.js,argument="icon=globe.asia.australia&icon-color=#6699FF&LAN={{{LAN}}}&SSID={{{SSID}}}&IPv6={{{IPv6}}}&MASK={{{MASK}}}&DOMESTIC_IPv4={{{DOMESTIC_IPv4}}}&DOMESTIC_IPv6={{{DOMESTIC_IPv6}}}&LANDING_IPv4={{{LANDING_IPv4}}}&LANDING_IPv6={{{LANDING_IPv6}}}&PRIVACY={{{PRIVACY}}}&FLAG={{{FLAG}}}&ENTRANCE_DELAY={{{ENTRANCE_DELAY}}}&EVENT_DELAY={{{EVENT_DELAY}}}&RETRIES={{{RETRIES}}}&RETRY_DELAY={{{RETRY_DELAY}}}&ASN={{{ASN}}}&ORG={{{ORG}}}&DOMESTIC_IPv4_KEY={{{DOMESTIC_IPv4_KEY}}}"
21 |
22 | [Panel]
23 | {{{PANEL_NAME}}} = script-name=网络信息面板,update-interval={{{UPDATE-INTERVAL}}}
--------------------------------------------------------------------------------
/Module/Panel/Net-lsp-x/README.md:
--------------------------------------------------------------------------------
1 | Net-lsp-x
2 |
3 | 一个基于 Surge 5 客户端展示网络入口出口的信息面板
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 1. 显示 "国内外" 或者叫 "直连/代理"
11 | 2. 显示 IP 地区 运营商 ASN ORG 和 策略/节点
12 |
13 | ## How to use
14 | ### 1. 安装环境
15 | **需要安装 Surge 客户端 ,并解锁面板功能**
16 | 最低支持 :
17 | >**AppStore 商店版 5.8.3 或更新版本**
18 |
19 | ### 2. 模块安装链接
20 | > **公开版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Net-lsp-x/Moore/Net-lsp-x.sgmodule
21 |
22 | ### 3. 安裝方式
23 | 打开 Surge -> 模块 -> 安装新模块... -> 复制上方链接地址进行安装 -> 完成!
24 |
25 | ### 4. 更新模块方式
26 | **请按照以下方式进行更新**
27 | #### 模块更新 :
28 | >Surge -> 模块 -> 找到需要更新的模块 -> 右滑点击更新完成更新
29 | #### 更新外部资源 :
30 | >点击首页左上角打开 配置列表 页面 -> 点击外部资源找到需要更新的资源,右滑点击完成更新,或者点击全部更新等待资源更新完成
31 | **更新时间建议间隔 5 分钟以上 ,更新间隔时间过短可能因页面缓存导致更新失败
32 | (检查更新是否完成) Surge -> 脚本 -> 编辑器 -> 載入需要更新的脚本 -> 检查代码是是否与网页最新版本相同**
33 |
34 | ## 来源
35 | ## **https://t.me/zhetengsha/1117**
36 |
37 | __以上出场排名不分先后__
38 |
39 | ## 我用的机场
40 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
41 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
42 |
43 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Panel/Net-lsp-x/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/Net-lsp-x/img/1.PNG
--------------------------------------------------------------------------------
/Module/Panel/Network-Info/Moore/Network-Info.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=Network Info Panel
2 | #!desc=详细的显示你当前的网络信息
3 | #!category=深巷有喵的模块
4 | # @Nebulosa-Cat @Rabbit-Spec
5 | # 更新日期:2024.09.09
6 | # 版本:3.0
7 |
8 | [Panel]
9 | NetInfoPanel=title="",content="",style=info,script-name=net-info-panel.js,update-interval=1
10 |
11 | [Script]
12 | net-info-panel.js=script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Network-Info/Moore/Network-Info.js,type=generic,timeout=30
13 |
14 | [Host]
15 | ip-api.com = 208.95.112.1
--------------------------------------------------------------------------------
/Module/Panel/Network-Info/README.md:
--------------------------------------------------------------------------------
1 | Network-Info (网络信息)
2 |
3 | 一个基于 Surge 5 客户端展示网络信息面板工具
4 |
5 |
6 |
7 |
8 |
9 |
10 | ## 功能
11 | 1. 蜂窝网络下显示
- 蜂窝数据 ISP & LTE、SA、NSA 等类型
- 本地 IPv4、IPv6 位址
- 代理节点 ISP、位置
12 | 2. Wi-Fi 下显示
- 本地 IPv4、IPv6 地址
- 路由器 IPv4、IPv6 地址
- 代理节点 ISP、位置
13 |
14 | ## How to use
15 | ### 1. 安装环境
16 | **需要安装 Surge 客户端 ,并解锁面板功能**
17 | 最低支持 :
18 | >**AppStore 商店版 4.9.3 或更新版本**
19 | >**TestFlight 测试版 4.11.0 (2014) 或更新版本**
20 |
21 | ### 2. 模块安装链接
22 | > **简体中文正式版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Network-Info/Moore/Network-Info.sgmodule
23 | > **繁体中文正式版 :** https://raw.githubusercontent.com/Nebulosa-Cat/Surge/main/Panel/Network-Info/Network-Info.sgmodule
24 |
25 | ### 3. 安裝方式
26 | 打开 Surge -> 模块 -> 安装新模块... -> 复制上方链接地址进行安装 -> 完成!
27 |
28 | ### 4. 更新模块方式
29 | **请按照以下方式进行更新**
30 | #### 模块更新 :
31 | >Surge -> 模块 -> 找到需要更新的模块 -> 右滑点击更新完成更新
32 | #### 更新外部资源 :
33 | >点击首页左上角打开 配置列表 页面 -> 点击外部资源找到需要更新的资源,右滑点击完成更新,或者点击全部更新等待资源更新完成
34 |
35 | 其他问题可以参考 [这篇教程](https://www.jkg.tw/p3604/)
36 | **更新时间建议间隔 5 分钟以上 ,更新间隔时间过短可能因页面缓存导致更新失败
37 | (检查更新是否完成) Surge -> 脚本 -> 编辑器 -> 載入需要更新的脚本 -> 检查代码是是否与网页最新版本相同**
38 |
39 |
40 | ## 注意事項
41 | 1. 运营商显示功能改使用 $network 实现,通过 MNC 代码进行查询,不再使用 API 网站查询以提高隐私性
42 | 2. 欢迎通过 拉取请求 提交更多语言翻译版本 与 补充其他电信运营商资料 (MNC 代码)
43 |
44 | ## 共同作者
45 | ## **@Nebulosa-Cat :** Network-Info模块原作者
46 | ## **@hirakujira :** code 重构以及增加电信运营商信息显示
47 |
48 | ## Special thanks to
49 | > **@Peng-YM :** Net-Info 面板模块原作者
50 | >
51 | > **聪聪 @congcong :** sub-info 面板模块原作者
52 | >
53 | > **Pysta @mieqq :** 友情协助
54 | >
55 | > **鸽子 @zZPiglet :** code 重构
56 |
57 | __以上出场排名不分先后__
58 |
59 | ## 我用的机场
60 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
61 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
62 |
63 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
64 |
--------------------------------------------------------------------------------
/Module/Panel/Network-Info/img/Wi-Fi.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/Network-Info/img/Wi-Fi.PNG
--------------------------------------------------------------------------------
/Module/Panel/Network-Info/img/cell.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/Network-Info/img/cell.PNG
--------------------------------------------------------------------------------
/Module/Panel/Stream-All-Lite/Moore/Stream-Al-Lite.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=流媒体解锁检测Lite
2 | #!desc=Netflix, Disney+, YouTube Unlock Detection
3 | #!system=ios
4 | #!category=Third Party Module
5 | #!arguments=UPDATE_INTERVAL:7200,TITLE:流媒体解锁检测,ICON:play.tv.fill,COLOR:#FF2D55
6 | #!arguments-desc=[参数设置]\n1. UPDATE_INTERVAL: 自定义面板的刷新间隔时间,单位为秒,默认每7200秒刷新一次;\n2. TITLE: 自定义面板标题,默认为"流媒体解锁检测";\n3. ICON: 自定义面板图标,默认为"play.tv.fill";\n4. COLOR: 自定义图标颜色,默认为"#FF2D55";\n\n[模块描述]\n▎本模块用于检测Netflix,Disney+,YouTube的解锁状态查询;\n▎三种状态显示"☑"表示支持解锁,"☒"表示不支持解锁,"N/A"表示检测超时或异常;\n▎地区代码缩写表示已解锁地区;
7 | # 更新日期:2024.06.01
8 | # 版本:3,1
9 |
10 | [Panel]
11 | Panel = script-name=流媒体解锁检测,update-interval={{{UPDATE_INTERVAL}}}
12 |
13 | [Script]
14 | 流媒体解锁检测 = type=generic,timeout=30,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Stream-All-Lite/Moore/Stream-All-Lite.js,script-update-interval=0,argument=title={{{TITLE}}}&icon={{{ICON}}}&color={{{COLOR}}}
15 |
--------------------------------------------------------------------------------
/Module/Panel/Stream-All-Lite/Moore/Stream-All-Lite.js:
--------------------------------------------------------------------------------
1 | /*
2 | * 由@githubdulong编写
3 | * 原脚本地址:https://raw.githubusercontent.com/githubdulong/Script/master/Stream-All.js
4 | * 由@Rabbit-Spec修改
5 | * 更新日期:2022.10.28
6 | * 版本:1.0
7 | */
8 |
9 | let args = getArgs();
10 |
11 | const REQUEST_HEADERS = {
12 | 'User-Agent':
13 | 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36',
14 | 'Accept-Language': 'en',
15 | }
16 |
17 | // 即将登陆
18 | const STATUS_COMING = 2
19 | // 支持解锁
20 | const STATUS_AVAILABLE = 1
21 | // 不支持解锁
22 | const STATUS_NOT_AVAILABLE = 0
23 | // 检测超时
24 | const STATUS_TIMEOUT = -1
25 | // 检测异常
26 | const STATUS_ERROR = -2
27 |
28 | const UA = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36';
29 |
30 | (async () => {
31 | let now = new Date();
32 | let hour = now.getHours();
33 | let minutes = now.getMinutes();
34 | hour = hour > 9 ? hour : "0" + hour;
35 | minutes = minutes > 9 ? minutes : "0" + minutes;
36 | let panel_result = {
37 | title: `${args.title} | ${hour}:${minutes}` || `流媒体解锁查询 | ${hour}:${minutes}`,
38 | content: '',
39 | icon: args.icon || "play.circle",
40 | "icon-color": args.color || "#007aff",
41 | }
42 | let [{ region, status }] = await Promise.all([testDisneyPlus()])
43 | await Promise.all([check_youtube_premium(), check_netflix()])
44 | .then((result) => {
45 | console.log(result)
46 | let disney_result = ""
47 | if (status == STATUS_COMING) {
48 | //console.log(1)
49 | disney_result = "D+: 即将登陆~" + region.toUpperCase()
50 | } else if (status == STATUS_AVAILABLE) {
51 | //console.log(2)
52 | console.log(region)
53 | disney_result = "D+: \u2611" + region.toUpperCase()
54 | // console.log(result["Disney"])
55 | } else if (status == STATUS_NOT_AVAILABLE) {
56 | //console.log(3)
57 | disney_result = "D+: \u2612"
58 | } else if (status == STATUS_TIMEOUT) {
59 | disney_result = "D+: N/A"
60 | }
61 | result.push(disney_result)
62 | console.log(result)
63 | let content = result.join(' ')
64 | console.log(content)
65 |
66 | panel_result['content'] = content
67 | })
68 | .finally(() => {
69 | $done(panel_result)
70 | })
71 | })()
72 |
73 | function getArgs() {
74 | return Object.fromEntries(
75 | $argument
76 | .split("&")
77 | .map((item) => item.split("="))
78 | .map(([k, v]) => [k, decodeURIComponent(v)])
79 | );
80 | }
81 |
82 | async function check_youtube_premium() {
83 | let inner_check = () => {
84 | return new Promise((resolve, reject) => {
85 | let option = {
86 | url: 'https://www.youtube.com/premium',
87 | headers: REQUEST_HEADERS,
88 | }
89 | $httpClient.get(option, function (error, response, data) {
90 | if (error != null || response.status !== 200) {
91 | reject('Error')
92 | return
93 | }
94 |
95 | if (data.indexOf('Premium is not available in your country') !== -1) {
96 | resolve('Not Available')
97 | return
98 | }
99 |
100 | let region = ''
101 | let re = new RegExp('"countryCode":"(.*?)"', 'gm')
102 | let result = re.exec(data)
103 | if (result != null && result.length === 2) {
104 | region = result[1]
105 | } else if (data.indexOf('www.google.cn') !== -1) {
106 | region = 'CN'
107 | } else {
108 | region = 'US'
109 | }
110 | resolve(region)
111 | })
112 | })
113 | }
114 |
115 | let youtube_check_result = 'YT: '
116 |
117 | await inner_check()
118 | .then((code) => {
119 | if (code === 'Not Available') {
120 | youtube_check_result += '\u2612 |'
121 | } else {
122 | youtube_check_result += "\u2611" + code.toUpperCase() + ' |'
123 | }
124 | })
125 | .catch((error) => {
126 | youtube_check_result += 'N/A |'
127 | })
128 |
129 | return youtube_check_result
130 | }
131 |
132 | async function check_netflix() {
133 | let inner_check = (filmId) => {
134 | return new Promise((resolve, reject) => {
135 | let option = {
136 | url: 'https://www.netflix.com/title/' + filmId,
137 | headers: REQUEST_HEADERS,
138 | }
139 | $httpClient.get(option, function (error, response, data) {
140 | if (error != null) {
141 | reject('Error')
142 | return
143 | }
144 |
145 | if (response.status === 403) {
146 | reject('Not Available')
147 | return
148 | }
149 |
150 | if (response.status === 404) {
151 | resolve('Not Found')
152 | return
153 | }
154 |
155 | if (response.status === 200) {
156 | let url = response.headers['x-originating-url']
157 | let region = url.split('/')[3]
158 | region = region.split('-')[0]
159 | if (region == 'title') {
160 | region = 'US'
161 | }
162 | resolve(region)
163 | return
164 | }
165 |
166 | reject('Error')
167 | })
168 | })
169 | }
170 |
171 | let netflix_check_result = 'NF: '
172 |
173 | await inner_check(81215567)
174 | .then((code) => {
175 | if (code === 'Not Found') {
176 | return inner_check(80018499)
177 | }
178 | netflix_check_result += '\u2611' + code.toUpperCase() + ' |'
179 | return Promise.reject('BreakSignal')
180 | })
181 | .then((code) => {
182 | if (code === 'Not Found') {
183 | return Promise.reject('Not Available')
184 | }
185 |
186 | netflix_check_result += '⚠' + code.toUpperCase() + ' |'
187 | return Promise.reject('BreakSignal')
188 | })
189 | .catch((error) => {
190 | if (error === 'BreakSignal') {
191 | return
192 | }
193 | if (error === 'Not Available') {
194 | netflix_check_result += '\u2612 |'
195 | return
196 | }
197 | netflix_check_result += 'N/A |'
198 | })
199 |
200 | return netflix_check_result
201 | }
202 |
203 | async function testDisneyPlus() {
204 | try {
205 | let { region, cnbl } = await Promise.race([testHomePage(), timeout(7000)])
206 | console.log(`homepage: region=${region}, cnbl=${cnbl}`)
207 | // 即将登陆
208 | // if (cnbl == 2) {
209 | // return { region, status: STATUS_COMING }
210 | // }
211 | let { countryCode, inSupportedLocation } = await Promise.race([getLocationInfo(), timeout(7000)])
212 | console.log(`getLocationInfo: countryCode=${countryCode}, inSupportedLocation=${inSupportedLocation}`)
213 |
214 | region = countryCode ?? region
215 | console.log("region:" + region)
216 | // 即将登陆
217 | if (inSupportedLocation === false || inSupportedLocation === 'false') {
218 | return { region, status: STATUS_COMING }
219 | } else {
220 | // 支持解锁
221 | return { region, status: STATUS_AVAILABLE }
222 | }
223 |
224 | } catch (error) {
225 | console.log("error:" + error)
226 |
227 | // 不支持解锁
228 | if (error === 'Not Available') {
229 | console.log("不支持")
230 | return { status: STATUS_NOT_AVAILABLE }
231 | }
232 |
233 | // 检测超时
234 | if (error === 'Timeout') {
235 | return { status: STATUS_TIMEOUT }
236 | }
237 |
238 | return { status: STATUS_ERROR }
239 | }
240 | }
241 |
242 | function getLocationInfo() {
243 | return new Promise((resolve, reject) => {
244 | let opts = {
245 | url: 'https://disney.api.edge.bamgrid.com/graph/v1/device/graphql',
246 | headers: {
247 | 'Accept-Language': 'en',
248 | Authorization: 'ZGlzbmV5JmJyb3dzZXImMS4wLjA.Cu56AgSfBTDag5NiRA81oLHkDZfu5L3CKadnefEAY84',
249 | 'Content-Type': 'application/json',
250 | 'User-Agent': UA,
251 | },
252 | body: JSON.stringify({
253 | query: 'mutation registerDevice($input: RegisterDeviceInput!) { registerDevice(registerDevice: $input) { grant { grantType assertion } } }',
254 | variables: {
255 | input: {
256 | applicationRuntime: 'chrome',
257 | attributes: {
258 | browserName: 'chrome',
259 | browserVersion: '94.0.4606',
260 | manufacturer: 'apple',
261 | model: null,
262 | operatingSystem: 'macintosh',
263 | operatingSystemVersion: '10.15.7',
264 | osDeviceIds: [],
265 | },
266 | deviceFamily: 'browser',
267 | deviceLanguage: 'en',
268 | deviceProfile: 'macosx',
269 | },
270 | },
271 | }),
272 | }
273 |
274 | $httpClient.post(opts, function (error, response, data) {
275 | if (error) {
276 | reject('Error')
277 | return
278 | }
279 |
280 | if (response.status !== 200) {
281 | console.log('getLocationInfo: ' + data)
282 | reject('Not Available')
283 | return
284 | }
285 |
286 | data = JSON.parse(data)
287 | if (data?.errors) {
288 | console.log('getLocationInfo: ' + data)
289 | reject('Not Available')
290 | return
291 | }
292 |
293 | let {
294 | token: { accessToken },
295 | session: {
296 | inSupportedLocation,
297 | location: { countryCode },
298 | },
299 | } = data?.extensions?.sdk
300 | resolve({ inSupportedLocation, countryCode, accessToken })
301 | })
302 | })
303 | }
304 |
305 | function testHomePage() {
306 | return new Promise((resolve, reject) => {
307 | let opts = {
308 | url: 'https://www.disneyplus.com/',
309 | headers: {
310 | 'Accept-Language': 'en',
311 | 'User-Agent': UA,
312 | },
313 | }
314 |
315 | $httpClient.get(opts, function (error, response, data) {
316 | if (error) {
317 | reject('Error')
318 | return
319 | }
320 | if (response.status !== 200 || data.indexOf('Sorry, Disney+ is not available in your region.') !== -1) {
321 | reject('Not Available')
322 | return
323 | }
324 |
325 | let match = data.match(/Region: ([A-Za-z]{2})[\s\S]*?CNBL: ([12])/)
326 | if (!match) {
327 | resolve({ region: '', cnbl: '' })
328 | return
329 | }
330 |
331 | let region = match[1]
332 | let cnbl = match[2]
333 | resolve({ region, cnbl })
334 | })
335 | })
336 | }
337 |
338 | function timeout(delay = 5000) {
339 | return new Promise((resolve, reject) => {
340 | setTimeout(() => {
341 | reject('Timeout')
342 | }, delay)
343 | })
344 | }
--------------------------------------------------------------------------------
/Module/Panel/Stream-All-Lite/Moore/Stream-All-Lite.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=流媒体解锁检测Lite
2 | #!desc=信息面板
3 | #!category=深巷有喵的模块
4 | # 更新日期:2024.09.09
5 | # 版本:3.3
6 |
7 | [Panel]
8 | Stream-All-Lite = script-name=Stream-All-Lite,update-interval=7200
9 |
10 | [Script]
11 | Stream-All-Lite = type=generic,timeout=30,script-path=https://raw.githubusercontent.com/githubdulong/Script/master/Stream-All.js,script-update-interval=0,argument=title=流媒体解锁检测&icon=play.tv.fill&color=#D22F28
--------------------------------------------------------------------------------
/Module/Panel/Stream-All-Lite/README.md:
--------------------------------------------------------------------------------
1 | 流媒体解锁检测Lite
2 |
3 | 一个可以快速检测你节点流媒体解锁情况的面板
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 简洁的显示布局
11 | 快速检测节点有没有解锁流媒体
12 |
13 | ## How to use
14 | ### 1. 安装环境
15 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
16 | 最低支持版本 :
17 | >**AppStore 版 4.9.3 或更新版本**
18 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
19 | ### 2. 模块安装链接
20 | > **稳定版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Stream-All-Lite/Moore/Stream-All-Lite.sgmodule
21 |
22 | ### 3. 安装方式
23 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
24 | ### 4. 更新模块方式
25 | **请按照以下步骤更新**
26 | #### 更新外部资源 :
27 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
28 |
29 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
30 | (检查方式为 Surge -> 脚本 -> 脚本编辑器 -> 载入 -> Stream-All-Lite -> 检查代码是否与网页版本相同**
31 |
32 | ## 共同作者
33 | **githubdulong
34 | **Rabbit-Spec
35 |
36 | __以上順序不分排名__
37 |
38 | ## 我用的机场
39 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
40 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
41 |
42 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
43 |
--------------------------------------------------------------------------------
/Module/Panel/Stream-All-Lite/img/HK.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/Stream-All-Lite/img/HK.PNG
--------------------------------------------------------------------------------
/Module/Panel/Stream-All/Moore/Stream-All-Mini.js:
--------------------------------------------------------------------------------
1 | /*
2 | * 脚本参考 @Helge_0x00
3 | * 原脚本地址:https://raw.githubusercontent.com/githubdulong/Script/master/Stream-All.js
4 | * 由@Rabbit-Spec修改
5 | * 更新日期:2024.06.01
6 | * 版本:3.1
7 | 支持使用脚本使用 argument 参数自定义配置,如:argument=title=流媒体解锁检测&icon=play.tv.fill&color=#FF2D55,具体参数如下所示,
8 | * title: 面板标题
9 | * icon: SFSymbols 图标
10 | * color:图标颜色
11 |
12 | */
13 |
14 | let args = getArgs();
15 |
16 | const REQUEST_HEADERS = {
17 | 'User-Agent':
18 | 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36',
19 | 'Accept-Language': 'en',
20 | }
21 |
22 | // 即将登陆
23 | const STATUS_COMING = 2
24 | // 支持解锁
25 | const STATUS_AVAILABLE = 1
26 | // 不支持解锁
27 | const STATUS_NOT_AVAILABLE = 0
28 | // 检测超时
29 | const STATUS_TIMEOUT = -1
30 | // 检测异常
31 | const STATUS_ERROR = -2
32 |
33 | const UA = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36';
34 |
35 | (async () => {
36 | let now = new Date();
37 | let hour = now.getHours();
38 | let minutes = now.getMinutes();
39 | hour = hour > 9 ? hour : "0" + hour;
40 | minutes = minutes > 9 ? minutes : "0" + minutes;
41 | let panel_result = {
42 | title: `${args.title} | ${hour}:${minutes}` || `流媒体解锁查询 | ${hour}:${minutes}`,
43 | content: '',
44 | icon: args.icon || "play.circle",
45 | "icon-color": args.color || "#007aff",
46 | }
47 | let [{ region, status }] = await Promise.all([testDisneyPlus()])
48 | await Promise.all([check_youtube_premium(), check_netflix()])
49 | .then((result) => {
50 | console.log(result)
51 | let disney_result = ""
52 | if (status == STATUS_COMING) {
53 | //console.log(1)
54 | disney_result = "D+: 即将登陆~" + region.toUpperCase()
55 | } else if (status == STATUS_AVAILABLE) {
56 | //console.log(2)
57 | console.log(region)
58 | disney_result = "D+: \u2611" + region.toUpperCase()
59 | // console.log(result["Disney"])
60 | } else if (status == STATUS_NOT_AVAILABLE) {
61 | //console.log(3)
62 | disney_result = "D+: \u2612"
63 | } else if (status == STATUS_TIMEOUT) {
64 | disney_result = "D+: N/A"
65 | }
66 | result.push(disney_result)
67 | console.log(result)
68 | let content = result.join(' ')
69 | console.log(content)
70 |
71 | panel_result['content'] = content
72 | })
73 | .finally(() => {
74 | $done(panel_result)
75 | })
76 | })()
77 |
78 | function getArgs() {
79 | return Object.fromEntries(
80 | $argument
81 | .split("&")
82 | .map((item) => item.split("="))
83 | .map(([k, v]) => [k, decodeURIComponent(v)])
84 | );
85 | }
86 |
87 | async function check_youtube_premium() {
88 | let inner_check = () => {
89 | return new Promise((resolve, reject) => {
90 | let option = {
91 | url: 'https://www.youtube.com/premium',
92 | headers: REQUEST_HEADERS,
93 | }
94 | $httpClient.get(option, function (error, response, data) {
95 | if (error != null || response.status !== 200) {
96 | reject('Error')
97 | return
98 | }
99 |
100 | if (data.indexOf('Premium is not available in your country') !== -1) {
101 | resolve('Not Available')
102 | return
103 | }
104 |
105 | let region = ''
106 | let re = new RegExp('"countryCode":"(.*?)"', 'gm')
107 | let result = re.exec(data)
108 | if (result != null && result.length === 2) {
109 | region = result[1]
110 | } else if (data.indexOf('www.google.cn') !== -1) {
111 | region = 'CN'
112 | } else {
113 | region = 'US'
114 | }
115 | resolve(region)
116 | })
117 | })
118 | }
119 |
120 | let youtube_check_result = 'YT: '
121 |
122 | await inner_check()
123 | .then((code) => {
124 | if (code === 'Not Available') {
125 | youtube_check_result += '\u2612 |'
126 | } else {
127 | youtube_check_result += "\u2611" + code.toUpperCase() + ' |'
128 | }
129 | })
130 | .catch((error) => {
131 | youtube_check_result += 'N/A |'
132 | })
133 |
134 | return youtube_check_result
135 | }
136 |
137 | async function check_netflix() {
138 | let inner_check = (filmId) => {
139 | return new Promise((resolve, reject) => {
140 | let option = {
141 | url: 'https://www.netflix.com/title/' + filmId,
142 | headers: REQUEST_HEADERS,
143 | }
144 | $httpClient.get(option, function (error, response, data) {
145 | if (error != null) {
146 | reject('Error')
147 | return
148 | }
149 |
150 | if (response.status === 403) {
151 | reject('Not Available')
152 | return
153 | }
154 |
155 | if (response.status === 404) {
156 | resolve('Not Found')
157 | return
158 | }
159 |
160 | if (response.status === 200) {
161 | let url = response.headers['x-originating-url']
162 | let region = url.split('/')[3]
163 | region = region.split('-')[0]
164 | if (region == 'title') {
165 | region = 'US'
166 | }
167 | resolve(region)
168 | return
169 | }
170 |
171 | reject('Error')
172 | })
173 | })
174 | }
175 |
176 | let netflix_check_result = 'NF: '
177 |
178 | await inner_check(81280792)
179 | .then((code) => {
180 | if (code === 'Not Found') {
181 | return inner_check(80018499)
182 | }
183 | netflix_check_result += '\u2611' + code.toUpperCase() + ' |'
184 | return Promise.reject('BreakSignal')
185 | })
186 | .then((code) => {
187 | if (code === 'Not Found') {
188 | return Promise.reject('Not Available')
189 | }
190 |
191 | netflix_check_result += '⚠' + code.toUpperCase() + ' |'
192 | return Promise.reject('BreakSignal')
193 | })
194 | .catch((error) => {
195 | if (error === 'BreakSignal') {
196 | return
197 | }
198 | if (error === 'Not Available') {
199 | netflix_check_result += '\u2612 |'
200 | return
201 | }
202 | netflix_check_result += 'N/A |'
203 | })
204 |
205 | return netflix_check_result
206 | }
207 |
208 | async function testDisneyPlus() {
209 | try {
210 | let { region, cnbl } = await Promise.race([testHomePage(), timeout(7000)])
211 | console.log(`homepage: region=${region}, cnbl=${cnbl}`)
212 | // 即将登陆
213 | // if (cnbl == 2) {
214 | // return { region, status: STATUS_COMING }
215 | // }
216 | let { countryCode, inSupportedLocation } = await Promise.race([getLocationInfo(), timeout(7000)])
217 | console.log(`getLocationInfo: countryCode=${countryCode}, inSupportedLocation=${inSupportedLocation}`)
218 |
219 | region = countryCode ?? region
220 | console.log("region:" + region)
221 | // 即将登陆
222 | if (inSupportedLocation === false || inSupportedLocation === 'false') {
223 | return { region, status: STATUS_COMING }
224 | } else {
225 | // 支持解锁
226 | return { region, status: STATUS_AVAILABLE }
227 | }
228 |
229 | } catch (error) {
230 | console.log("error:" + error)
231 |
232 | // 不支持解锁
233 | if (error === 'Not Available') {
234 | console.log("不支持")
235 | return { status: STATUS_NOT_AVAILABLE }
236 | }
237 |
238 | // 检测超时
239 | if (error === 'Timeout') {
240 | return { status: STATUS_TIMEOUT }
241 | }
242 |
243 | return { status: STATUS_ERROR }
244 | }
245 | }
246 |
247 | function getLocationInfo() {
248 | return new Promise((resolve, reject) => {
249 | let opts = {
250 | url: 'https://disney.api.edge.bamgrid.com/graph/v1/device/graphql',
251 | headers: {
252 | 'Accept-Language': 'en',
253 | Authorization: 'ZGlzbmV5JmJyb3dzZXImMS4wLjA.Cu56AgSfBTDag5NiRA81oLHkDZfu5L3CKadnefEAY84',
254 | 'Content-Type': 'application/json',
255 | 'User-Agent': UA,
256 | },
257 | body: JSON.stringify({
258 | query: 'mutation registerDevice($input: RegisterDeviceInput!) { registerDevice(registerDevice: $input) { grant { grantType assertion } } }',
259 | variables: {
260 | input: {
261 | applicationRuntime: 'chrome',
262 | attributes: {
263 | browserName: 'chrome',
264 | browserVersion: '94.0.4606',
265 | manufacturer: 'apple',
266 | model: null,
267 | operatingSystem: 'macintosh',
268 | operatingSystemVersion: '10.15.7',
269 | osDeviceIds: [],
270 | },
271 | deviceFamily: 'browser',
272 | deviceLanguage: 'en',
273 | deviceProfile: 'macosx',
274 | },
275 | },
276 | }),
277 | }
278 |
279 | $httpClient.post(opts, function (error, response, data) {
280 | if (error) {
281 | reject('Error')
282 | return
283 | }
284 |
285 | if (response.status !== 200) {
286 | console.log('getLocationInfo: ' + data)
287 | reject('Not Available')
288 | return
289 | }
290 |
291 | data = JSON.parse(data)
292 | if (data?.errors) {
293 | console.log('getLocationInfo: ' + data)
294 | reject('Not Available')
295 | return
296 | }
297 |
298 | let {
299 | token: { accessToken },
300 | session: {
301 | inSupportedLocation,
302 | location: { countryCode },
303 | },
304 | } = data?.extensions?.sdk
305 | resolve({ inSupportedLocation, countryCode, accessToken })
306 | })
307 | })
308 | }
309 |
310 | function testHomePage() {
311 | return new Promise((resolve, reject) => {
312 | let opts = {
313 | url: 'https://www.disneyplus.com/',
314 | headers: {
315 | 'Accept-Language': 'en',
316 | 'User-Agent': UA,
317 | },
318 | }
319 |
320 | $httpClient.get(opts, function (error, response, data) {
321 | if (error) {
322 | reject('Error')
323 | return
324 | }
325 | if (response.status !== 200 || data.indexOf('Sorry, Disney+ is not available in your region.') !== -1) {
326 | reject('Not Available')
327 | return
328 | }
329 |
330 | let match = data.match(/Region: ([A-Za-z]{2})[\s\S]*?CNBL: ([12])/)
331 | if (!match) {
332 | resolve({ region: '', cnbl: '' })
333 | return
334 | }
335 |
336 | let region = match[1]
337 | let cnbl = match[2]
338 | resolve({ region, cnbl })
339 | })
340 | })
341 | }
342 |
343 | function timeout(delay = 5000) {
344 | return new Promise((resolve, reject) => {
345 | setTimeout(() => {
346 | reject('Timeout')
347 | }, delay)
348 | })
349 | }
--------------------------------------------------------------------------------
/Module/Panel/Stream-All/Moore/Stream-All-Mini.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=流媒体解锁检测
2 | #!desc=Netflix, Disney+, YouTube Unlock Detection
3 | #!category=深巷有喵的模块
4 | #!arguments=UPDATE_INTERVAL:7200,TITLE:流媒体解锁检测,ICON:play.tv.fill,COLOR:#FF2D55
5 | #!arguments-desc=[参数设置]\n1. UPDATE_INTERVAL: 自定义面板的刷新间隔时间,单位为秒,默认每7200秒刷新一次;\n2. TITLE: 自定义面板标题,默认为"流媒体解锁检测";\n3. ICON: 自定义面板图标,默认为"play.tv.fill";\n4. COLOR: 自定义图标颜色,默认为"#FF2D55";\n\n[模块描述]\n▎本模块用于检测Netflix,Disney+,YouTube的解锁状态查询;\n▎三种状态显示"☑"表示支持解锁,"☒"表示不支持解锁,"N/A"表示检测超时或异常;\n▎地区代码缩写表示已解锁地区;
6 | # 更新日期:2024.09.09
7 | # 版本:3.3
8 |
9 | [Panel]
10 | Panel = script-name=流媒体解锁检测,update-interval={{{UPDATE_INTERVAL}}}
11 |
12 | [Script]
13 | 流媒体解锁检测 = type=generic,timeout=30,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Stream-All/Moore/Stream-All-Mini.js,script-update-interval=0,argument=title={{{TITLE}}}&icon={{{ICON}}}&color={{{COLOR}}}
--------------------------------------------------------------------------------
/Module/Panel/Stream-All/Moore/Stream-All.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=流媒体解锁检测
2 | #!desc=Netflix, Disney+, YouTube Unlock Detection
3 | #!category=深巷有喵的模块
4 | # 更新日期:2024.09.09
5 | # 版本:3.3
6 |
7 | [Panel]
8 | stream-all = script-name=stream-all, title="流媒体解锁检测", content="请刷新面板", update-interval={{{UPDATE_INTERVAL}}}
9 |
10 | [Script]
11 | stream-all = type=generic, timeout=15, script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Stream-All/Moore/Stream-All.js
--------------------------------------------------------------------------------
/Module/Panel/Stream-All/README.md:
--------------------------------------------------------------------------------
1 | 流媒体解锁检测
2 |
3 | 一个可以快速检测你节点流媒体解锁情况的面板
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 快速检测节点有没有解锁流媒体
11 |
12 | ## How to use
13 | ### 1. 安装环境
14 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
15 | 最低支持版本 :
16 | >**AppStore 版 4.9.3 或更新版本**
17 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
18 | ### 2. 模块安装链接
19 | > **稳定版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Stream-All/Moore/Stream-All.sgmodule
20 | > **迷你版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Stream-All/Moore/Stream-All-Mini.sgmodule
21 |
22 | ### 3. 安装方式
23 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
24 | ### 4. 更新模块方式
25 | **请按照以下步骤更新**
26 | #### 更新外部资源 :
27 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
28 |
29 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
30 | (检查方式为 Surge -> 脚本 -> 脚本编辑器 -> 载入 -> Stream-All -> 检查代码是否与网页版本相同**
31 |
32 | ## 共同作者
33 | **LucaLin233
34 | **Rabbit-Spec
35 |
36 | __以上順序不分排名__
37 |
38 | ## 我用的机场
39 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
40 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
41 |
42 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Panel/Stream-All/img/HK.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/Stream-All/img/HK.PNG
--------------------------------------------------------------------------------
/Module/Panel/Sub-info/Moore/Sub-info.js:
--------------------------------------------------------------------------------
1 | /*
2 | * 由@mieqq编写
3 | * 原脚本地址:https://raw.githubusercontent.com/mieqq/mieqq/master/sub_info_panel.js
4 | * 由@Rabbit-Spec修改
5 | * 更新日期:2022.08.24
6 | * 版本:1.5
7 |
8 | 示例↓↓↓
9 | ----------------------------------------
10 |
11 | [Script]
12 | Sub_info = type=generic,timeout=10,script-path=https://raw.githubusercontent.com/mieqq/mieqq/master/sub_info_panel.js,script-update-interval=0,argument=url=[URL encode 后的机场节点链接]&reset_day=1&title=Nexitally&icon=externaldrive.fill.badge.icloud&color=#007aff
13 |
14 | [Panel]
15 | Sub_info = script-name=Sub_info,update-interval=600
16 |
17 | ----------------------------------------
18 |
19 | 先将带有流量信息的节点订阅链接encode,用encode后的链接替换"url="后面的[机场节点链接]
20 |
21 | (实在不会可以用这个捷径生成panel和脚本,https://www.icloud.com/shortcuts/3f24df391d594a73abd04ebdccd92584)
22 |
23 | 可选参数 &reset_day,后面的数字替换成流量每月重置的日期,如1号就写1,8号就写8。如"&reset_day=8",不加该参数不显示流量重置信息。
24 |
25 | 可选参数 &expire,机场链接不带expire信息的,可以手动传入expire参数,如"&expire=2022-02-01",注意一定要按照yyyy-MM-dd的格式。不希望显示到期信息也可以添加&expire=false取消显示。
26 |
27 | 可选参数"title=xxx" 可以自定义标题。
28 |
29 | 可选参数"icon=xxx" 可以自定义图标,内容为任意有效的 SF Symbol Name,如 bolt.horizontal.circle.fill,详细可以下载app https://apps.apple.com/cn/app/sf-symbols-browser/id1491161336
30 |
31 | 可选参数"color=xxx" 当使用 icon 字段时,可传入 color 字段控制图标颜色,字段内容为颜色的 HEX 编码。如:color=#007aff
32 | ----------------------------------------
33 | */
34 |
35 | let args = getArgs();
36 |
37 | (async () => {
38 | let info = await getDataInfo(args.url);
39 | if (!info) $done();
40 | let resetDayLeft = getRmainingDays(parseInt(args["reset_day"]));
41 |
42 | let used = info.download + info.upload;
43 | let total = info.total;
44 | let expire = args.expire || info.expire;
45 | let content = [`用量:${bytesToSize(used)} | ${bytesToSize(total)}`];
46 |
47 | if (resetDayLeft) {
48 | content.push(`重置:剩余${resetDayLeft}天`);
49 | }
50 | if (expire && expire !== "false") {
51 | if (/^[\d.]+$/.test(expire)) expire *= 1000;
52 | content.push(`到期:${formatTime(expire)}`);
53 | }
54 |
55 | let now = new Date();
56 | let hour = now.getHours();
57 | let minutes = now.getMinutes();
58 | hour = hour > 9 ? hour : "0" + hour;
59 | minutes = minutes > 9 ? minutes : "0" + minutes;
60 |
61 | $done({
62 | title: `${args.title} | ${hour}:${minutes}`,
63 | content: content.join("\n"),
64 | icon: args.icon || "airplane.circle",
65 | "icon-color": args.color || "#007aff",
66 | });
67 | })();
68 |
69 | function getArgs() {
70 | return Object.fromEntries(
71 | $argument
72 | .split("&")
73 | .map((item) => item.split("="))
74 | .map(([k, v]) => [k, decodeURIComponent(v)])
75 | );
76 | }
77 |
78 | function getUserInfo(url) {
79 | let method = args.method || "head";
80 | let request = { headers: { "User-Agent": "Quantumult%20X" }, url };
81 | return new Promise((resolve, reject) =>
82 | $httpClient[method](request, (err, resp) => {
83 | if (err != null) {
84 | reject(err);
85 | return;
86 | }
87 | if (resp.status !== 200) {
88 | reject(resp.status);
89 | return;
90 | }
91 | let header = Object.keys(resp.headers).find(
92 | (key) => key.toLowerCase() === "subscription-userinfo"
93 | );
94 | if (header) {
95 | resolve(resp.headers[header]);
96 | return;
97 | }
98 | reject("链接响应头不带有流量信息");
99 | })
100 | );
101 | }
102 |
103 | async function getDataInfo(url) {
104 | const [err, data] = await getUserInfo(url)
105 | .then((data) => [null, data])
106 | .catch((err) => [err, null]);
107 | if (err) {
108 | console.log(err);
109 | return;
110 | }
111 |
112 | return Object.fromEntries(
113 | data
114 | .match(/\w+=[\d.eE+-]+/g)
115 | .map((item) => item.split("="))
116 | .map(([k, v]) => [k, Number(v)])
117 | );
118 | }
119 |
120 | function getRmainingDays(resetDay) {
121 | if (!resetDay) return;
122 |
123 | let now = new Date();
124 | let today = now.getDate();
125 | let month = now.getMonth();
126 | let year = now.getFullYear();
127 | let daysInMonth;
128 |
129 | if (resetDay > today) {
130 | daysInMonth = 0;
131 | } else {
132 | daysInMonth = new Date(year, month + 1, 0).getDate();
133 | }
134 |
135 | return daysInMonth - today + resetDay;
136 | }
137 |
138 | function bytesToSize(bytes) {
139 | if (bytes === 0) return "0B";
140 | let k = 1024;
141 | sizes = ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
142 | let i = Math.floor(Math.log(bytes) / Math.log(k));
143 | return (bytes / Math.pow(k, i)).toFixed(2) + " " + sizes[i];
144 | }
145 |
146 | function formatTime(time) {
147 | let dateObj = new Date(time);
148 | let year = dateObj.getFullYear();
149 | let month = dateObj.getMonth() + 1;
150 | let day = dateObj.getDate();
151 | return year + "年" + month + "月" + day + "日";
152 | }
--------------------------------------------------------------------------------
/Module/Panel/Sub-info/Moore/Sub-info.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=机场流量信息
2 | #!desc=显示机场剩余流量信息以及套餐到期日期
3 | #!category=机场流量信息
4 | #!arguments=NAME:机场名字,URL:编码后的机场订阅,RESET_Day:重置日期,ICON:externaldrive.fill.badge.icloud,COLOR:#FFB6C1
5 | #!arguments-desc=[参数设置]\n\n⓵ NAME: 可修改成你机场的名字。\n\n⓶ URL: 编码后的机场订阅。\n\n⓷ RESET_DAY: 流量每月重置的日期,如26号就写26,不设置则不显示流量重置日,仅显示到期日期。\n\n⓸ ICON: 自定义面板图标,需为有效的SFSymbolName,如不设置则默认。\n\n⓹ COLOR: 自定义图标颜色,需为颜色的HEX编码,如不设置则默认为"#FFB6C1"。
6 | # 更新日期:2024.08.03
7 | # 版本:5.0
8 |
9 | [Panel]
10 | {{{NAME}}}=script-name={{{NAME}}},update-interval=3600
11 |
12 | [Script]
13 | {{{NAME}}}=type=generic,timeout=10,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Sub-info/Moore/Sub-info.js,script-update-interval=0,argument=url={{{URL}}}&reset_day={{{RESET_Day}}}&title={{{NAME}}}&icon={{{ICON}}}&color={{{COLOR}}}
--------------------------------------------------------------------------------
/Module/Panel/Sub-info/Moore/Sub-info_Max.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=机场流量信息Max
2 | #!desc=显示机场剩余流量信息以及套餐到期日期
3 | #!category=机场流量信息
4 | #!arguments=NAME_1:第一个机场的名字,URL_1:编码后的机场订阅,RESET-Day_1:重置日期,ICON_1:externaldrive.fill.badge.icloud,COLOR_1:#FFB6C1,NAME_2:#第二个机场的名字,URL_2:编码后的机场订阅,RESET-Day_2:重置日期,ICON_2:internaldrive.fill,COLOR_2:#87CEFA,NAME_3:#第三个机场的名字,URL_3:编码后的机场订阅,RESET-Day_3:重置日期,ICON_3:externaldrive.connected.to.line.below.fill,COLOR_3:#E980AB,NAME_4:#第四个机场的名字,URL_4:编码后的机场订阅,RESET-Day_4:重置日期,ICON_4:externaldrive.fill,COLOR_4:#BDDC9D
5 | #!arguments-desc=[参数设置]\n\n⓵ NAME: 写你机场的名字,默认开启单订阅。\n\n⓶ URL: 编码后的机场订阅。\n\n⓷ RESET_DAY: 流量每月重置的日期,如26号就写26,不设置则不显示流量重置日,仅显示到期日期。\n\n⓸ ICON: 自定义面板图标,需为有效的SFSymbolName,如不设置则默认。\n\n⓹ COLOR: 自定义图标颜色,需为颜色的HEX编码。
6 | # 更新日期:2024.08.03
7 | # 版本:5.0
8 |
9 | [Panel]
10 | {{{NAME_1}}}=script-name={{{NAME_1}}},update-interval=3600
11 |
12 | {{{NAME_2}}}=script-name={{{NAME_2}}},update-interval=3600
13 |
14 | {{{NAME_3}}}=script-name={{{NAME_3}}},update-interval=3600
15 |
16 | {{{NAME_4}}}=script-name={{{NAME_4}}},update-interval=3600
17 |
18 | [Script]
19 | {{{NAME_1}}}=type=generic,timeout=10,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Sub-info/Moore/Sub-info.js,script-update-interval=0,argument=url={{{URL_1}}}&reset_day={{{RESET-Day_1}}}&title={{{NAME_1}}}&icon={{{ICON_1}}}&color={{{COLOR_1}}}
20 |
21 | {{{NAME_2}}}=type=generic,timeout=10,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Sub-info/Moore/Sub-info.js,script-update-interval=0,argument=url={{{URL_2}}}&reset_day={{{RESET-Day_2}}}&title={{{NAME_2}}}&icon={{{ICON_2}}}&color={{{COLOR_2}}}
22 |
23 | {{{NAME_3}}}=type=generic,timeout=10,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Sub-info/Moore/Sub-info.js,script-update-interval=0,argument=url={{{URL_3}}}&reset_day={{{RESET-Day_3}}}&title={{{NAME_3}}}&icon={{{ICON_3}}}&color={{{COLOR_3}}}
24 |
25 | {{{NAME_4}}}=type=generic,timeout=10,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Sub-info/Moore/Sub-info.js,script-update-interval=0,argument=url={{{URL_4}}}&reset_day={{{RESET-Day_4}}}&title={{{NAME_4}}}&icon={{{ICON_4}}}&color={{{COLOR_4}}}
--------------------------------------------------------------------------------
/Module/Panel/Sub-info/README.md:
--------------------------------------------------------------------------------
1 | 机场流量信息
2 |
3 | 一个可以查看你机场剩余流量/重置流量日期/套餐到期等功能的面板
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 1. 查看你机场当前剩余的流量
11 | 2. 查看你机场购买套餐的流量
12 | 3. 查看你机场重置流量的日期
13 | 4. 查看你机场套餐到期的日期
14 |
15 | ## How to use
16 | ### 1. 安装环境
17 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
18 | 最低支持版本 :
19 | >**AppStore 版 4.9.3 或更新版本**
20 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
21 |
22 | ### 2. 模块安装链接
23 | > **稳定版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Sub-info/Moore/Sub-info.sgmodule
24 | > **Max版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Sub-info/Moore/Sub-info_Max.sgmodule
25 |
26 | ### 3. 安装方式
27 | 打开 Surge -> 模块 -> 新建本地模块 -> 复制粘贴上方的安装链接里的模块内容到本地(不是复制链接!)-> 先将带有流量信息的节点订阅链接encode,用encode后的链接替换"url="后面的[机场节点链接] -> 完成!
28 |
29 | **encode链接:** https://www.urlencoder.org
30 |
31 | ### 4. 更新模块方式
32 | **请按照以下步骤更新**
33 | #### 更新外部资源 :
34 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
35 |
36 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
37 | (检查方式为 Surge -> 脚本 -> 脚本编辑器 -> 载入 -> Sub_info -> 检查代码是否与网页版本相同**
38 |
39 | ## 共同作者
40 | **mieqq
41 | **Rabbit-Spec
42 |
43 | __以上順序不分排名__
44 |
45 | ## 我用的机场
46 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
47 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
48 |
49 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
50 |
--------------------------------------------------------------------------------
/Module/Panel/Sub-info/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/Sub-info/img/1.PNG
--------------------------------------------------------------------------------
/Module/Panel/Sub-info/img/Sub_info.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/Sub-info/img/Sub_info.PNG
--------------------------------------------------------------------------------
/Module/Panel/Surge-Pro/Moore/SurgePro.js:
--------------------------------------------------------------------------------
1 | /*
2 | * 由@fishingworld编写
3 | * 原脚本地址:https://raw.githubusercontent.com/fishingworld/something/main/PanelScripts/surgepro_reloadprofile.js
4 | * 由@Rabbit-Spec修改
5 | * 更新日期:2022.06.15
6 | * 版本:1.5
7 | */
8 |
9 | let params = getParams($argument)
10 |
11 | !(async () => {
12 | /* 时间获取 */
13 | let traffic = (await httpAPI("/v1/traffic","GET"))
14 | let dateNow = new Date()
15 | let dateTime = Math.floor(traffic.startTime*1000)
16 | let startTime = timeTransform(dateNow,dateTime)
17 |
18 | if ($trigger == "button") await httpAPI("/v1/profiles/reload");
19 |
20 | $done({
21 | title:"Surge Pro®",
22 | content:`启动时长: ${startTime}`,
23 | icon: params.icon,
24 | "icon-color":params.color
25 | });
26 |
27 | })();
28 |
29 | function timeTransform(dateNow,dateTime) {
30 | let dateDiff = dateNow - dateTime;
31 | let days = Math.floor(dateDiff / (24 * 3600 * 1000));//计算出相差天数
32 | let leave1=dateDiff%(24*3600*1000) //计算天数后剩余的毫秒数
33 | let hours=Math.floor(leave1/(3600*1000))//计算出小时数
34 | //计算相差分钟数
35 | let leave2=leave1%(3600*1000) //计算小时数后剩余的毫秒数
36 | let minutes=Math.floor(leave2/(60*1000))//计算相差分钟数
37 | //计算相差秒数
38 | let leave3=leave2%(60*1000) //计算分钟数后剩余的毫秒数
39 | let seconds=Math.round(leave3/1000)
40 |
41 | if(days==0){
42 |
43 | if(hours==0){
44 | if(minutes==0)return(`${seconds}秒`);
45 | return(`${minutes}分${seconds}秒`)
46 | }
47 | return(`${hours}时${minutes}分${seconds}秒`)
48 | }else {
49 | return(`${days}天${hours}时${minutes}分`)
50 | }
51 |
52 | }
53 |
54 |
55 | function httpAPI(path = "", method = "POST", body = null) {
56 | return new Promise((resolve) => {
57 | $httpAPI(method, path, body, (result) => {
58 | resolve(result);
59 | });
60 | });
61 | }
62 |
63 | function getParams(param) {
64 | return Object.fromEntries(
65 | $argument
66 | .split("&")
67 | .map((item) => item.split("="))
68 | .map(([k, v]) => [k, decodeURIComponent(v)])
69 | );
70 | }
--------------------------------------------------------------------------------
/Module/Panel/Surge-Pro/Moore/SurgePro.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=Surge Pro
2 | #!desc=显示Surge的启动时间
3 | #!category=深巷有喵的模块
4 | # 更新日期:2024.09.09
5 | # 版本:3.3
6 |
7 | [Panel]
8 | #Surge Pro
9 | SurgePro_ReloadProfile = script-name=SurgePro_ReloadProfile,update-interval=1
10 |
11 | [Script]
12 | #Surge Pro
13 | SurgePro_ReloadProfile = type=generic,timeout=10,script-path= https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Surge-Pro/Moore/SurgePro.js ,argument=icon=paperplane.circle&color=#f6c970
--------------------------------------------------------------------------------
/Module/Panel/Surge-Pro/README.md:
--------------------------------------------------------------------------------
1 | Surge Pro
2 |
3 | 一个可以显示Surge启动时长的面板
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 显示Surge启动时长
11 |
12 | ## How to use
13 | ### 1. 安装环境
14 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
15 | 最低支持版本 :
16 | >**AppStore 版 4.9.3 或更新版本**
17 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
18 |
19 | ### 2. 模块安装链接
20 | > **稳定版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Surge-Pro/Moore/SurgePro.sgmodule
21 |
22 | ### 3. 安装方式
23 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
24 |
25 | ### 4. 更新模块方式
26 | **请按照以下步骤更新**
27 | #### 更新模块本身 :
28 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
29 | #### 更新外部资源 :
30 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
31 |
32 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
33 | (检查方式为 Surge -> 脚本 -> 脚本编辑器 -> 载入 -> SurgePro -> 检查代码是否与网页版本相同**
34 |
35 | ## 共同作者
36 | **fishingworld
37 | **Rabbit-Spec
38 |
39 | __以上排名不分先后__
40 |
41 | ## 我用的机场
42 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
43 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
44 |
45 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
46 |
--------------------------------------------------------------------------------
/Module/Panel/Surge-Pro/img/PRO.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/Surge-Pro/img/PRO.PNG
--------------------------------------------------------------------------------
/Module/Panel/Timecard/Moore/Timecard.js:
--------------------------------------------------------------------------------
1 | /*
2 | * 由@smartmimi编写
3 | * 原脚本地址:https://raw.githubusercontent.com/smartmimi/conf/master/surge/timecard.js
4 | * 由@Rabbit-Spec修改
5 | * 更新日期:2022.06.22
6 | * 版本:1.0
7 | */
8 |
9 | var tlist = {
10 | 1: ["中秋", "2022-09-10"],
11 | 2: ["国庆", "2022-10-01"],
12 | 3: ["元旦", "2023-01-01"],
13 | 4: ["春节", "2023-01-22"],
14 | 5: ["元宵", "2023-02-05"],
15 | 6: ["清明", "2023-04-05"],
16 | 7: ["劳动", "2023-05-01"],
17 | 8: ["端午", "2023-06-22"],
18 | 9: ["中秋", "2023-09-29"],
19 | 10: ["国庆", "2023-10-01"],
20 | 11: ["元旦", "2024-01-01"]
21 |
22 | };
23 | let tnow = new Date();
24 | let tnowf =
25 | tnow.getFullYear() + "-" + (tnow.getMonth() + 1) + "-" + tnow.getDate();
26 |
27 | /* 计算2个日期相差的天数,不包含今天,如:2016-12-13到2016-12-15,相差2天
28 | * @param startDateString
29 | * @param endDateString
30 | * @returns
31 | */
32 | function dateDiff(startDateString, endDateString) {
33 | var separator = "-"; //日期分隔符
34 | var startDates = startDateString.split(separator);
35 | var endDates = endDateString.split(separator);
36 | var startDate = new Date(startDates[0], startDates[1] - 1, startDates[2]);
37 | var endDate = new Date(endDates[0], endDates[1] - 1, endDates[2]);
38 | return parseInt(
39 | (endDate - startDate) / 1000 / 60 / 60 / 24
40 | ).toString();
41 | }
42 |
43 | //计算输入序号对应的时间与现在的天数间隔
44 | function tnumcount(num) {
45 | let dnum = num;
46 | return dateDiff(tnowf, tlist[dnum][1]);
47 | }
48 |
49 | //获取最接近的日期
50 | function now() {
51 | for (var i = 1; i <= Object.getOwnPropertyNames(tlist).length; i++) {
52 | if (Number(dateDiff(tnowf, tlist[i.toString()][1])) >= 0) {
53 | //console.log("最近的日期是:" + tlist[i.toString()][0]);
54 | //console.log("列表长度:" + Object.getOwnPropertyNames(tlist).length);
55 | //console.log("时间差距:" + Number(dateDiff(tnowf, tlist[i.toString()][1])));
56 | return i;
57 | }
58 | }
59 | }
60 |
61 | //如果是0天,发送emoji;
62 | let nowlist = now();
63 | function today(day) {
64 | let daythis = day;
65 | if (daythis == "0") {
66 | datenotice();
67 | return "🎉";
68 | } else {
69 | return daythis+"天";
70 | }
71 | }
72 |
73 | //提醒日当天发送通知
74 | function datenotice() {
75 | if ($persistentStore.read("timecardpushed") != tlist[nowlist][1] && tnow.getHours() >= 6) {
76 | $persistentStore.write(tlist[nowlist][1], "timecardpushed");
77 | $notification.post("假日祝福","", "今天是" + tlist[nowlist][1] + "日 " + tlist[nowlist][0] + " 🎉")
78 | } else if ($persistentStore.read("timecardpushed") == tlist[nowlist][1]) {
79 | //console.log("当日已通知");
80 | }
81 | }
82 |
83 | //>图标依次切换乌龟、兔子、闹钟、礼品盒
84 | function icon_now(num){
85 | if(num<=7 && num>3 ){
86 | return "hare"
87 | }else if(num<=3 && num>0){
88 | return "timer"
89 | }else if(num==0){
90 | return "gift"
91 | }else{
92 | return "tortoise"
93 | }
94 | }
95 |
96 | $done({
97 | title:title_random(tnumcount(Number(nowlist))),
98 | icon:icon_now(tnumcount(Number(nowlist))),
99 | content:tlist[nowlist][0]+":"+today(tnumcount(nowlist))+","+tlist[Number(nowlist) + Number(1)][0] +":"+ tnumcount(Number(nowlist) + Number(1))+ "天,"+tlist[Number(nowlist) + Number(2)][0]+":"+tnumcount(Number(nowlist) + Number(2))+"天"
100 | })
101 |
102 | function title_random(num){
103 | let r = Math.floor((Math.random()*10)+1);
104 | let dic = {
105 | 1:"距离放假,还要摸鱼多少天?",
106 | 2:"坚持住,就快放假啦!",
107 | 3:"上班好累呀,下顿吃啥?",
108 | 4:"努力,我还能加班24小时!",
109 | 5:"今日宜:吃饭饭 忌:减肥",
110 | 6:"躺平中,等放假",
111 | 7:"只有摸鱼才是赚老板的钱",
112 | 8:"一起摸鱼吧",
113 | 9:"摸鱼中,期待下一个假日",
114 | 10: "小乌龟慢慢爬"
115 | };
116 | return num==0?"节日快乐,万事大吉":dic[r]
117 | }
--------------------------------------------------------------------------------
/Module/Panel/Timecard/Moore/Timecard.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=节假日信息
2 | #!desc=显示节假日的信息
3 | #!category=深巷有喵的模块
4 | # 更新日期:2024.09.09
5 | # 版本:3.3
6 |
7 | [Panel]
8 | Timecard = script-name=Timecard,update-interval=3600
9 |
10 | [Script]
11 | Timecard = type=generic,timeout=10,script-path=https://raw.githubusercontent.com/smartmimi/conf/master/surge/timecard.js
--------------------------------------------------------------------------------
/Module/Panel/Timecard/README.md:
--------------------------------------------------------------------------------
1 | 节假日信息
2 |
3 | 一个可以显示还需要摸鱼多少天的面板
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 1. 界面优雅简洁非常干净
11 | 2. 显示还需要摸鱼多少天就可以解放
12 |
13 | ## How to use
14 | ### 1. 安装环境
15 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
16 | 最低支持版本 :
17 | >**AppStore 版 4.9.3 或更新版本**
18 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
19 |
20 | ### 2. 模块安装链接
21 | > **稳定版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Timecard/Moore/Timecard.sgmodule
22 |
23 | ### 3. 安装方式
24 | 打开 Surge -> 模块 -> 新建本地模块 -> 复制粘贴上方的安装链接里的模块内容到本地(不是复制链接!) -> 在Script中必须修改的参数:group:你策略组的名称 -> 完成!
25 |
26 | ### 4. 更新模块方式
27 | **请按照以下步骤更新**
28 | #### 更新外部资源 :
29 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
30 |
31 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
32 | (检查方式为 Surge -> 脚本 -> 脚本编辑器 -> 载入 -> Timecard -> 检查代码是否与网页版本相同**
33 |
34 | ## 共同作者
35 | **smartmimi
36 | **Rabbit-Spec
37 |
38 | __以上順序不分排名__
39 |
40 | ## 我用的机场
41 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
42 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
43 |
44 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
45 |
--------------------------------------------------------------------------------
/Module/Panel/Timecard/img/Timecard.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/Timecard/img/Timecard.PNG
--------------------------------------------------------------------------------
/Module/Panel/WARP/README.md:
--------------------------------------------------------------------------------
1 | 1.1.1.1 by Cloudflare with WARP
2 |
3 | 检测并配置WARP+服务
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 1.可查询1.1.1.1APP的配置信息,其他增删改功能请在BoxJs订阅或1.1.1.1APP/客户端中操作
11 |
12 | 2.安装模块后,重新打开一次1.1.1.1APP,即可在通知中看到配置信息,在Surge的日志中也会输出完整配置文件内容
13 |
14 | 3.配合BoxJs或Argument参数可重写并锁定密钥为自定义密钥
15 |
16 | 4.安装模块后,打开1.1.1.1APP,执行重置加密密钥操作(iOS客户端位于:选项-高级-连接选项-重置加密密钥),即可在通知中看到密钥重置信息
17 |
18 | 5.提供一个面板(仅Surge),显示当前线路的WARP状态及对应的打开1.1.1.1APP中,所用账户的等级与流量信息(账户的等级与流量信息需要首先打开1.1.1.1APP,读取一次配置信息)
19 |
20 | ## How to use
21 | ### 1. 安装环境
22 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
23 | 最低支持版本 :
24 | >**AppStore 版 5.0 或更新版本**
25 | >**TestFlight 版 5.20.0 (2433) 或更新版本**
26 |
27 | ### 2. 模块安装链接
28 | > **公开版 :** https://raw.githubusercontent.com/I-am-R-E/Functional-Store-Hub/Master/WarpPanel/WarpPanel%2B.sgmodule
29 |
30 | ### 3. 安装方式
31 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
32 |
33 | ### 4. 配置教程
34 | > **公开版 :** https://www.craft.do/s/avqa8GJuLbLsFv
35 |
36 | ### 5. 更新模块方式
37 | **请按照以下步骤更新**
38 | #### 更新模块本身 :
39 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
40 | #### 更新外部资源 :
41 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
42 |
43 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
44 |
45 | #### 若该模块失效可以联系作者
46 | - [@VirgilClyne](https://github.com/VirgilClyne)
47 |
48 | ## 我用的机场
49 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
50 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
51 |
52 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
53 |
--------------------------------------------------------------------------------
/Module/Panel/WARP/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Panel/WARP/img/1.PNG
--------------------------------------------------------------------------------
/Module/README.md:
--------------------------------------------------------------------------------
1 | Surge模块
2 |
3 | 我自用的Surge自用模块
4 |
5 |
6 |
7 |
8 |
9 | ## 如何使用
10 | ### 1. 安装环境
11 | **需要有网络调试工具 Surge 5.0**
12 | 最低支持版本 :
13 | >**AppStore 版 Surge 5.0 或更新版本**
14 | >**TestFlight 版 5.20.0 (2433) 或更新版本**
15 |
16 | ### 2. 模块链接(进入链接以查看使用方式)
17 | > **DNS-QUIC :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/DNS-QUIC
18 |
19 | > **DoH :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/DoH
20 |
21 | > **WARP+ :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Panel/WARP
22 |
23 | > **刷新DNS :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Panel/Flush-DNS
24 |
25 | > **节点切换 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Panel/Group-Panel
26 |
27 | > **节点iP信息 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Panel/IP-Check
28 |
29 | > **网络信息 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Panel/Network-Info
30 |
31 | > **网络接口信息 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Panel/Interface-Info
32 |
33 | > **网络出入口信息 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Panel/Net-lsp-x
34 |
35 | > **流媒体解锁检测 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Panel/Stream-All
36 |
37 | > **流媒体解锁检测Lite :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Panel/Stream-All-Lite
38 |
39 | > **Sub-Store :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/Sub-Store
40 |
41 | > **机场流量信息 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Panel/Sub-info
42 |
43 | > **Surge启动时长 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Panel/Surge-Pro
44 |
45 | > **节假日信息 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Panel/Timecard
46 |
47 | > **TestFlight下载修正/账户管理 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/TestFlight
48 |
49 | > **Safari 谷歌搜索重定向 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/GoogleRewrite
50 |
51 | > **隐藏状态栏VPN图标 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/Hide-VPN-Icon
52 |
53 | > **京东历史价格展示 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/JD_Price
54 |
55 | > **🌐 通用设置增强 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/General
56 |
57 | > **跳过部分国内App的代理检测 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/Skip-Proxy
58 |
59 | > **什么值得买「自动签到+去广告」 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/smzdm
60 |
61 | > **纯净百度搜索 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/Baidu_index
62 |
63 | > **B站净化 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/Bilibili
64 |
65 | > **B站签到 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/Bilibili-Login
66 |
67 | > **微博净化 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/Weibo
68 |
69 | > **知乎净化 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/Zhihu
70 |
71 | > **贴吧净化 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/Tieba
72 |
73 | > **贴吧签到 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/Tieba_Checkin
74 |
75 | > **短信转发 :** https://github.com/xream/scripts/tree/main/surge/modules/sms-forward
76 |
77 | > **TikTok解锁 :** https://github.com/Semporia/TikTok-Unlock
78 |
79 | > **macOS翻译 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module/Spec/macOS-Translate
80 |
81 | ## 我用的机场
82 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
83 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
84 |
85 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://482469.dedicated-afflink.com)
86 |
--------------------------------------------------------------------------------
/Module/Spec/Baidu_index/Moore/Baidu_index.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=Baidu 首页
2 | #!desc=纯净搜索 @key
3 | #!category= Key
4 |
5 | [Map Local]
6 | ^https?:\/\/(?:www|m)\.baidu\.com(?:\/|\/\?(tn=&)?from=\w+)?$ data="https://raw.githubusercontent.com/Keywos/rule/master/script/baidu_index/html/index.html" header="Content-Type: text/html; charset=utf-8"
7 |
8 | [MITM]
9 | hostname = %APPEND% m.baidu.com,www.baidu.com
10 |
--------------------------------------------------------------------------------
/Module/Spec/Baidu_index/README.md:
--------------------------------------------------------------------------------
1 | 纯净百度搜索
2 |
3 | 优化跳转以及搜索结果
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 1.纯净的百度搜索首页。
11 | 2.避免百度搜索跳转到App Store下载百度App。
12 |
13 | ## How to use
14 | ### 1. 安装环境
15 | **需要有网络调试工具 Surge 5.11.1**
16 | 最低支持版本 :
17 | >**AppStore 版 Surge 5.11.1 或更新版本**
18 |
19 | ### 2. 模块安装链接
20 | > **公开版 :** https://raw.githubusercontent.com/Keywos/rule/main/script/baidu_index/bd.sgmodule
21 |
22 | ### 3. 安装方式
23 | 打开 Surge -> 修改 -> 模块 -> 安装新模块 -> 复制粘贴上方的安装链接 -> 完成!
24 |
25 | ### 4. 更新模块方式
26 | **请按照以下步骤更新**
27 | #### 更新模块本身 :
28 | >Surge -> 修改 -> 模块 -> 找到本模块 -> 左滑后点击更新
29 | #### 更新外部资源 :
30 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
31 |
32 | **两次更新之间建议间隔5分钟以上,否则又几率页面缓存文档尚未更新导致更新失败
33 |
34 | ---
35 | #### 若公开版模块失效可以联系作者
36 | - [@Key](https://github.com/Keywos)
37 |
38 | ## 我用的机场
39 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
40 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
41 |
42 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
43 |
--------------------------------------------------------------------------------
/Module/Spec/Baidu_index/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/Baidu_index/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/Bilibili-Login/Moore/Bilibili-Login.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=Bilibili签到
2 | #!desc=B站自动签到
3 |
4 | [Script]
5 | B站每日任务 = type=cron,cronexp=30 7 * * *,script-path=https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/Task/BiliBili.js
6 |
7 | #以下cookie获取方式二选其一即可
8 | B站获取Cookie(APP) = type=http-request,pattern=^https:\/\/app\.bilibili\.com\/x\/resource\/domain\?,script-path=https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/Task/BiliBili.js
9 |
10 | #B站获取Cookie(网页) = type=http-request,pattern=^https:\/\/m.bilibili.com/$,script-path=https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Script/Task/BiliBili.js
11 |
12 | [MITM]
13 | hostname= %APPEND% app.bilibili.com, m.bilibili.com
--------------------------------------------------------------------------------
/Module/Spec/Bilibili-Login/README.md:
--------------------------------------------------------------------------------
1 | B站每日自动签到
2 |
3 | 哔哩哔哩每日自动签到
4 |
5 |
6 |
7 |
8 |
9 |
10 | ## 注意事项:
11 | 1.抓取cookie时注意保证账号登录状态;
12 | 2.账号内须有一定数量的关注数,否则无法完成投币;
13 | 3.当硬币不足5枚,提示硬币不足,停止投币;
14 | 4.长期使用脚本存在多次投币同一视频的现象,导致投币失败,手动执行或尽量多关注UP即可。
15 |
16 | ## How to use
17 | ### 1. 安装环境
18 | **需要有网络调试工具 Surge ,且要系统版本≥iOS 15**
19 | 最低支持版本 :
20 | >**AppStore 版 4.9.3 或更新版本**
21 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
22 |
23 | ### 2. 模块安装链接
24 | > **稳定版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/Bilibili-Login/Moore/Bilibili-Login.sgmodule
25 |
26 | ### 3. 安装方式
27 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
28 | #### 需要开启MitM并信任证书
29 | #### 需要开启脚本
30 |
31 | ### 4. 使用方法
32 | 1.后台退出手机B站客户端的情况下,重新打开APP进入主页获取cookie,若成功了会有通知提示。
33 | 2.脚本将在每天上午7点30执行。
34 |
35 | ### 5. 更新模块方式
36 | **请按照以下步骤更新**
37 | #### 更新模块本身 :
38 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
39 | #### 更新外部资源 :
40 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
41 |
42 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
43 |
44 | #### 若B站签到模块失效可以联系作者
45 | - [@ClydeTime](https://github.com/ClydeTime)
46 |
47 | ## 我用的机场
48 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
49 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
50 |
51 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
52 |
--------------------------------------------------------------------------------
/Module/Spec/Bilibili-Login/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/Bilibili-Login/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/Bilibili-Login/img/2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/Bilibili-Login/img/2.PNG
--------------------------------------------------------------------------------
/Module/Spec/Bilibili/Moore/Bilibili.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=B站净化
2 | #!desc=B站官方App净化
3 | #!system=ios
4 | # h2下走grpc.biliapi.net(Surge TF2332以上版本可正常解析) h1时走app.bilibili.com
5 |
6 | [Script]
7 | B站净化 = type=http-response,pattern=^https:\/\/app\.bilibili\.com\/x\/(v2\/(splash\/(list|show)|feed\/index\?)|resource\/show\/tab\/v2),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-json.js,script-update-interval=0
8 | bili-proto = type=http-response,pattern=^https:\/\/(grpc\.biliapi\.net|app\.bilibili\.com)\/bilibili\.app\.(view\.v1\.View\/View|dynamic\.v2\.Dynamic\/DynAll)$,requires-body=1,binary-body-mode=1,max-size=0,script-path=https://raw.githubusercontent.com/app2smile/rules/master/js/bilibili-proto.js,script-update-interval=0
9 |
10 | [MITM]
11 | hostname = %APPEND% app.bilibili.com, grpc.biliapi.net
--------------------------------------------------------------------------------
/Module/Spec/Bilibili/README.md:
--------------------------------------------------------------------------------
1 | B站净化
2 |
3 | 还你一个干净的B站浏览体验
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 1. 移除开屏页广告
11 | 2. 移除推荐页广告
12 | 3. 移除动态(最常访问/推荐话题/列表广告)
13 | 4. 移除视频播放页面(up主推荐广告,相关推荐广告)
14 |
15 | ## How to use
16 | ### 1. 安装环境
17 | **需要有网络调试工具 Surge ,且要系统版本≥iOS 15**
18 | 最低支持版本 :
19 | >**AppStore 版 4.9.3 或更新版本**
20 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
21 |
22 | ### 2. 模块安装链接
23 | > **稳定版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/Bilibili/Moore/Bilibili.sgmodule
24 |
25 | ### 3. 安装方式
26 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
27 | #### 需要开启MitM并信任证书
28 | #### 需要开启脚本
29 |
30 | ### 4. 更新模块方式
31 | **请按照以下步骤更新**
32 | #### 更新模块本身 :
33 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
34 | #### 更新外部资源 :
35 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
36 |
37 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
38 |
39 | #### 若B站净化模块失效可以联系作者
40 | - [@app2smile](https://github.com/app2smile)
41 |
42 | ## 我用的机场
43 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
44 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
45 |
46 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
47 |
--------------------------------------------------------------------------------
/Module/Spec/Bilibili/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/Bilibili/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/DNS-QUIC/Moore/Ali-DoQ.sgmodule:
--------------------------------------------------------------------------------
1 | #!name = Ali-DNS over QUIC
2 | #!desc = 使用阿里DNS-over-QUIC
3 |
4 | [General]
5 | dns-server = 223.5.5.5, 119.29.29.29
6 | encrypted-dns-server = quic://dns.alidns.com
--------------------------------------------------------------------------------
/Module/Spec/DNS-QUIC/README.md:
--------------------------------------------------------------------------------
1 | DNS over QUIC
2 |
3 | 使用阿里DoQ服务加密传输
4 |
5 |
6 |
7 |
8 |
9 |
10 | ## 功能
11 | DNS over QUIC是DNS通过QUIC协议传输的加密版本。
12 | QUIC是一种新的协议,它是基于UDP协议的,并且使用了TLS 1.3来加密数据。
13 | 1. 可以较为有效的防止运营商DNS污染
14 | 2. 使用阿里DoQ服务来加密传输以保证隐私
15 |
16 | ## How to use
17 | ### 1. 安装环境
18 | **需要有网络调试工具 Surge 5.8.3**
19 | 最低支持版本 :
20 | >**AppStore 版 Surge 5.8.3 或更新版本**
21 |
22 | ### 2. 模块安装链接
23 | > **阿里云DoQ :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/DNS-QUIC/Moore/Ali-DoQ.sgmodule
24 |
25 | ### 3. 安装方式
26 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
27 |
28 | ### 4. 更新模块方式
29 | **请按照以下步骤更新**
30 | #### 更新模块本身 :
31 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
32 |
33 | ## 作者
34 | **Rabbit-Spec
35 |
36 | ## 我用的机场
37 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
38 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
39 |
40 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Spec/DNS-QUIC/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/DNS-QUIC/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/DNS-QUIC/img/2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/DNS-QUIC/img/2.PNG
--------------------------------------------------------------------------------
/Module/Spec/DoH/Moore/Ali-DoH.sgmodule:
--------------------------------------------------------------------------------
1 | #!name = Ali-DoH
2 | #!desc = 使用阿里DNS-over-HTTPS (DoH)
3 |
4 | [General]
5 | dns-server = 223.5.5.5, 119.29.29.29
6 | encrypted-dns-server = https://223.5.5.5/dns-query
7 |
8 | [Host]
9 | miwifi.com = 192.168.31.1
--------------------------------------------------------------------------------
/Module/Spec/DoH/Moore/DNSPod-DoH.sgmodule:
--------------------------------------------------------------------------------
1 | #!name = DNSPod-DoH
2 | #!desc = 使用腾讯DNS-over-HTTPS (DoH)
3 |
4 | [General]
5 | dns-server = 119.29.29.29, 223.5.5.5
6 | encrypted-dns-server = https://doh.pub/dns-query
7 |
8 | [Host]
9 | miwifi.com = 192.168.31.1
10 |
--------------------------------------------------------------------------------
/Module/Spec/DoH/README.md:
--------------------------------------------------------------------------------
1 | DNS-over-HTTPS
2 |
3 | 一个覆盖你配置文件DNS的模块
4 |
5 |
6 |
7 |
8 |
9 |
10 | ## 功能
11 | 1. 可以较为有效的防止运营商DNS污染
12 | 2. 使用腾讯/阿里DoH服务来加密传输以保证隐私
13 |
14 | ## How to use
15 | ### 1. 安装环境
16 | **需要有网络调试工具 Surge 5.0**
17 | 最低支持版本 :
18 | >**AppStore 版 Surge 5.0 或更新版本**
19 | >**TestFlight 版 5.20.0 (2433) 或更新版本**
20 |
21 | ### 2. 模块安装链接
22 | > **腾讯云DoH :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/DoH/Moore/DNSPod-DoH.sgmodule
23 | > **阿里云DoH :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/DoH/Moore/Ali-DoH.sgmodule
24 |
25 | ### 3. 安装方式
26 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
27 |
28 | ### 4. 更新模块方式
29 | **请按照以下步骤更新**
30 | #### 更新模块本身 :
31 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
32 |
33 | ## 作者
34 | **Rabbit-Spec
35 |
36 | ## 我用的机场
37 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
38 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
39 |
40 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Spec/DoH/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/DoH/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/DoH/img/2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/DoH/img/2.PNG
--------------------------------------------------------------------------------
/Module/Spec/General/README.md:
--------------------------------------------------------------------------------
1 | 🌐 通用设置增强
2 |
3 | 优化通用设置
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 优化通用设置,解决一些常见代理与app或设备冲突的问题
11 | > **详情可见 :** https://github.com/VirgilClyne/GetSomeFries/wiki/🌐-通用#简介
12 |
13 | ## How to use
14 | ### 1. 安装环境
15 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
16 | 最低支持版本 :
17 | >**AppStore 版 5.0 或更新版本**
18 | >**TestFlight 版 5.20.0 (2433) 或更新版本**
19 |
20 | ### 2. 模块安装链接
21 | > **公开版 :** https://raw.githubusercontent.com/VirgilClyne/GetSomeFries/main/sgmodule/General.sgmodule
22 |
23 | ### 3. 安装方式
24 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
25 |
26 | ### 4. 更新模块方式
27 | **请按照以下步骤更新**
28 | #### 更新模块本身 :
29 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
30 | #### 更新外部资源 :
31 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
32 |
33 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
34 |
35 | #### 若该模块失效可以联系作者
36 | - [@VirgilClyne](https://github.com/VirgilClyne)
37 |
38 | ## 我用的机场
39 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
40 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
41 |
42 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Spec/General/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/General/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/GoogleRewrite/Moore/GoogleRewrite.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=Google Rewrite
2 | #!desc=Safari 谷歌搜索重定向(Surge)
3 | #!system=ios
4 |
5 | [URL Rewrite]
6 | ^https?://(www.)?g.cn https://www.google.com 302
7 | ^https?://(www.)?google.cn https://www.google.com 302
8 |
9 | [MITM]
10 | hostname = %APPEND% www.google.cn, www.g.cn
--------------------------------------------------------------------------------
/Module/Spec/GoogleRewrite/README.md:
--------------------------------------------------------------------------------
1 | Google Rewrite
2 |
3 | Safari 谷歌搜索重定向(Surge)
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 解决使用Safari浏览器默认谷歌搜索需要跳转的问题。
11 |
12 | ## How to use
13 | ### 1. 安装环境
14 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
15 | 最低支持版本 :
16 | >**AppStore 版 4.9.3 或更新版本**
17 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
18 | ### 2. 模块安装链接
19 | > **稳定版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/GoogleRewrite/Moore/GoogleRewrite.sgmodule
20 |
21 | ### 3. 安装方式
22 | 打开 Surge -> 模块 -> 安装新模块 -> 复制粘贴上方的安装链接 -> 完成!
23 | ### 4. 更新模块方式
24 | **请按照以下步骤更新**
25 | #### 更新模块本身 :
26 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
27 |
28 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
29 |
30 | ## 共同作者
31 | **TributePaulWalker
32 | **Rabbit-Spec
33 |
34 | __以上順序不分排名__
35 |
36 | ## 我用的机场
37 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
38 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
39 |
40 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Spec/GoogleRewrite/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/GoogleRewrite/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/Hide-VPN-Icon/Moore/Hide-VPN-Icon.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=Hide VPN Icon
2 | #!desc=隐藏VPN图标
3 | #!system=ios
4 |
5 | [General]
6 | hide-vpn-icon = true
7 |
8 |
--------------------------------------------------------------------------------
/Module/Spec/Hide-VPN-Icon/README.md:
--------------------------------------------------------------------------------
1 | Hide VPN Icon
2 |
3 | 隐藏状态栏VPN图标
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 隐藏状态栏的系统VPN图标(该模块可能会导致「Cannot allocate memory」系统错误,请谨慎使用)。
11 |
12 | ## How to use
13 | ### 1. 安装环境
14 | **需要有网络调试工具 Surge 5.0**
15 | 最低支持版本 :
16 | >**AppStore 版 Surge 5.0 或更新版本**
17 | >**TestFlight 版 5.20.0 (2433) 或更新版本**
18 |
19 | ### 2. 模块安装链接
20 | > **稳定版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/Hide-VPN-Icon/Moore/Hide-VPN-Icon.sgmodule
21 |
22 | ### 3. 安装方式
23 | 打开 Surge -> 模块 -> 安装新模块 -> 复制粘贴上方的安装链接 -> 完成!
24 |
25 | ### 4. 更新模块方式
26 | **请按照以下步骤更新**
27 | #### 更新模块本身 :
28 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
29 |
30 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
31 |
32 | ## 共同作者
33 | **Rabbit-Spec
34 |
35 | __以上順序不分排名__
36 |
37 | ## 我用的机场
38 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
39 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
40 |
41 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
42 |
--------------------------------------------------------------------------------
/Module/Spec/Hide-VPN-Icon/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/Hide-VPN-Icon/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/JD_Price/Moore/JD_Price-Lite.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=京东比价Lite
2 | #!desc=京东、淘宝历史价格
3 | #!system=ios
4 |
5 | [Script]
6 | # > 京东比价
7 | 京东比价 = type=http-response,requires-body=1,pattern=^https?://api\.m\.jd\.com/client\.action\?functionId=(wareBusiness|serverConfig|basicConfig),script-path=https://raw.githubusercontent.com/yichahucha/surge/master/jd_price_lite.js
8 |
9 | [MITM]
10 | hostname = %APPEND% api.m.jd.com
11 |
--------------------------------------------------------------------------------
/Module/Spec/JD_Price/Moore/JD_Price.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=京东比价
2 | #!desc=京东历史价格
3 | #!system=ios
4 |
5 | [Script]
6 | # > 京东比价
7 | http-response ^https?:\/\/api\.m\.jd\.com\/client\.action\?functionId=(wareBusiness|serverConfig|basicConfig) requires-body=1,script-path= https://raw.githubusercontent.com/zwf234/rules/master/js/jd_price.js
8 |
9 | [MITM]
10 | hostname = %APPEND% api.m.jd.com
--------------------------------------------------------------------------------
/Module/Spec/JD_Price/README.md:
--------------------------------------------------------------------------------
1 | JD Price
2 |
3 | 京东商品历史价格
4 |
5 |
6 |
7 |
8 |
9 |
10 | ## 功能
11 | 1.标准版模块点击商品标题就可以显示历史价格。
12 | 2.Lite版模块在点进商品页面以后会以推送的方式显示历史价格。
13 |
14 | ## How to use
15 | ### 1. 安装环境
16 | **需要有网络调试工具 Surge 5.0**
17 | 最低支持版本 :
18 | >**AppStore 版 Surge 5.0 或更新版本**
19 | >**TestFlight 版 5.20.0 (2433) 或更新版本**
20 |
21 | ### 2. 模块安装链接
22 | > **标准版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/JD_Price/Moore/JD_Price.sgmodule
23 | > **Lite版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/JD_Price/Moore/JD_Price-Lite.sgmodule
24 |
25 | ### 3. 安装方式
26 | 打开 Surge -> 模块 -> 安装新模块 -> 复制粘贴上方的安装链接 -> 完成!
27 |
28 | ### 4. 更新模块方式
29 | **请按照以下步骤更新**
30 | #### 更新模块本身 :
31 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
32 | #### 更新外部资源 :
33 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
34 |
35 | **两次更新之间建议间隔5分钟以上,否则又几率页面缓存文档尚未更新导致更新失败
36 |
37 | ---
38 | #### 若标准版模块失效可以联系作者
39 | - [@zwf234](https://github.com/zwf234)
40 |
41 | #### 若Lite版模块失效可以联系作者
42 | - [@yichahucha](https://github.com/yichahucha)
43 |
44 | ## 我用的机场
45 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
46 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
47 |
48 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
49 |
--------------------------------------------------------------------------------
/Module/Spec/JD_Price/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/JD_Price/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/JD_Price/img/2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/JD_Price/img/2.PNG
--------------------------------------------------------------------------------
/Module/Spec/Skip-Proxy/README.md:
--------------------------------------------------------------------------------
1 | Skip Proxy Lists
2 |
3 | 跳过部分应用的代理检测
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 跳过如下应用的代理检测👇
11 | 网上国网、多看阅读、顺丰金融、广东农信、丰云行、中国银行缤纷生活、通信行程卡app、建行生活、沃小号、拉勾招聘
12 |
13 | ## How to use
14 | ### 1. 安装环境
15 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
16 | 最低支持版本 :
17 | >**AppStore 版 4.9.3 或更新版本**
18 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
19 |
20 | ### 2. 模块安装链接
21 | > **公开版 :** https://raw.githubusercontent.com/mieqq/mieqq/master/skip-proxy-lists.sgmodule
22 |
23 | ### 3. 安装方式
24 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
25 |
26 | ### 4. 更新模块方式
27 | **请按照以下步骤更新**
28 | #### 更新模块本身 :
29 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
30 | #### 更新外部资源 :
31 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
32 |
33 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
34 |
35 | #### 若该模块失效可以联系作者
36 | - [@mieqq](https://github.com/mieqq)
37 |
38 | ## 我用的机场
39 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
40 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
41 |
42 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
43 |
--------------------------------------------------------------------------------
/Module/Spec/Skip-Proxy/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/Skip-Proxy/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/Sub-Store/Moore/12hours.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=Sub-Store Sync
2 | #!desc=托管订阅更新
3 | #!system=ios
4 |
5 | [Script]
6 | Sub-Store Sync = type=cron,cronexp=0 05/12 * * *,script-path=https://raw.githubusercontent.com/Peng-YM/Sub-Store/master/backend/dist/cron-sync-artifacts.min.js,script-update-interval=0,wake-system=1
--------------------------------------------------------------------------------
/Module/Spec/Sub-Store/Moore/24hours.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=Sub-Store Sync
2 | #!desc=托管订阅更新
3 | #!system=ios
4 |
5 | [Script]
6 | Sub-Store Sync = type=cron,cronexp=0 01 * * *,script-path=https://raw.githubusercontent.com/Peng-YM/Sub-Store/master/backend/dist/cron-sync-artifacts.min.js,script-update-interval=0,wake-system=1
--------------------------------------------------------------------------------
/Module/Spec/Sub-Store/Moore/6hours.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=Sub-Store Sync
2 | #!desc=托管订阅更新
3 | #!system=ios
4 |
5 | [Script]
6 | Sub-Store Sync = type=cron,cronexp=0 00/6 * * *,script-path=https://raw.githubusercontent.com/Peng-YM/Sub-Store/master/backend/dist/cron-sync-artifacts.min.js,script-update-interval=0,wake-system=1
--------------------------------------------------------------------------------
/Module/Spec/Sub-Store/Moore/Sub-Store.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=Sub-Store
2 | #!desc=高级订阅管理工具 @Peng-YM 带 ability 参数版本
3 |
4 | [MITM]
5 | hostname = %APPEND% sub.store
6 |
7 | [Script]
8 | Sub-Store Core=type=http-request,pattern=^https?:\/\/sub\.store\/((download)|api\/(preview|sync|(utils\/node-info))),script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store-1.min.js,requires-body=true,timeout=120,ability=http-client-policy
9 |
10 | Sub-Store Simple=type=http-request,pattern=^https?:\/\/sub\.store,script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/sub-store-0.min.js,requires-body=true
11 |
--------------------------------------------------------------------------------
/Module/Spec/Sub-Store/README.md:
--------------------------------------------------------------------------------
1 | Sub-Store
2 |
3 | 一个本地的多机场节点整合、修改、自定义模块
4 |
5 |
6 |
7 |
8 |
9 |
10 | ## 功能
11 | 1. 可以方便的整合单个或多个机场的节点信息
12 | 2. 可以容易的对机场节点的名字、排序、筛选等进行修改
13 | 3. 可以快捷把整合好的节点信息进行多设备同步
14 | 4. 可以在后台定时将Sub-Store的订阅同步至gist
15 |
16 | ### 同步模块需要配合@Peng-YM大佬的Sub-Store本体模块一起使用
17 | > **稳定版 :** https://raw.githubusercontent.com/Peng-YM/Sub-Store/master/config/Surge.sgmodule
18 |
19 | ## 使用 Sub-Store
20 | 1. 安装Sub-Store模块
21 | 2. 开启MitM安装并信任证书。
22 | 3. 开启脚本功能开关。
23 | 4. 使用 Safari 打开这个 https://sub.store 如网页正常打开并且未弹出任何错误提示,说明 Sub-Store 已经配置成功。
24 | 5. 可以把 Sub-Store 添加到主屏幕,即可获得类似于 APP 的使用体验。
25 | 6. 更详细的使用指南请参考[文档](https://www.notion.so/Sub-Store-6259586994d34c11a4ced5c406264b46)。
26 |
27 | ## How to use
28 | ### 1. 安装环境
29 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
30 | 最低支持版本 :
31 | >**AppStore 版 4.9.3 或更新版本**
32 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
33 |
34 | ### 2. 模块安装链接
35 | > **凌晨1点开始每6个小时同步 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/Sub-Store/Moore/6hours.sgmodule
36 | > **早上5点开始每12个小时同步 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/Sub-Store/Moore/12hours.sgmodule
37 | > **凌晨1点开始每24个小时同步 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/Sub-Store/Moore/24hours.sgmodule
38 | 通常情况下建议使用「凌晨1点开始每24个小时同步」这个版本。
39 |
40 | ### 3. 安装方式
41 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
42 |
43 | ### 4. 更新模块方式
44 | **请按照以下步骤更新**
45 | #### 更新模块本身 :
46 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
47 | #### 更新外部资源 :
48 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
49 |
50 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
51 | (检查方式为 Surge -> 脚本 -> 脚本编辑器 -> 载入 -> Sub-Store Sync -> 检查代码是否与网页版本相同**
52 |
53 | ## 共同作者
54 | **Peng-YM
55 | **Rabbit-Spec
56 |
57 | __以上順序不分排名__
58 |
59 | ## 我用的机场
60 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
61 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
62 |
63 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Spec/Sub-Store/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/Sub-Store/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/Sub-Store/img/2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/Sub-Store/img/2.PNG
--------------------------------------------------------------------------------
/Module/Spec/Sub-Store/img/Sub-Store.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/Sub-Store/img/Sub-Store.jpg
--------------------------------------------------------------------------------
/Module/Spec/TestFlight/Moore/TestFlight.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=TestFlight区域限制解除
2 | #!desc=该模块适用于TestFlight更新时,提示"APP不可用"的问题。
3 | #!system=ios
4 | #!author=NobyDa
5 | #!repo=https://github.com/NobyDa/Script/tree/master
6 |
7 | [General]
8 | skip-proxy = %APPEND% iosapps.itunes.apple.com
9 |
10 | [Script]
11 | TestFlight下载修正 = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/javascript/94e30f41890b0534a28ac4e45edb8c76.js,pattern="^https?:\/\/testflight\.apple\.com\/v\d\/accounts\/.+?\/install$",requires-body=1,argument="\d+-\d+,\d+->143441-19,29"
12 |
13 | [MITM]
14 | hostname = %APPEND% testflight.apple.com
15 |
--------------------------------------------------------------------------------
/Module/Spec/TestFlight/Moore/TestFlightAccount.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=TestFlight账户管理
2 | #!desc=自动存储/合并多个TestFlight账户列表, 并可导出/分享TestFlight App。
3 | #!system=ios
4 | #!author=NobyDa
5 | #!repo=https://github.com/NobyDa/Script/tree/master
6 |
7 | [General]
8 | skip-proxy = %APPEND% iosapps.itunes.apple.com
9 |
10 | [Script]
11 | TestFlight账户管理 = type=http-request,pattern=^https:\/\/testflight\.apple\.com\/v\d\/(app|account|invite)s\/,requires-body=1,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/TestFlight/TestFlightAccount.js
12 |
13 | [MITM]
14 | hostname = %APPEND% testflight.apple.com
15 |
--------------------------------------------------------------------------------
/Module/Spec/TestFlight/README.md:
--------------------------------------------------------------------------------
1 | TestFlight
2 |
3 | 区域限制解除/账户管理
4 |
5 |
6 |
8 |
9 | ## 功能
10 | 1. 适用于TestFlight更新时,提示"APP不可用"的问题。
11 | 2. 自动存储/合并多个TestFlight账户列表, 并可导出/分享TestFlight App。
12 |
13 | ## How to use
14 | ### 1. 安装环境
15 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
16 | 最低支持版本 :
17 | >**AppStore 版 4.9.3 或更新版本**
18 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
19 |
20 | ### 2. 模块安装链接
21 | > **TestFlight区域限制解除 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/TestFlight/Moore/TestFlight.sgmodule
22 | > **TestFlight账户管理 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/TestFlight/Moore/TestFlightAccount.sgmodule
23 | (TestFlight账户管理模块包括了区域限制解除,请不要重复安装。若没有TestFlight的账户管理需求,请直接安装区域限制解除模块)
24 |
25 | ### 3. 安装方式
26 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
27 |
28 | ### 4. 更新模块方式
29 | **请按照以下步骤更新**
30 | #### 更新模块本身 :
31 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
32 | #### 更新外部资源 :
33 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
34 |
35 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
36 | (检查方式为 Surge -> 脚本 -> 脚本编辑器 -> 载入 -> 「TestFlight下载修正」或「TestFlight账户管理」 -> 检查代码是否与网页版本相同**
37 |
38 | ## 共同作者
39 | **NobyDa
40 | **Rabbit-Spec
41 |
42 | __以上順序不分排名__
43 |
44 | ## 我用的机场
45 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
46 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
47 |
48 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Spec/TestFlight/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/TestFlight/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/Tieba/Moore/Tieba.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=贴吧净化
2 | #!desc=贴吧官方App净化
3 | #!system=ios
4 |
5 | [Rule]
6 | RULE-SET,https://raw.githubusercontent.com/app2smile/rules/master/rule/tieba-ad.list,REJECT-DROP
7 |
8 | [Script]
9 | 贴吧净化 = type=http-response,pattern=^http(s:\/\/tiebac|:\/\/c\.tieba)\.baidu\.com\/(tiebaads\/commonbatch|c\/s\/sync),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/app2smile/rules/master/js/tieba-json.js,script-update-interval=0
10 | 贴吧Proto = type=http-response,pattern=^http(s:\/\/tiebac|:\/\/c\.tieba)\.baidu\.com\/c\/f\/(frs\/(page|threadlist|generalTabList)|pb\/page|excellent\/personalized),requires-body=1,binary-body-mode=1,max-size=0,script-path=https://raw.githubusercontent.com/app2smile/rules/master/js/tieba-proto.js,script-update-interval=0
11 |
12 | [MITM]
13 | hostname = %APPEND% tiebac.baidu.com
14 |
--------------------------------------------------------------------------------
/Module/Spec/Tieba/README.md:
--------------------------------------------------------------------------------
1 |
贴吧净化
2 |
3 | 还你一个干净的贴吧浏览体验
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 1. 移除开屏广告
11 | 2. 移除看图模式广告
12 | 3. 移除详情页直播/关联商品/广告
13 | 4. 移除推荐和吧内帖子列表的直播及广告
14 | 5. 移除首页和帖子详情页右下角悬浮广告
15 |
16 | ## How to use
17 | ### 1. 安装环境
18 | **需要有网络调试工具 Surge ,且要系统版本≥iOS 15**
19 | 最低支持版本 :
20 | >**AppStore 版 4.9.3 或更新版本**
21 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
22 |
23 | ### 2. 模块安装链接
24 | > **稳定版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/Tieba/Moore/Tieba.sgmodule
25 |
26 | ### 3. 安装方式
27 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
28 | #### 需要开启MitM并信任证书,需要开启脚本
29 |
30 | ### 4. 更新模块方式
31 | **请按照以下步骤更新**
32 | #### 更新模块本身 :
33 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
34 | #### 更新外部资源 :
35 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
36 |
37 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
38 |
39 | #### 若贴吧净化模块失效可以联系作者
40 | - [@app2smile](https://github.com/app2smile)
41 |
42 | ## 我用的机场
43 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
44 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
45 |
46 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Spec/Tieba/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/Tieba/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/Tieba_Checkin/README.md:
--------------------------------------------------------------------------------
1 | 贴吧签到
2 |
3 | 百度贴吧每日自动签到
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 1.每日上午9:30自动签到,显示签到贴吧总数、成功数量、失败数量
11 | 2.针对签到失败的贴吧,进行10次,每次间隔2秒的重试,可以极大提高签到成功率。
12 |
13 | ## 注意事项
14 | Surge在获取Cookie时,需要在MITM中设置h2=false,即关闭 MITM over HTTP/2,否则会提示获取Cookie出现异常。
15 |
16 | 需要用MITM over HTTP/2的话,建议在获取Cookie时临时关闭,获取成功后再开启,或者等待客户端修复。
17 |
18 | ## How to use
19 | ### 1. 安装环境
20 | **需要有网络调试工具 Surge**
21 | 最低支持版本 :
22 | >**AppStore 版 4.9.3 或更新版本**
23 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
24 |
25 | ### 2. 模块安装链接
26 | > **公开版 :** https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/tieba/tieba_checkin.sgmodule
27 |
28 | ### 3. 安装方式
29 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
30 | #### 需要开启MitM并信任证书,需要开启脚本
31 |
32 | ### 4. 更新模块方式
33 | **请按照以下步骤更新**
34 | #### 更新模块本身 :
35 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
36 | #### 更新外部资源 :
37 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
38 |
39 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
40 |
41 | #### 若贴吧签到模块失效可以联系作者
42 | - [@blackmatrix7](https://github.com/blackmatrix7)
43 |
44 | ## 我用的机场
45 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
46 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
47 |
48 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Spec/Tieba_Checkin/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/Tieba_Checkin/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/Weibo/Moore/UserShow.js:
--------------------------------------------------------------------------------
1 | var obj = JSON.parse($response.body);
2 | obj.user_ability_extend = 1;
3 | obj.verified_type_ext = 1;
4 | const verified_detail = {
5 | "custom": 1,
6 | "data": [
7 | {
8 | "key": 1,
9 | "weight": 10,
10 | "sub_key": 0,
11 | "desc": "Surge Pro"
12 | }
13 | ]
14 | };
15 | obj.geo_enabled = false;
16 | obj.verified_detail = verified_detail;
17 | obj.svip = 1;
18 | obj.verified_reason = "Surge 5";
19 | obj.statuses_count = 0;
20 | obj.orange_v = "Surge 5";
21 | obj.verified_level = 2;
22 | obj.avatargj_id = "gj_vip_583";
23 | obj.verified = true;
24 | obj.has_ability_tag = 1;
25 | obj.type = 1;
26 | obj.star = 1;
27 | obj.friendships_relation = 2;
28 | obj.icons = [
29 | {
30 | "url": "https:\/\/h5.sinaimg.cn\/upload\/1004\/409\/2021\/06\/08\/feed_icon_100vip_7.png",
31 | "scheme": "https:\/\/me.verified.weibo.com\/fans\/intro?topnavstyle=1"
32 | }
33 | ];
34 | const verified = {
35 | "scheme": "",
36 | "icon_video_style_dark": "https:\/\/h5.sinaimg.cn\/upload\/1059\/799\/2021\/04\/16\/video_verified_dark.png",
37 | "icon_video_style": "https:\/\/h5.sinaimg.cn\/upload\/1059\/799\/2021\/04\/16\/video_verified.png",
38 | "icon_dark": "https:\/\/h5.sinaimg.cn\/upload\/1059\/799\/2020\/05\/19\/verified-dark.png",
39 | "actionlog": {
40 | "uicode": "10000198",
41 | "cardid": "",
42 | "luicode": "10000011",
43 | "act_code": 4630,
44 | "ext": "name:verified",
45 | "fid": "",
46 | "lfid": "profile_me",
47 | "oid": ""
48 | },
49 | "icon": "https:\/\/h5.sinaimg.cn\/upload\/1059\/799\/2020\/05\/19\/verified.png",
50 | "desc": "Surge 5"
51 | };
52 | // if(obj.infoList[0].actionlog.ext !='name:verified') obj.infoList.splice(0, 0, verified);
53 | obj.badge = {
54 | "uc_domain": 1,
55 | "enterprise": 1,
56 | "anniversary": 1,
57 | "taobao": 1,
58 | "gongyi": 1,
59 | "gongyi_level": 1,
60 | "bind_taobao": 1,
61 | "dailv": 1,
62 | "zongyiji": 1,
63 | "vip_activity1": 1,
64 | "unread_pool": 1,
65 | "daiyan": 1,
66 | "vip_activity2": 1,
67 | "fools_day_2016": 1,
68 | "uefa_euro_2016": 1,
69 | "unread_pool_ext": 1,
70 | "self_media": 1,
71 | "dzwbqlx_2016": 1,
72 | "discount_2016": 1,
73 | "follow_whitelist_video": 1,
74 | "league_badge": 1,
75 | "lol_msi_2017": 1,
76 | "super_star_2017": 1,
77 | "video_attention": 1,
78 | "travel_2017": 1,
79 | "lol_gm_2017": 1,
80 | "cz_wed_2017": 1,
81 | "inspector": 1,
82 | "panda": 1,
83 | "uve_icon": 1,
84 | "user_name_certificate": 1,
85 | "suishoupai_2018": 1,
86 | "wenda": 1,
87 | "wenchuan_10th": 1,
88 | "super_star_2018": 1,
89 | "worldcup_2018": 1,
90 | "wenda_v2": 1,
91 | "league_badge_2018": 1,
92 | "dailv_2018": 1,
93 | "asiad_2018": 1,
94 | "qixi_2018": 1,
95 | "yiqijuan_2018": 1,
96 | "meilizhongguo_2018": 1,
97 | "lol_s8": 1,
98 | "kpl_2018": 1,
99 | "national_day_2018": 1,
100 | "double11_2018": 1,
101 | "weibo_display_fans": 1,
102 | "relation_display": 1,
103 | "wbzy_2018": 1,
104 | "memorial_2018": 1,
105 | "v_influence_2018": 1,
106 | "hongbaofei_2019": 1,
107 | "status_visible": 1,
108 | "denglong_2019": 1,
109 | "fu_2019": 1,
110 | "womensday_2018": 1,
111 | "avengers_2019": 1,
112 | "suishoupai_2019": 1,
113 | "wusi_2019": 1,
114 | "earth_2019": 1,
115 | "hongrenjie_2019": 1,
116 | "dailv_2019": 1,
117 | "china_2019": 1,
118 | "hongkong_2019": 1,
119 | "jvhuasuan_2019": 1,
120 | "taohuayuan_2019": 1,
121 | "dzwbqlx_2019": 1,
122 | "rrgyj_2019": 1,
123 | "cishan_2019": 1,
124 | "family_2019": 1,
125 | "shouhuan_2019": 1,
126 | "ant_2019": 1,
127 | "weishi_2019": 1,
128 | "shuang11_2019": 1,
129 | "kdx_2019": 1,
130 | "wbzy_2019": 1,
131 | "starlight_2019": 1,
132 | "daqi_2019": 1,
133 | "gongjiri_2019": 1,
134 | "macao_2019": 1,
135 | "china_2019_2": 1,
136 | "hongbao_2020": 2,
137 | "feiyan_2020": 1,
138 | "hope_2020": 1,
139 | "kangyi_2020": 1,
140 | "daka_2020": 1,
141 | "green_2020": 1,
142 | "graduation_2020": 1,
143 | "pc_new": 6,
144 | "kfc_2020": 1,
145 | "dailv_2020": 1,
146 | "movie_2020": 1,
147 | "mi_2020": 1,
148 | "vpick_2020": 1,
149 | "cddyh_2020": 1,
150 | "nike_2020": 1,
151 | "school_2020": 1,
152 | "gongyi_2020": 1,
153 | "hongrenjie_2020": 1,
154 | "test_icon": 1,
155 | "china_2020": 1,
156 | "nissan_2020": 1,
157 | "zjszgf_2020": 1,
158 | "zaolang_2020": 1,
159 | "aizi_2020": 1,
160 | "wennuanji_2020": 1,
161 | "weibozhiye_2020": 1,
162 | "yijia7_2020": 1,
163 | "kfcflag_2021": 1,
164 | "hongbaofeifuniu_2021": 1,
165 | "cuccidlam20_2021": 1,
166 | "cuccidlam12_2021": 1,
167 | "cuccidlam25_2021": 1,
168 | "hongbaofeijika_2021": 1,
169 | "shequweiyuan_2021": 1,
170 | "weibozhiyexianxia_2021": 1,
171 | "zhongcaoguan_2021": 1,
172 | "nihaoshenghuojie_2021": 1,
173 | "lvzhilingyang_2021": 1,
174 | "xiaominewlogo_2021": 1,
175 | "disney5_2021": 1,
176 | "earthguarder_2021": 1,
177 | "yuanlongping_2021": 1,
178 | "ylpshuidao_2021": 1,
179 | "brand_account_2021": 1,
180 | "gaokao_2021": 1,
181 | "ouzhoubei_2021": 1,
182 | "biyeji_2021": 1,
183 | "party_cardid_state": 2,
184 | "hongrenjie_2021": 1,
185 | "aoyun_2021": 1,
186 | "zhongcaouser_2021": 1,
187 | "dailu_2021": 1,
188 | "companion_card": 1,
189 | "fishfarm_2021": 1,
190 | "kaixue21_2021": 1,
191 | "zhonghuacishanri_2021": 1,
192 | "renrengongyijie_2021": 1,
193 | "yinyuejie21_2021": 1,
194 | "qianbaofu_2021": 1,
195 | "yingxionglianmengs11_2021": 1,
196 | "yxlmlpl_2021": 1,
197 | "hongbaofei_2022": 1,
198 | "qichenqiche_2021": 1,
199 | "weibozhiye_2021": 1,
200 | "weibozhiyebobao_2021": 1,
201 | "social_content": 1,
202 | "hongbaofei2022_2021": 1,
203 | "dongaohui_2022": 1,
204 | "pc_experiment": 1,
205 | "youyic_2022": 1,
206 | "newdongaohui_2022": 1,
207 | "bddxrrdongaohui_2022": 1,
208 | "lvzhilingyang_2022": 1,
209 | "wenmingxiaobiaobing_2022": 1,
210 | "nihaochuntian_2022": 1,
211 | "video_visible": 1,
212 | "ceshiicon_2022": 1,
213 | "zuimeilaodongjie_2022": 1,
214 | "iplocationchange_2022": 1,
215 | "biyeji_2022": 1,
216 | "shuidao_2022": 1,
217 | "mengniu_2022": 1,
218 | "is_university": 1,
219 | "city_university": 1,
220 | "gaokao_2022": 1,
221 | "quanminjianshen_2022": 1,
222 | "hangmu_2022": 1,
223 | "guoqi_2022": 1,
224 | "gangqi_2022": 1,
225 | "dailv_2022": 1,
226 | "dailvmingxing_2022": 1
227 | };
228 | $done({ body: JSON.stringify(obj) });
--------------------------------------------------------------------------------
/Module/Spec/Weibo/Moore/Weibo-Test.sgmodule:
--------------------------------------------------------------------------------
1 | #!name= 微博净化
2 | #!desc=微博官方App净化
3 | #!system=ios
4 |
5 | [Rule]
6 | # > 微博其它
7 | URL-REGEX,^https?:\/\/.+\/wbts\.png$,REJECT
8 | URL-REGEX,^https?:\/\/.+\/licai\.png$,REJECT
9 | URL-REGEX,^https?:\/\/.+\/3fc\.png$,REJECT
10 | URL-REGEX,^https?:\/\/.+\/pull-flv-(.*)\.douyincdn\.com\/stage\/.+\.flv,REJECT
11 | URL-REGEX,^https?:\/\/h5\.sinaimg\.cn\/upload\/.+\/NavigationBar_Video_Icon_Live_Normal\.png$,REJECT
12 | URL-REGEX,^https?:\/\/.+\.sinaimg\.cn\/.+\/(.*)?(fish|redicon|redpacket)(.*)?\.(png|jpg|jpeg|gif)$,REJECT
13 | URL-REGEX,^https?:\/\/.+\.sinaimg\.cn\/.+\/lipin_dongtu\.gif$,REJECT
14 | # URL-REGEX,^https?:\/\/h5\.sinaimg\.cn\/upload\/1071\/1468\/.+\/.+\.gif$,REJECT
15 | URL-REGEX,^https?:\/\/h5\.sinaimg\.cn\/m\/taskcenter,REJECT
16 | URL-REGEX,^https?:\/\/h5\.sinaimg\.cn\/m\/taskcenter\/js\/vendor\.+\.js$,REJECT
17 | URL-REGEX,^https?:\/\/h5\.sinaimg\.cn\/m\/taskcenter\/js\/app\.+\.js$,REJECT
18 | URL-REGEX,^https?:\/\/h5\.sinaimg\.cn\/m\/taskcenter\/js\/0\.+\.js$,REJECT
19 | URL-REGEX,^https?:\/\/h5\.sinaimg\.cn\/m\/taskcenter\/js\/index\.lazy\.+\.js$,REJECT
20 | URL-REGEX,^https?:\/\/h5\.sinaimg\.cn\/m\/taskcenter\/js\/app\.+\.js$,REJECT
21 | URL-REGEX,^https?:\/\/h5\.sinaimg\.cn\/m\/taskcenter\/js\/vendor\.+\.js$,REJECT
22 | URL-REGEX,^https?:\/\/captcha\.weibo\.com\/static\/js\/jigsawLock\.min\.js$,REJECT
23 | URL-REGEX,^https?:\/\/wx[0-9]\.sinaimg\.cn\/large\/.+\.gif$,REJECT
24 |
25 | [Map Local]
26 | # > 微博
27 | ^https?:\/\/h5\.sinaimg\.cn\/upload\/.+\/fhy_dongtu\.gif$ data="https://hub.nange.cn/Mock/Weibo/hy_dongtu.gif"
28 | ^https?:\/\/h5\.sinaimg\.cn\/upload\/.+\/bianjijiantou\.png$ data="https://hub.nange.cn/Mock/Weibo/jiantougaocheng.png"
29 | ^https?:\/\/h5\.sinaimg\.cn\/upload\/.+\/Vip\.png$ data="https://hub.nange.cn/Mock/Weibo/avatar_vip_golden.png"
30 | ^https?:\/\/h5\.sinaimg\.cn\/upload\/.+\/vip[0-9]_default\.png$ data="https://hub.nange.cn/Mock/Weibo/feed_icon_100vip_7_default.png"
31 |
32 | # > 微博积分弹窗
33 | ^https?:\/\/luck\.sc\.weibo\.com\/aj\/Action\/indexInfo$ data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
34 |
35 | # > 会员中心弹窗
36 | ^https?:\/\/new\.vip\.weibo\.c(n|om)\/aj\/vipcenter\/popalert data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
37 | ^https?:\/\/new\.vip\.weibo\.c(n|om)\/aj\/vipcenter\/userdata data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
38 |
39 | # > 微博推荐
40 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/statuses\/unread_hot_timeline\?gsid= data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
41 |
42 | # > 获取设备型号
43 | ^https?:\/\/m?api\.weibo\.c(n|om)\/device\/get data="https://hub.nange.cn/Mock/Weibo/getDevice.json"
44 |
45 | # > 微博发现
46 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/search\/container_discover\?gsid= data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
47 |
48 | # > 微博话题按钮红点
49 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/!\/huati\/discovery_home_bottom_getdotinfo data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
50 |
51 | # > 微博超话看帖
52 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/!\/huati\/discovery_home_bottom_channel_list data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
53 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/statuses\/unread_topic_timeline data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
54 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/statuses\/container_timeline_topic data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
55 |
56 | # > 微博网络检测
57 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/carrier\/get\/info data="https://hub.nange.cn/Mock/Weibo/carrier.json"
58 |
59 | # > 微博订单
60 | ^https?:\/\/shop\.sc\.weibo\.com\/aj\/h5\/order\/prolist data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
61 |
62 | # > 微博视频推荐
63 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/video\/redpacket data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
64 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/video\/community_tab data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
65 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/!\/multimedia\/playback\/batch_get data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
66 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/!\/multimedia\/video\/comments\/get_comments_order_by_hot data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
67 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/video\/tiny_stream_channel_list data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
68 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/video\/tiny_stream_video_list data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
69 |
70 | # > 微博其它
71 | ^https?:\/\/letsgo\.e\.weibo\.com\/stracker\/fe\/report data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
72 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/!\/multimedia\/video\/red_package\/grow_follower\/active_uids data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
73 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/client\/tabbar data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
74 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/push\/daily data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
75 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/page\/get_fragment data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
76 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/push\/active data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
77 | ^https?:\/\/m\.weibo\.cn\/c\/checkin data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
78 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/video\/machine data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
79 | ^https?:\/\/fastimage\.uve\.weibo\.com\/interface\/sdk\/getad\.php$ data="https://hub.nange.cn/Mock/Weibo/fastimage.json"
80 | ^https?:\/\/sdkapp\.uve\.weibo\.com\/interface\/sdk\/actionpro\.php data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
81 | ^https?:\/\/sdkclick\.uve\.weibo\.com\/interface\/sdk\/sdkclick\.php data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
82 | ^https?:\/\/sdkapp\.uve\.weibo\.com\/interface\/sdk\/sdkconfig\.php data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
83 | ^https?:\/\/m?api\.weibo\.c(n|om)\/2\/hot\/repost_daily data="https://hub.nange.cn/Mock/Blank/Blank_Dict.json"
84 |
85 | [Script]
86 | # > 微博个人信息
87 | 主页 = type=http-response,pattern=^https?:\/\/api\.weibo\.cn\/2\/profile\?gsid=,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/Weibo/Moore/Profile.js
88 |
89 | 个人信息 = type=http-response,pattern=^https?:\/\/api\.weibo\.cn\/2\/users\/(show|relation),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/Weibo/Moore/UserShow.js
90 |
91 | 消息列表 = type=http-response,pattern=^https?:\/\/api\.weibo\.cn\/2\/(direct_messages\/user_list|messageflow\/notice)\?gsid=,requires-body=1,max-size=0,script-path=https://hub.nan.ge/Script/Weibo/Message.js
92 |
93 | # > 微博去广告
94 | 微博 = type=http-response,pattern=^https?://m?api\.weibo\.c(n|om)/2/(profile/(me|statuses)|searchall|statuses/(unread_hot_timeline|extend|video_mixtimeline)|video/(community_tab|remind_info|tiny_stream_video_list)|checkin/show|container/get_item),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/Weibo/Moore/Weibo.js
95 |
96 | 开屏 = requires-body=1,script-path=https://hub.nan.ge/Script/Weibo/Launch.js,type=http-response,pattern=^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua)
97 |
98 | 微博信息流 = type=http-response,requires-body=1,max-size=-1,pattern=^https?:\/\/m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|cardlist|page|!/(photos/pic_recommend_status|live/media_homelist|wbox\/.+\/createrIndex|st_videos\/tiny\/effect\/shoot_display_config)|video/tiny_stream_video_list|photo/info|remind/unread_count|search/finder|search/container_timeline|!\/huati\/discovery_home_bottom_channel_list|statuses\/unread_topic_timeline),script-path=https://hub.nange.cn/Script/Weibo/Timeline.js
99 |
100 | 微博钱包订单 = type=http-response,pattern=(^https?:\/\/js\.t\.sinajs\.cn\/c2p\/sam\/frontend\/assets\/walletcache\.json|^https?:\/\/pay\.sc\.weibo\.com\/api\/client\/sdk\/app\/indexnew\/(index|person)|^https?:\/\/shop\.sc\.weibo\.com\/aj\/h5\/order\/center),requires-body=1,max-size=0,script-path=https://hub.nange.cn/Script/Weibo/Wallet.js
101 |
102 | # > 微博配置注入
103 | 微博去广告配置注入 = type=cron,cronexp="0 0 1 ? * MON",debug=1,script-path=https://hub.nange.cn/Script/Weibo/Config.js
104 |
105 | [MITM]
106 | hostname = %APPEND% *.uve.weibo.com, *api.weibo.cn, *api.weibo.com, h5.sinaimg.cn, new.vip.weibo.cn, *.sc.weibo.com, captcha.weibo.com, wx*.sinaimg.cn, js.t.sinajs.cn, *.e.weibo.com
107 |
--------------------------------------------------------------------------------
/Module/Spec/Weibo/Moore/Weibo.sgmodule:
--------------------------------------------------------------------------------
1 | #!name= 微博净化
2 | #!desc=微博官方App净化
3 | #!system=ios
4 |
5 | [Map Local]
6 | # > 微博
7 | ^https?:\/\/h5\.sinaimg\.cn\/upload\/.+\/fhy_dongtu\.gif$ data="https://hub.nan.ge/Mock/Weibo/hy_dongtu.gif"
8 | ^https?:\/\/h5\.sinaimg\.cn\/upload\/.+\/bianjijiantou\.png$ data="https://hub.nan.ge/Mock/Weibo/jiantougaocheng.png"
9 | ^https?:\/\/h5\.sinaimg\.cn\/upload\/.+\/Vip\.png$ data="https://hub.nan.ge/Mock/Weibo/avatar_vip_golden.png"
10 | ^https?:\/\/h5\.sinaimg\.cn\/upload\/.+\/vip[0-9]_default\.png$ data="https://hub.nan.ge/Mock/Weibo/feed_icon_100vip_7_default.png"
11 |
12 | [Script]
13 | # > 微博个人信息
14 | 主页 = type=http-response,pattern=^https?:\/\/api\.weibo\.cn\/2\/profile\?gsid=,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/Weibo/Moore/Profile.js
15 |
16 | 个人信息 = type=http-response,pattern=^https?:\/\/api\.weibo\.cn\/2\/users\/(show|relation),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/Weibo/Moore/UserShow.js
17 |
18 | 消息列表 = type=http-response,pattern=^https?:\/\/api\.weibo\.cn\/2\/(direct_messages\/user_list|messageflow\/notice)\?gsid=,requires-body=1,max-size=0,script-path=https://hub.nan.ge/Script/Weibo/Message.js
19 |
20 | # > 微博去广告
21 | 扩展 = type=http-response,pattern=^https?://m?api\.weibo\.c(n|om)/2/(profile/(me|statuses)|searchall|statuses/(unread_hot_timeline|extend|video_mixtimeline)|video/(community_tab|remind_info|tiny_stream_video_list)|checkin/show|container/get_item),requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/Weibo/Moore/Weibo.js
22 |
23 | 开屏 = requires-body=1,script-path=https://hub.nan.ge/Script/Weibo/Launch.js,type=http-response,pattern=^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua)
24 |
25 | 微博 = type=http-response,requires-body=1,max-size=-1,pattern=^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|cardlist|page|!/(photos/pic_recommend_status|live/media_homelist|wbox\/.+\/createrIndex|st_videos\/tiny\/effect\/shoot_display_config)|video/tiny_stream_video_list|photo/info|remind/unread_count),script-path=https://hub.nan.ge/Script/Weibo/Timeline.js
26 |
27 | 微博钱包 = type=http-response,pattern=^https?:\/\/pay\.sc\.weibo\.com\/api\/client\/sdk\/app\/indexnew\/(index|person),requires-body=1,max-size=0,script-path=https://hub.nan.ge/Script/Weibo/Wallet.js
28 |
29 | # > 微博配置变量注入
30 | 微博去广告配置 = type=cron,cronexp="0 0 1 1 * ? ",debug=1,script-path=https://hub.nan.ge/Script/Weibo/Config.js
31 |
32 | [MITM]
33 | hostname = %APPEND% *.uve.weibo.com, api.weibo.cn, api.weibo.com, mapi.weibo.com, mapi.weibo.cn, h5.sinaimg.cn, pay.sc.weibo.com
--------------------------------------------------------------------------------
/Module/Spec/Weibo/README.md:
--------------------------------------------------------------------------------
1 | 微博净化
2 |
3 | 还你一个干净的微博浏览体验
4 |
5 |
6 |
7 |
8 |
9 |
10 | ## 功能
11 | 1. 净化各种广告
12 | 2. 修改主页微博认证为Surge Pro
13 | 3. 修改VIP界面显示内容(并不是破解微博VIP)
14 |
15 | ## How to use
16 | ### 1. 安装环境
17 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
18 | 最低支持版本 :
19 | >**AppStore 版 4.9.3 或更新版本**
20 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
21 |
22 | ### 2. 模块安装链接
23 | > **稳定版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/Weibo/Moore/Weibo.sgmodule
24 |
25 | ### 3. 安装方式
26 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
27 |
28 | ### 4. 更新模块方式
29 | **请按照以下步骤更新**
30 | #### 更新模块本身 :
31 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
32 | #### 更新外部资源 :
33 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
34 |
35 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
36 |
37 | ## 共同作者
38 | **Soonhu
39 | **Rabbit-Spec
40 |
41 | __以上順序不分排名__
42 |
43 | ## 我用的机场
44 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
45 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
46 |
47 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
48 |
--------------------------------------------------------------------------------
/Module/Spec/Weibo/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/Weibo/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/Weibo/img/2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/Weibo/img/2.PNG
--------------------------------------------------------------------------------
/Module/Spec/Zhihu/README.md:
--------------------------------------------------------------------------------
1 | 知乎净化
2 |
3 | 还你一个干净的知乎浏览体验
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 去除知乎广告,提供付费内容提醒、黑名单增强等优化阅读体验的功能。
11 |
12 | 分为Plus和Lite两个版本,Lite只提供最纯粹的去广告功能,Plus带有一些优化阅读体验的功能。
13 |
14 | ## 版本切换
15 |
16 | 在Lite版本和Plus版本切换时,务必手动运行一次脚本,清理持久化数据,以免影响切换效果。
17 |
18 | 清理持久化数据后,如果使用Plus版本,请重新获取黑名单。
19 |
20 | ## How to use
21 | ### 1. 安装环境
22 | **需要有网络调试工具 Surge ,且要付费至具有面板功能**
23 | 最低支持版本 :
24 | >**AppStore 版 4.9.3 或更新版本**
25 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
26 |
27 | ### 2. 模块安装链接
28 | > **Plus版 :** https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.sgmodule
29 | > **Lite版 :** https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_lite.sgmodule
30 |
31 | ### 3. 安装方式
32 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
33 |
34 | ### 4. 更新模块方式
35 | **请按照以下步骤更新**
36 | #### 更新模块本身 :
37 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
38 | #### 更新外部资源 :
39 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
40 |
41 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
42 |
43 | #### 若知乎净化模块失效可以联系作者
44 | - [@blackmatrix7](https://github.com/blackmatrix7)
45 |
46 | ## 我用的机场
47 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
48 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
49 |
50 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
51 |
--------------------------------------------------------------------------------
/Module/Spec/Zhihu/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/Zhihu/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/macOS-Translate/Moore/macOS-Translate.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=macOS翻译
2 | #!desc=解决macOS下翻译功能不可用的问题
3 |
4 | [General]
5 | # > 跳过代理
6 | skip-proxy = seed-sequoia.siri.apple.com, sequoia.apple.com
--------------------------------------------------------------------------------
/Module/Spec/macOS-Translate/README.md:
--------------------------------------------------------------------------------
1 | macOS翻译
2 |
3 | 一个可以解决macOS下无法正常使用系统翻译功能的模块
4 |
5 |
6 |
7 |
8 |
9 | ## 功能
10 | 解决在macOS下无法正常使用系统翻译功能
11 |
12 | ## How to use
13 | ### 1. 安装环境
14 | **需要有网络调试工具 Surge 5.0**
15 | 最低支持版本 :
16 | >**AppStore 版 Surge 5.0 或更新版本**
17 | >**TestFlight 版 5.20.0 (2433) 或更新版本**
18 |
19 | ### 2. 模块安装链接
20 | > **稳定版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/macOS-Translate/Moore/macOS-Translate.sgmodule
21 |
22 | ### 3. 安装方式
23 | 打开 Surge for Mac -> 更多 -> 模块 -> 从URL安装模块... -> 复制粘贴上方的安装链接 -> 启用模块 -> 完成!
24 |
25 | ### 4. 更新模块方式
26 | **请按照以下步骤更新**
27 | #### 更新模块本身 :
28 | 打开 Surge for Mac -> 更多 -> 模块 -> 找到本模块 -> 右键后点击更新
29 |
30 | ## 作者
31 | **Rabbit-Spec
32 |
33 | ## 我用的机场
34 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
35 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
36 |
37 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Spec/macOS-Translate/img/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/macOS-Translate/img/1.png
--------------------------------------------------------------------------------
/Module/Spec/macOS-Translate/img/2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/macOS-Translate/img/2.PNG
--------------------------------------------------------------------------------
/Module/Spec/smzdm/Moore/smzdm.sgmodule:
--------------------------------------------------------------------------------
1 | #!name=什么值得买
2 | #!desc=每日自动签到+去广告
3 | #!system=ios
4 |
5 | [URL Rewrite]
6 | # 什么值得买_好价详情页去广告
7 | ^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/other_modul - reject
8 | # 什么值得买_好价详情页红包小助手
9 | ^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/user_related_modul - reject
10 | # 什么值得买_Wiki(618晒物活动推广,将来可能不是广告)
11 | ^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/wiki_related_modul - reject
12 |
13 | [Script]
14 | 什么值得买_每日签到 = script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js,timeout=120,type=cron,cronexp=5 0 * * *
15 | 什么值得买_获取cookie = script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_daily.js,type=http-request,requires-body=false,pattern=^https?:\/\/zhiyou\.smzdm\.com\/user\/?$
16 | 什么值得买_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/app-api\.smzdm\.com\/util\/loading,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
17 | 什么值得买_首页去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/homepage-api\.smzdm\.com\/v3\/home,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
18 | 什么值得买_好价去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/haojia-api\.smzdm\.com\/home\/list,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
19 | 什么值得买_好价详情页去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/article_releated_modul,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
20 | 什么值得买_百科去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/baike-api\.smzdm\.com\/home_v3\/list,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
21 | 什么值得买_搜索结果去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/s-api\.smzdm\.com\/sou\/list_v10,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
22 | 什么值得买_搜索标签去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/s-api\.smzdm\.com\/sou\/filter\/tags\/hot_tags,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
23 | 什么值得买_值会员权益中心banner去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/zhiyou\.m\.smzdm\.com\/user\/vip\/ajax_get_banner,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js
24 |
25 | [MITM]
26 | hostname = %APPEND% zhiyou.smzdm.com,app-api.smzdm.com,homepage-api.smzdm.com,haojia-api.smzdm.com,haojia.m.smzdm.com,baike-api.smzdm.com,s-api.smzdm.com,zhiyou.m.smzdm.com
--------------------------------------------------------------------------------
/Module/Spec/smzdm/README.md:
--------------------------------------------------------------------------------
1 | 什么值得买
2 |
3 | 每日自动签到+去广告
4 |
5 |
6 |
7 |
8 |
9 |
10 | ## 功能
11 | 1. 什么值得买每日自动签到
12 | 2. 去除什么值得买首页、好价、好文内的广告
13 |
14 | ## How to use
15 | ### 1. 安装环境
16 | 最低支持版本 :
17 | >**AppStore 版 4.9.3 或更新版本**
18 | >**TestFlight 版 4.11.0 (2014) 或更新版本**
19 |
20 |
21 | ### 2. 模块安装链接
22 | > **稳定版 :** https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Spec/smzdm/Moore/smzdm.sgmodule
23 |
24 | ### 3. 安装方式
25 | 打开 Surge -> 模块 -> 安装新模块... -> 复制粘贴上方的安装链接 -> 完成!
26 |
27 | #### 需要开启MitM并信任证书,需要开启Rewrite,需要开启脚本
28 |
29 | ### 4. 使用说明
30 |
31 | #### Web端获取Cookie:
32 |
33 | 使用Safari,不要使用第三方浏览器!
34 |
35 | 使用手机浏览器访问 https://zhiyou.smzdm.com/ 进行一次登录,通常会显示获取cookie成功。
36 |
37 | 可能因为重定向的问题,登录成功后访问的不是https://zhiyou.smzdm.com/user/ ,则重新在浏览器中访问一次https://zhiyou.smzdm.com/user/ 即可。
38 |
39 | 如果还是没有获取到Cookie,请查阅Surge等第三方App的执行日志。
40 |
41 | ### 4. 更新模块方式
42 | **请按照以下步骤更新**
43 | #### 更新模块本身 :
44 | >Surge -> 模块 -> 找到本模块 -> 左滑后点击更新
45 | #### 更新外部资源 :
46 | >点击首页最上方打开 Profile 页面 -> 更新外部资源
47 |
48 | **两次更新之间建议 _ 间隔 5 分钟以上_,否则又几率页面缓存文档尚未更新导致更新失败
49 |
50 | #### 若什么值得买模块失效可以联系作者
51 | - [@blackmatrix7](https://github.com/blackmatrix7)
52 |
53 | ## 我用的机场
54 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
55 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
56 |
57 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://tagss04.pro/#/auth/hlnIqYOx)
--------------------------------------------------------------------------------
/Module/Spec/smzdm/img/1.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/smzdm/img/1.PNG
--------------------------------------------------------------------------------
/Module/Spec/smzdm/img/2.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rabbit-Spec/Surge/5c4519be0cf2af2335585bbef42ca6fff44bd42f/Module/Spec/smzdm/img/2.PNG
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | Surge自用配置以及模块和脚本
2 |
3 |
4 |
5 |
6 |
7 |
8 | ### 配置链接
9 | > **稳定版 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Conf
10 |
11 | ### 模块链接
12 | > **稳定版 :** https://github.com/Rabbit-Spec/Surge/tree/Master/Module
13 |
14 | ### 「进阶」分流规则、重写规则及脚本
15 | > **公开版 :** https://github.com/blackmatrix7/ios_rule_script
16 |
17 | ### 「进阶」解锁完整的Apple功能和集成服务
18 | > **公开版 :** https://github.com/VirgilClyne/iRingo
19 |
20 | ### 「进阶」Boxjs可以解锁脚本的更多可玩性
21 | > **公开版 :** https://docs.boxjs.app
22 |
23 | 本仓库之中所有配置/脚本纯属自用备份,请不要fork,自行同步。
24 |
25 | ## 我用的机场
26 | **我用着好用不代表你用着也好用,如果想要入手的话,建议先买一个月体验一下。任何机场都有跑路的可能。**
27 | > **「Nexitally」:** [佩奇家主站,一家全线中转线路的高端机场,延迟低速度快。](https://naiixi.com/signupbyemail.aspx?MemberCode=0b532ff85dda43e595fb1ae17843ae6d20211110231626)
28 |
29 | > **「TAG」:** [目前共有90+个国家地区节点,覆盖范围目前是机场里最广的。](https://482469.dedicated-afflink.com)
30 |
31 | # 免责声明
32 | - Rabbit-Spec 本仓库中涉及的任何解锁和解密分析脚本仅用于资源共享和学习研究,不能保证其合法性,准确性,完整性和有效性,请根据情况自行判断。
33 |
34 | - 间接使用脚本的任何用户,包括但不限于建立VPS或在某些行为违反国家/地区法律或相关法规的情况下进行传播, Rabbit-Spec 对于由此引起的任何隐私泄漏或其他后果概不负责。
35 |
36 | - 请勿将本仓库内的任何内容用于商业或非法目的,否则后果自负。
37 |
38 | - 如果任何单位或个人认为该项目的脚本可能涉嫌侵犯其权利,则应及时通知并提供身份证明,所有权证明,我将在收到认证文件后删除相关脚本。
39 |
40 | - Rabbit-Spec 对任何本仓库中包含的脚本在使用中可能出现的问题概不负责,包括但不限于由任何脚本错误导致的任何损失或损害.
41 |
42 | - 您必须在下载后的24小时内从计算机或手机中完全删除以上内容。
43 |
44 | - 任何以任何方式查看此项目的人或直接或间接使用该项目的任何脚本的使用者都应仔细阅读此声明。Rabbit-Spec 保留随时更改或补充此免责声明的权利。一旦使用并复制了任何本仓库相关脚本或其他内容,则视为您已接受此免责声明。
45 |
46 | - ## 补充说明
47 | - 本仓库只搬运各位大佬的脚本,在此基础上进行修改满足我的需求作为自用库使用,并不负责维护脚本。
48 | - 不保证所有脚本的可用性。
49 |
50 | ### 特别感谢以下脚本作者以及整合时参考的作者
51 | - [@Nebulosa-Cat](https://github.com/Nebulosa-Cat)
52 | - [@NobyDa](https://github.com/NobyDa)
53 | - [@LucaLin233](https://github.com/LucaLin233)
54 | - [@Hyseen](https://github.com/Hyseen)
55 | - [@congcong0806](https://github.com/congcong0806)
56 | - [@fishingworld](https://github.com/fishingworld)
57 | - [@mieqq](https://github.com/mieqq)
58 | - [@TributePaulWalker](https://github.com/TributePaulWalker)
59 | ### 分流规则、重写规则及脚本维护者
60 | - [@blackmatrix7](https://github.com/blackmatrix7)
61 | ### 解锁完整的Apple功能和集成服务维护者
62 | - [@VirgilClyne](https://github.com/VirgilClyne)
63 |
64 | ### (排名不分先后,如有遗漏万分抱歉,请联系我加上)
65 |
--------------------------------------------------------------------------------