#Surge 5 by 大麻友友[DaMauu] 20240215 #log: #1/融合[I&M]....Done #2/融合[I&M]....Done #3/去mac排ios序列[I]....Done #4/优化优化....Done #5/排序策略 & 分流应对默认优先级....Done #6/优化细节....Done #7/优化排序等细节....Done [General] # > 通用/未明显展示的功能 # hide-vpn-icon = true udp-policy-not-supported-behaviour = REJECT # > 通用.DNS/DNS设置 dns-server = 119.29.29.29, 223.5.5.5 encrypted-dns-server = https://223.5.5.5/dns-query,quic://223.6.6.6:853,quic://223.5.5.5:853,https://223.6.6.6/dns-query,https://1.12.12.12/dns-query,https://120.53.53.53/dns-query,https://cloudflare-dns.com/dns-query,https://mozilla.cloudflare-dns.com/dns-query use-local-host-item-for-proxy = true encrypted-dns-follow-outbound-mode = false encrypted-dns-skip-cert-verification = false # > 通用.捕获/捕获流量 # > 高级设置.网络优化 compatibility-mode = 1 wifi-assist = false all-hybrid = false udp-priority = false # > 高级设置.延迟测试 internet-test-url = http://bing.com/ proxy-test-url = http://cp.cloudflare.com/generate_204 test-timeout = 3 geoip-maxmind-url = https://raw.githubusercontent.com/JMVoid/ipip2mmdb/release/Country.mmdb # > 高级设置.GeoIpDB disable-geoip-db-auto-update = true # > 高级设置.IPV6 ipv6 = true ipv6-vif = auto allow-wifi-access = false # > 高级设置.WIFI访问 allow-hotspot-access = false wifi-access-http-port = 6152 wifi-access-socks5-port = 6153 wifi-access-http-auth = username:password # > 高级设置.远程控制器/远程控制器 http-api-tls = false # > 高级设置.远程控制器/HTTP API & Web 控制器 # http-api = 123456@0.0.0.0:6171 http-api-web-dashboard = false # > 高级.高级/日志等级 loglevel = notify # > 高级设置.Advanced Settings # [警告:调整这里的任何一项设置均有可能引发各种问题,请先阅读各项设置的说明,明确理解该设置的意义后再进行调整] include-all-networks = false include-local-networks = false include-apns = false include-cellular-services = false show-error-page-for-reject = true allow-dns-svcb = false skip-proxy = localhost, *.local, 0.0.0.0/8, 10.0.0.0/8, 17.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.0.0/24, 192.168.0.0/16, 193.168.0.1/32, 192.168.122.1/32, 224.0.0.0/4, 240.0.0.0/4, 255.255.255.255/32 hijack-dns = *:53 always-real-ip = *.msftconnecttest.com, *.msftncsi.com, *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.logon.battlenet.com.cn, *.logon.battle.net, stun.l.google.com, *.apple.com, appboot.netflix.com, ios.prod.cloud.netflix.com, *.crashlytics.com, passenger.t3go.cn, captive.apple.com, seed-sequoia.siri.apple.com, sequoia.apple.com, injections.adguard.org, local.adguard.org, apple.com, *apple.com tun-included-routes = 192.168.1.12/32 exclude-simple-hostnames = false # force-http-engine-hosts = *.ott.cibntv. # always-raw-tcp-hosts = www.google.com, 91.108.56.*, 91.108.4.*, 91.108.8.*, 91.108.16.*, 91.108.12.*, 149.154.16*, 149.154.17*, 91.108.20.*, 185.76.151.*, 91.105.192.*, 5.28.19* always-raw-tcp-keywords = Content-Type: application/pairing+tlv8 # tun-excluded-routes = 10.0.0.0/8, 100.64.0.0/10, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.0.0/24, 192.0.2.0/24, 192.88.99.0/24, 192.168.0.0/16, 198.18.0.0/15, 198.51.100.0/24, 203.0.113.0/24, 224.0.0.0/4, 255.255.255.255/32 proxy-test-udp = apple.com@8.8.8.8 [Proxy Group] 网易音乐 = select, DIRECT, include-all-proxies=0, policy-regex-filter=^(?=.*(REBIRTHOKAY|网易云|音乐|数值|(?i)Music))^((?!(台|日|韩|新|美|香|加)).)*$, policy-path=https://raw.githubusercontent.com/DaMauu/Gears/main/Package/Unblock/NodeFS.list, update-interval=0, no-alert=1, hidden=0, url=http://interface3.music.163.com 国内媒体 = select, DIRECT, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 欧洲节点, include-all-proxies=0, no-alert=true 国际媒体 = select, DIRECT, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 欧洲节点, include-all-proxies=0, no-alert=true 谷歌服务 = select, DIRECT, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 欧洲节点, policy-regex-filter=(?=.*(美|US|(?i)States|American))^((?!(港|台|日|韩|新|Game|游戏|Test|专线|解锁|Burs|CN|BGP|free)).)*$, include-all-proxies=0, no-alert=true 电报服务 = select, DIRECT, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 欧洲节点, include-all-proxies=0, no-alert=true 全球加速 = select, DIRECT, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 欧洲节点, include-all-proxies=0, no-alert=true 黑白名单 = select, DIRECT, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 欧洲节点, include-all-proxies=0, no-alert=true 苹果服务 = select, DIRECT, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 欧洲节点, include-all-proxies=0, no-alert=true 种子直连 = select, DIRECT, 香港节点, 台湾节点, 日本节点, 狮城节点, 美国节点, 欧洲节点, policy-regex-filter=(?=.*(AL|AD|AR|AM|AT|AZ|BS|BH|BD|BB|BY|BE|BA|BG|BR|BE|BA|BG|HR|CY|CZ|DK|EE|FI|FR|DE|GR|HU|IS|IE|IT|XK|LV|LI|LT|LU|MK|MT|MD|MC|ME|NL|NO|PL|PT|RO|RU|SM|RS|SK|SI|AQ|AU|阿尔巴尼亚|安道尔|阿根廷|亚美尼亚|奥地利|阿塞拜疆|巴哈马|巴林|孟加拉国|巴巴多斯|白俄罗斯|比利时|波黑|保加利亚|巴西|比利时|波黑|保加利亚|克罗地亚|塞浦路斯|捷克|丹麦|爱沙尼亚|芬兰|法国|德国|希腊|匈牙利|冰岛|爱尔兰|意大利|科索沃|拉脱维亚|列支敦士登|立陶宛|卢森堡|北马其顿|马耳他|摩尔多瓦|摩纳哥|黑山|荷兰|挪威|波兰|葡萄牙|罗马尼亚|俄罗斯|圣马力诺|塞尔维亚|斯洛伐克|斯洛文尼亚|南极洲|澳大利亚(?i)Music))^((?!(港|台|日|韩|新|Game|游戏|Test|专线|解锁|Burs|CN|BGP|free)).)*$, include-all-proxies=0, no-alert=true # 自动测速策略 香港节点 = url-test, include-all-proxies=0, policy-regex-filter=(?=.*(港|HK|主|(?i)Hong))^((?!(台|日|韩|新|美|Game|游戏|打機|Test|Burst)).)*$, url=http://www.bing.com/, evaluate-before-use=true, interval=3600, tolerance=50, hidden=1, no-alert=true, include-other-group=订阅复用 台湾节点 = url-test, include-all-proxies=0, policy-regex-filter=(?=.*(台|TW|(?i)Taiwan))^((?!(港|日|韩|新|美|Game|游戏|Test)).)*$, url=http://www.bing.com/, evaluate-before-use=true, interval=3600, tolerance=50, hidden=1, no-alert=true, include-other-group=订阅复用 日本节点 = url-test, include-all-proxies=0, policy-regex-filter=(?=.*(日|JP|(?i)Japan))^((?!(港|台|韩|新|美|Game|游戏)).)*$, url=http://www.bing.com/, evaluate-before-use=true, interval=3600, tolerance=50, hidden=1, no-alert=true, include-other-group=订阅复用 狮城节点 = url-test, include-all-proxies=0, policy-regex-filter=(?=.*(新|狮|獅|SG|(?i)Singapore))^((?!(港|台|日|韩|美|Game|游戏)).)*$, url=http://www.bing.com/, evaluate-before-use=true, interval=3600, tolerance=50, hidden=1, no-alert=true, include-other-group=订阅复用 美国节点 = url-test, include-all-proxies=0, policy-regex-filter=(?=.*(美|US|(?i)States|American))^((?!(港|台|日|韩|新|Game|游戏|Test|专线|解锁|Burs|CN|BGP|free)).)*$, url=http://www.bing.com/, evaluate-before-use=true, interval=3600, tolerance=50, hidden=1, no-alert=true, include-other-group=订阅复用 欧洲节点 = url-test, include-all-proxies=0, policy-regex-filter=(?=.*(AL|AD|AR|AM|AT|AZ|BS|BH|BD|BB|BY|BE|BA|BG|BR|BE|BA|BG|HR|CY|CZ|DK|EE|FI|FR|DE|GR|HU|IS|IE|IT|XK|LV|LI|LT|LU|MK|MT|MD|MC|ME|NL|NO|PL|PT|RO|RU|SM|RS|SK|SI|AQ|AU|阿尔巴尼亚|安道尔|阿根廷|亚美尼亚|奥地利|阿塞拜疆|巴哈马|巴林|孟加拉国|巴巴多斯|白俄罗斯|比利时|波黑|保加利亚|巴西|比利时|波黑|保加利亚|克罗地亚|塞浦路斯|捷克|丹麦|爱沙尼亚|芬兰|法国|德国|希腊|匈牙利|冰岛|爱尔兰|意大利|科索沃|拉脱维亚|列支敦士登|立陶宛|卢森堡|北马其顿|马耳他|摩尔多瓦|摩纳哥|黑山|荷兰|挪威|波兰|葡萄牙|罗马尼亚|俄罗斯|圣马力诺|塞尔维亚|斯洛伐克|斯洛文尼亚|南极洲|澳大利亚(?i)Music))^((?!(港|台|日|韩|新|Game|游戏|Test|专线|解锁|Burs|CN|BGP|free)).)*$, url=http://www.bing.com/, evaluate-before-use=true, interval=3600, tolerance=50, hidden=1, no-alert=true, include-other-group=订阅复用 屏蔽广告 = select, REJECT 国内直连 = select, DIRECT # 可以的订阅方式 # 第一种用Substore组合所有机场订阅并丢在一个策略里复用 订阅复用 = select, policy-path=https://sub.store/download/collection/Sub%20Group, update-interval=0, no-alert=true, hidden=true, include-all-proxies=0 # 第二种是每一个机场建一个策略,然后再批量分流策略复用机场订阅 # 机场1 = url-test, policy-path=订阅地址, update-interval=86400 # 机场2 = url-test, policy-path=订阅地址, update-interval=86400 # 机场3 = url-test, policy-path=订阅地址, update-interval=86400 # 机场4 = url-test, policy-path=订阅地址, update-interval=86400 # 机场5 = url-test, policy-path=订阅地址, update-interval=86400 # 机场6 = url-test, policy-path=订阅地址, update-interval=86400 # 机场7 = url-test, policy-path=订阅地址, update-interval=86400 [Rule] # 屏蔽垃圾 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/AdvertisingLite/AdvertisingLite_Resolve.list,屏蔽广告,update-interval=86400,no-resolve // 屏蔽广告 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Hijacking/Hijacking.list,屏蔽广告,update-interval=86400 // 屏蔽劫持 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Privacy/Privacy_All_No_Resolve.list,屏蔽广告,update-interval=86400 // 隐私保护 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/BlockHttpDNS/BlockHttpDNS.list,屏蔽广告,update-interval=86400 // 预防泄漏 RULE-SET,https://raw.githubusercontent.com/ConnersHua/RuleGo/master/Surge/Ruleset/Direct+.list,国内直连,update-interval=86400 // 国内直连 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Lan/Lan.list,国内直连,update-interval=86400 // 内网直连 RULE-SET,https://raw.githubusercontent.com/missuo/ASN-China/main/ASN.China.list,国内直连,update-interval=86400 // 国内编号 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMax/ChinaMax.list,国内直连,update-interval=86400 // 国内直连 # 娱乐服务 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/IPTVMainland/IPTVMainland.list,国内媒体 // 国内电视 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/NetEaseMusic/NetEaseMusic.list,网易音乐 // 网易音乐 RULE-SET,https://raw.githubusercontent.com/ConnersHua/RuleGo/master/Surge/Ruleset/Extra/Streaming/CN.list,国内媒体 // 国内媒体 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/IPTVOther/IPTVOther.list,国际媒体,update-interval=86400 // 国外电视 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/YouTube/YouTube.list,国际媒体,update-interval=86400 // 油管服务 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GlobalMedia/GlobalMedia_All_No_Resolve.list,国际媒体,update-interval=86400 // 国际媒体 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Cloudflare/Cloudflare.list,美国节点,update-interval=86400 // 云耀服务 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/GitHub/GitHub.list,香港节点,update-interval=86400 // 开源编程 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Google/Google.list,谷歌服务,update-interval=86400 // 谷歌服务 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/OpenAI/OpenAI.list,谷歌服务,update-interval=86400 // 人工智能 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Telegram/Telegram.list,电报服务,update-interval=86400 // 电报服务 # 基础服务 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple_All_No_Resolve.list,国内直连,update-interval=86400 // 苹果服务 RULE-SET,https://raw.githubusercontent.com/DaMauu/Gears/main/Rule/Surge/PrivateTracker.list,种子直连,update-interval=86400 // 种子直连 # 加速服务 RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Global/Global.list,全球加速,update-interval=86400 // 全球加速 # 防止应用循环请求 # IP-CIDR,0.0.0.0/32,REJECT,no-resolve # GEOIP,CN,国内直连 // 中国IP FINAL,黑白名单,dns-failed [Host] amplifi.lan = server:syslib router.synology.com = server:syslib sila.razer.com = server:syslib router.asus.com = server:syslib routerlogin.net = server:syslib orbilogin.com = server:syslib www.LinksysSmartWiFi.com = server:syslib LinksysSmartWiFi.com = server:syslib myrouter.local = server:syslib www.miwifi.com = server:syslib miwifi.com = server:syslib mediarouter.home = server:syslib tplogin.cn = server:syslib tplinklogin.net = server:syslib melogin.cn = server:syslib falogin.cn = server:syslib _hotspot_.m2m = server:syslib hotspot.cslwifi.com = server:syslib *.lan = server:syslib [URL Rewrite] # ======= 视频广告请求 ======= # (^https?:\/\/[\w-]+\.googlevideo\.com\/(?!dclk_video_ads).+?)&ctier=L(&.+?),ctier,(.+) $1$2$3 302 ^https?:\/\/httpdns.n\.netease\.com - reject ^https?:\/\/httpdns\.music\.163\.com - reject ^https?://(|www\.)router\.com http://{{{GATEWAY_ADDRESS}}} 302 # wiki 的 m 移动站点及其他语言的重写 https://zh.(m.)?wikipedia.org/(wiki|zh|zh-sg|zh-tw|zh-hans)/(.*) https://zh.wikipedia.org/zh-cn/$3 302 ^https?://(|www\.)router\.com http://{{{GATEWAY_ADDRESS}}} 302 ^https?://(|www\.)router\.com http://{{{GATEWAY_ADDRESS}}} 302 [Map Local] # HTML ^https?:\/\/sub-store\.vercel\.app\/($|index\.html|subs$|my$|edit\/subs\/) data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/module/index.html" header="Content-Type: text/html; charset=utf-8" # JS VUE ^https?:\/\/sub-store\.vercel\.app\/index\.js data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/module/index.js" header="Content-Type: application/javascript; charset=utf-8" ^https?:\/\/sub-store\.vercel\.app\/(workbox|manifest\.webmanifest|sw|registerSW) data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/module/sw.js" header="Content-Type: application/javascript; charset=utf-8" # MAIN ^https?:\/\/sub-store\.vercel\.app\/main\.js data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/main.js" header="Content-Type: application/javascript; charset=utf-8" # CSS ^https?:\/\/sub-store\.vercel\.app\/main\.css data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/main.css" header="Content-Type: text/css; charset=utf-8" # JSON ^https?:\/\/sub-store\.vercel\.app\/manifest\.json data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/manifest.json" header="Content-Type: application/json; charset=utf-8" # PNG ICO SVG ^https?:\/\/sub-store\.vercel\.app\/144x144\.png data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/144x144.png" header="Content-Type: image/png" ^https?:\/\/sub-store\.vercel\.app\/192x192\.png data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/192x192.png" header="Content-Type: image/png" ^https?:\/\/sub-store\.vercel\.app\/[^14]\d{1,2}x\d{1,3}\.png data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/256x256.png" header="Content-Type: image/png" ^https?:\/\/sub-store\.vercel\.app\/apple-touch-icon\.png data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/apple-touch-icon.png" header="Content-Type: image/png" ^https?:\/\/sub-store\.vercel\.app\/apple-touch-icon-.+\.png data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/apple-touch-icon.png" header="Content-Type: image/png" ^https?:\/\/sub-store\.vercel\.app\/favicon\.svg$ data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/favicon.svg" header="Content-Type: image/svg+xml" ^https?:\/\/sub-store\.vercel\.app\/favicon\.ico data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/favicon.ico" header="Content-Type: image/vnd.microsoft.icon" ^https?:\/\/sub-store\.vercel\.app\/logo\.svg data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/logo.svg" header="Content-Type: image/svg+xml" ^https?:\/\/sub-store\.vercel\.app\/avatar\.svg data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/avatar.svg" header="Content-Type: image/svg+xml" # FONT ^https?:\/\/sub-store\.vercel\.app\/3x_static_iconfont\.ttf data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/3x_static_iconfont.ttf" header="Content-Type: font/ttf" ^https?:\/\/sub-store\.vercel\.app\/3x_static_iconfont\.woff data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/3x_static_iconfont.woff" header="Content-Type: font/woff" # ^https?:\/\/sub-store\.vercel\.app\/3x_static_iconfont\.woff2 data="https://raw.githubusercontent.com/Keywos/Sub-Store-PWA/main/distpwa/3x_static_iconfont.woff2" header="Content-Type: font/woff2" ^https?:\/\/[\w-]+\.googlevideo\.com\/(?!(dclk_video_ads|videoplayback\?)).+&oad data="https://raw.githubusercontent.com/mieqq/mieqq/master/reject-200.txt" # ======= 通用广告请求 ======= # ^https?:\/\/(www|s)\.youtube\.com\/api\/stats\/ads data="https://raw.githubusercontent.com/mieqq/mieqq/master/reject-200.txt" ^https?:\/\/(www|s)\.youtube\.com\/(pagead|ptracking) data="https://raw.githubusercontent.com/mieqq/mieqq/master/reject-200.txt" ^https?:\/\/s\.youtube\.com\/api\/stats\/qoe\?adcontext data="https://raw.githubusercontent.com/mieqq/mieqq/master/reject-200.txt" ^http:\/\/iadmusicmatvideo\.music\.126\.net data="https://raw.githubusercontent.com/Keywos/rule/main/mocks/blank.mp4" ^https?:\/\/interface3?\.music\.163\.com\/eapi\/(community\/friends\/fans-group\/artist\/group\/get|user\/sub\/artist|music\/songshare\/text\/recommend\/get|mine\/applet\/redpoint|resniche\/position\/play\/new\/get) data="https://raw.githubusercontent.com/Keywos/rule/main/mocks/blank_dict.json" # (评论区|评论右上角热评馆|播放页评论)|回复 ^https?:\/\/interface3?\.music\.163.com\/eapi\/(comment\/(feed\/inserted|hotcomment\/collect|tips\/v2\/get)|v\d\/content\/exposure\/comment\/banner) data="https://raw.githubusercontent.com/Keywos/rule/main/mocks/blank_dict.json" # 播放页live或直播|(首页免或vip图标|小提示) ^https?:\/\/interface3?\.music\.163.com\/eapi\/(mlivestream\/entrance\/playpage|link\/(position\/show\/(strategy|resource)|scene\/show)) data="https://raw.githubusercontent.com/Keywos/rule/main/mocks/blank_dict.json" # 黑胶弹窗|会员试用 ^https?:\/\/interface3?\.music\.163.com\/eapi\/(vipcenter\/tspopup\/get|vipauth\/app\/auth|music-vip-membership\/client\/vip\/info|zone\/songplay\/entry\/get) data="https://raw.githubusercontent.com/Keywos/rule/main/mocks/blank_dict.json" # 搜索页热搜卡片|猜你喜欢|我的应用下方提醒 ^https?:\/\/interface3?\.music\.163.com\/w?e?api\/(search\/(chart|default|rcmd\/keyword|specialkeyword)|(resource-exposure\/|middle\/clientcfg\/config)|activity\/bonus\/playpage\/time\/query) data="https://raw.githubusercontent.com/Keywos/rule/main/mocks/blank_dict.json" # 侧边栏 ^https?:\/\/interface3?\.music\.163\.com\/eapi\/(side-bar\/mini-program\/music-service\/account|delivery\/batch-deliver) data="https://raw.githubusercontent.com/Keywos/rule/main/mocks/blank_dict.json" ^https?:\/\/(ipv4|interface3?)\.music\.163.com\/eapi\/ad data="https://raw.githubusercontent.com/Keywos/rule/main/mocks/blank_dict.json" ^https?:\/\/[\w-]+\.googlevideo\.com\/initplayback.+&oad data="https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/dist/blank.txt" [SSID Setting] # TYPE:WIFI suspend=true [MITM] skip-server-cert-verify = true h2 = true hostname = router.com, www.router.com, net-lsp-x.com, neteasems.test, sub.store, sub-store.vercel.app, trouble.shoot, *.trouble.shoot, api.spotify.com, spclient.wg.spotify.com, *.googlevideo.com, youtubei.googleapis.com, trouble.shoot, *.trouble.shoot, surge.tool, sub.store ca-passphrase = ca-p12 = # Boxjs模块 # 使用教程:https://github.com/chavyleung/scripts#%E4%BD%BF%E7%94%A8%E6%96%B9%E5%BC%8F # https://raw.githubusercontent.com/chavyleung/scripts/master/box/rewrite/boxjs.rewrite.surge.sgmodule # Sub-Store # 高级订阅管理工具 @Peng-YM # 使用教程:https://www.notion.so/Sub-Store-6259586994d34c11a4ced5c406264b46 # https://raw.githubusercontent.com/sub-store-org/Sub-Store/master/config/Surge.sgmodule # 该模块适用于定时签到脚本的Cookie获取. 集成: BiliBili, 喜马拉雅; 您可以在使用后手动将其禁用,以免产生不必要的MITM. # 本模块配合脚本部分的签到脚本使用 # https://raw.githubusercontent.com/ClydeTime/Quantumult/main/Task/GetCookie.sgmodule # bilibili去广告(>=iOS15) # https://raw.githubusercontent.com/app2smile/rules/master/module/bilibili.sgmodule # 部分解锁spotify premium,建议重新登录,音质不能设置为超高 # https://raw.githubusercontent.com/app2smile/rules/master/module/spotify.module # 广告联盟去广告 (快手联盟,优量汇,穿山甲) # https://raw.githubusercontent.com/app2smile/rules/master/module/adsense.sgmodule # 起点App去广告 # https://raw.githubusercontent.com/app2smile/rules/master/module/qidian.sgmodule # 腾讯新闻App去广告 开屏页广告有缓存,需要全新应用 # https://raw.githubusercontent.com/app2smile/rules/master/module/qqnews.sgmodule # 贴吧部分去广告 # 1.开屏页广告 2.帖子看图模式广告去除 3.首页/帖子详情页右下角悬浮广告去除 # https://raw.githubusercontent.com/app2smile/rules/master/module/tieba-mini.sgmodule # 知乎App去广告 # https://raw.githubusercontent.com/app2smile/rules/master/module/zhihu.sgmodule # 屏蔽iOS系统更新 # https://raw.githubusercontent.com/xOS/Config/Her/Module/General/BlockUpdate.sgmodule # 微博官方APP净化 # https://raw.githubusercontent.com/xOS/Config/Her/Module/General/Weibo.sgmodule # 快速检测节点有没有解锁流媒体 # https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Stream-All/Moore/Stream-All.sgmodule # 显示还需要摸鱼多少天就可以解放 # 安装方式 # 打开 Surge -> 模块 -> 新建本地模块 -> 复制粘贴上方的安装链接里的模块内容到本地(不是复制链接!) -> 在Script中必须修改的参数:group:你策略组的名称 -> 完成! # https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Timecard/Moore/Timecard.sgmodule # 机场流量信息 # 查看你机场当前剩余的流量 # 查看你机场购买套餐的流量 # 查看你机场重置流量的日期 # 查看你机场套餐到期的日期 # 安装方式 # 打开 Surge -> 模块 -> 新建本地模块 -> 复制粘贴上方的安装链接里的模块内容到本地(不是复制链接!)-> 先将带有流量信息的节点订阅链接encode,用encode后的链接替换"url="后面的[机场节点链接] -> 完成! # encode链接: https://www.urlencoder.org # https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Sub-info/Moore/Sub-info.sgmodule # Network-Info (网络信息) # https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Network-Info/Moore/Network-Info.sgmodule # 一个可以显示Surge启动时长的面板 # https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/Surge-Pro/Moore/SurgePro.sgmodule # 1.1.1.1 by Cloudflare with WARP # 配置教程:https://www.craft.do/s/avqa8GJuLbLsFv # https://raw.githubusercontent.com/I-am-R-E/Functional-Store-Hub/Master/WarpPanel/WarpPanel%2B.sgmodule # 一个可以显示你当前节点信息的面板 # https://raw.githubusercontent.com/Rabbit-Spec/Surge/Master/Module/Panel/IP-Check/Moore/IP-Check.sgmodule # 酷我解锁 # https://raw.githubusercontent.com/I-am-R-E/Functional-Store-Hub/Master/KuWoMusic/KuWoMusic.Surge.sgmodule [Script] # Request 网络信息请求 = 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 # Event # = 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=globe.asia.australia&icon-color=#6699FF&LAN=1&SSID=0&IPv6=1&MASK=1&DOMESTIC_IPv4=spcn&DOMESTIC_IPv6=ddnspod&LANDING_IPv4=ipapi&LANDING_IPv6=ipsb&PRIVACY=1&FLAG=1&ENTRANCE_DELAY=3&EVENT_DELAY=3&RETRIES=1&RETRY_DELAY=1&ASN=0&ORG=0&DOMESTIC_IPv4_KEY=若接口需要就填这里" # Panel 网络信息面板 = 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=1&SSID=0&IPv6=1&MASK=1&DOMESTIC_IPv4=spcn&DOMESTIC_IPv6=ddnspod&LANDING_IPv4=ipapi&LANDING_IPv6=ipsb&PRIVACY=1&FLAG=1&ENTRANCE_DELAY=3&EVENT_DELAY=3&RETRIES=1&RETRY_DELAY=1&ASN=0&ORG=0&DOMESTIC_IPv4_KEY=若接口需要就填这里 # Panel ip-whois-panel = type=generic,timeout=60,script-path=https://raw.githubusercontent.com/xream/scripts/main/surge/modules/network-info/ip-whois.js,argument=icon=info.circle.fill&icon-color=#5d84f8 # Panel 网络接口信息面板 = 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=compact # ======= 视频PIP|后台播放|瀑布流|搜索页|播放页|短视频|贴片广告 ======= # youtube.request.beta = type=http-request,pattern=^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|reel\/reel_watch_sequence),script-path=https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/dist/youtube.request.beta.js,requires-body=true,binary-body-mode=true,max-size=-1,timeout=60 youtube.response.beta = type=http-response,pattern=^https?:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|search|reel\/reel_watch_sequence|guide|account\/get_setting),script-path=https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/dist/youtube.response.beta.js,requires-body=true,binary-body-mode=true,max-size=-1,timeout=60 Script Hub: 前端 = type=http-request,pattern=^https?:\/\/script\.hub\/($|edit\/|reload),script-path=https://raw.githubusercontent.com/Script-Hub-Org/Script-Hub/main/script-hub.js,timeout=300 Script Hub: 重写转换 = type=http-request,pattern=^https?:\/\/script\.hub\/file\/_start_\/.+type=(?:qx-rewrite|surge-module|loon-plugin|all-module),script-path=https://raw.githubusercontent.com/Script-Hub-Org/Script-Hub/main/Rewrite-Parser.js,timeout=300 Script Hub: 规则集转换 = type=http-request,pattern=^https?:\/\/script\.hub\/file\/_start_\/.+type=rule-set,script-path=https://raw.githubusercontent.com/Script-Hub-Org/Script-Hub/main/rule-parser.js,timeout=300 Script Hub: 脚本转换 = type=http-request,pattern=^https?:\/\/script\.hub\/convert\/,script-path=https://raw.githubusercontent.com/Script-Hub-Org/Script-Hub/main/script-converter.js,timeout=300 # 解锁黑椒音乐 wyy = type=http-request,pattern=^https?:\/\/.+music\.163\.com\/.*(player\/url|entrance|\/eapi\/search\/),script-path=https://raw.githubusercontent.com/qiuxiuya/qiuxiuya/main/Loon/wyy.js,timeout=30 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 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 Sub-Store Sync = type=cron,cronexp=0 0 * * *,wake-system=1,timeout=120,script-path=https://github.com/sub-store-org/Sub-Store/releases/latest/download/cron-sync-artifacts.min.js # Web troubleshoot = type=http-request,pattern=^https?:\/\/(trouble\.shoot|surge\.tool),timeout=300,script-update-interval=-1,script-path=https://raw.githubusercontent.com/Keywos/rule/main/script/st/js/index.js # Panel ST Panel = type=generic,timeout=30,argument=list=1&type=1&LogTF=0&icolor=#6699FF&title=规则详情 |&icon=heart.text.square&push=1,script-update-interval=-1,script-path=https://raw.githubusercontent.com/Keywos/rule/main/script/st/js/index.js youtube.request = type=http-request,pattern=^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|reel\/reel_watch_sequence),requires-body=1,max-size=-1,binary-body-mode=1,script-path=https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/dist/youtube.request.preview.js youtube.response = type=http-response,pattern=^https:\/\/youtubei\.googleapis\.com\/youtubei\/v1\/(browse|next|player|search|reel\/reel_watch_sequence|guide|account\/get_setting),requires-body=1,max-size=-1,binary-body-mode=1,script-path=https://raw.githubusercontent.com/Maasea/sgmodule/master/Script/Youtube/dist/youtube.response.preview.js,argument="{"targetLang":"zh-CN","blockUpload":true,"immersive":true}" DualSubs.Spotify.Tracks.response.json = type=http-response,pattern=^https?:\/\/api\.spotify\.com\/v1\/tracks\?,requires-body=1,script-path=https://raw.githubusercontent.com/DualSubs/Spotify/main/js/Spotify.response.js DualSubs.Spotify.Lyrics.request.json = type=http-request,pattern=^https?:\/\/spclient\.wg\.spotify\.com\/color-lyrics\/v2\/track\/(.+)\?(.*)format=json,requires-body=1,script-path=https://raw.githubusercontent.com/DualSubs/Spotify/main/js/Spotify.request.js DualSubs.Spotify.Lyrics.request.proto = type=http-request,pattern=^https?:\/\/spclient\.wg\.spotify\.com\/color-lyrics\/v2\/track\/\w+\?(.*),requires-body=1,binary-body-mode=1,script-path=https://raw.githubusercontent.com/DualSubs/Spotify/main/js/Spotify.request.js DualSubs.Spotify.Translate.Lyrics.response.json = type=http-response,pattern=^https?:\/\/spclient\.wg\.spotify\.com\/color-lyrics\/v2\/track\/(.+)\?(.*)format=json(.*)subtype=Translate,requires-body=1,script-path=https://raw.githubusercontent.com/DualSubs/Universal/main/js/Translate.response.js DualSubs.Spotify.Translate.Lyrics.response.proto = type=http-response,pattern=^https?:\/\/spclient\.wg\.spotify\.com\/color-lyrics\/v2\/track\/\w+\?(.*)subtype=Translate,requires-body=1,binary-body-mode=1,script-path=https://raw.githubusercontent.com/DualSubs/Universal/main/js/Translate.response.js DualSubs.Spotify.External.Lyrics.response.json = type=http-response,pattern=^https?:\/\/spclient\.wg\.spotify\.com\/color-lyrics\/v2\/track\/(.+)\?(.*)format=json(.*)subtype=External,requires-body=1,script-path=https://raw.githubusercontent.com/DualSubs/Universal/main/js/External.Lyrics.response.js DualSubs.Spotify.External.Lyrics.response.proto = type=http-response,pattern=^https?:\/\/spclient\.wg\.spotify\.com\/color-lyrics\/v2\/track\/\w+\?(.*)subtype=External,requires-body=1,binary-body-mode=1,script-path=https://raw.githubusercontent.com/DualSubs/Universal/main/js/External.Lyrics.response.js troubleshoot = type=http-request,pattern=^https?:\/\/trouble\.shoot,script-path=https://raw.githubusercontent.com/xream/scripts/main/surge/modules/troubleshoot/troubleshoot.js,timeout=300 加解密耗时 = type=http-request,pattern=^https?:\/\/neteasems\.test,requires-body=1,timeout=300,script-path=https://raw.githubusercontent.com/Keywos/rule/main/script/net_test/js/nt.js [Panel] 网络信息面板 = script-name=网络信息面板,update-interval=-1 ip-whois-panel = script-name=ip-whois-panel,update-interval=-1 网络接口信息面板 = script-name=网络接口信息面板,update-interval=1 ST Panel = script-name=ST Panel,update-interval=-1