├── Bili_Auto_Regions.js ├── Clash ├── Inbound.yaml ├── Outbound.yaml ├── ProxyList │ ├── List.yaml │ └── US.yaml ├── README.md └── RuleSet │ ├── China.yaml │ ├── Extra │ ├── Apple │ │ ├── AppStore.yaml │ │ ├── AppStoreConnect.yaml │ │ ├── Apple.yaml │ │ ├── FindMy.yaml │ │ ├── Mail.yaml │ │ ├── Music.yaml │ │ ├── News.yaml │ │ ├── README.md │ │ ├── Siri.yaml │ │ ├── SoftwareUpdate.yaml │ │ ├── TV.yaml │ │ ├── TestFlight.yaml │ │ └── iCloud.yaml │ ├── ChinaIP.yaml │ ├── Cryptocurrency.yaml │ ├── Game │ │ ├── Blizzard.yaml │ │ ├── Discord.yaml │ │ └── Steam.yaml │ ├── Google │ │ ├── GoogleDrive.yaml │ │ ├── GoogleSearch.yaml │ │ └── GoogleVoice.yaml │ ├── IP-Blackhole.yaml │ ├── Microsoft │ │ └── OneDrive.yaml │ ├── PayPal.yaml │ ├── Scholar.yaml │ └── Telegram │ │ ├── README.md │ │ ├── Telegram.yaml │ │ ├── TelegramNL.yaml │ │ ├── TelegramSG.yaml │ │ └── TelegramUS.yaml │ ├── Global.yaml │ ├── Guard │ ├── Advertising.yaml │ ├── Hijacking.yaml │ └── Privacy.yaml │ ├── StreamingMedia │ ├── Live │ │ └── Twitch.yaml │ ├── Music │ │ ├── Deezer.yaml │ │ ├── Instagram.yaml │ │ ├── JOOX.yaml │ │ ├── KKBOX.yaml │ │ ├── Pandora.yaml │ │ ├── SoundCloud.yaml │ │ ├── Spotify.yaml │ │ ├── TIDAL.yaml │ │ └── YouTubeMusic.yaml │ ├── Podcast │ │ └── Himalaya.yaml │ ├── Streaming.yaml │ ├── StreamingCN.yaml │ ├── StreamingSE.yaml │ └── Video │ │ ├── AbemaTV.yaml │ │ ├── All-4.yaml │ │ ├── BBC-iPlayer.yaml │ │ ├── Bahamut.yaml │ │ ├── DAZN.yaml │ │ ├── DMM.yaml │ │ ├── DisneyPlus.yaml │ │ ├── HBO-Asia.yaml │ │ ├── HBO.yaml │ │ ├── HWTV.yaml │ │ ├── Hulu-JPN.yaml │ │ ├── Hulu.yaml │ │ ├── ITV.yaml │ │ ├── KKTV.yaml │ │ ├── LINE-TV.yaml │ │ ├── LiTV.yaml │ │ ├── My5.yaml │ │ ├── Naver-TV.yaml │ │ ├── Netflix.yaml │ │ ├── Now-E.yaml │ │ ├── PBS.yaml │ │ ├── ParamountPlus.yaml │ │ ├── Pornhub.yaml │ │ ├── Prime-Video.yaml │ │ ├── TVer.yaml │ │ ├── TaiwanGood.yaml │ │ ├── TikTok.yaml │ │ ├── ViuTV.yaml │ │ ├── YouTube.yaml │ │ ├── encoreTVB.yaml │ │ ├── myTV-SUPER.yaml │ │ ├── niconico.yaml │ │ └── ‎DiscoveryPlus.yaml │ └── Unbreak.yaml ├── Panel_Sub_info.js ├── Quantumult ├── Bili_Auto_Regions.js ├── Filter │ ├── China.list │ ├── Extra │ │ ├── Apple │ │ │ ├── AppStore.list │ │ │ ├── AppStoreConnect.list │ │ │ ├── Apple.list │ │ │ ├── BlockiOSUpdate.list │ │ │ ├── FindMy.list │ │ │ ├── FitnessPlus.list │ │ │ ├── Mail.list │ │ │ ├── Music.list │ │ │ ├── News.list │ │ │ ├── README.md │ │ │ ├── Siri.list │ │ │ ├── SoftwareUpdate.list │ │ │ ├── TV.list │ │ │ ├── TestFlight.list │ │ │ └── iCloud.list │ │ ├── ChinaIP.list │ │ ├── Clubhouse.list │ │ ├── Cryptocurrency.list │ │ ├── Game │ │ │ ├── PUBG-Mobile.list │ │ │ ├── Supercell.list │ │ │ └── WildRift.list │ │ ├── Google │ │ │ ├── GoogleDrive.list │ │ │ ├── GoogleSearch.list │ │ │ └── GoogleVoice.list │ │ ├── PayPal.list │ │ ├── Scholar.list │ │ ├── Telegram │ │ │ ├── README.md │ │ │ ├── Telegram.list │ │ │ ├── TelegramNL.list │ │ │ ├── TelegramSG.list │ │ │ └── TelegramUS.list │ │ └── Twitter.list │ ├── Global.list │ ├── Guard │ │ ├── Advertising.list │ │ ├── Hijacking.list │ │ └── Privacy.list │ ├── README.md │ ├── StreamingMedia │ │ ├── Live │ │ │ └── Twitch.list │ │ ├── Music │ │ │ ├── Deezer.list │ │ │ ├── Instagram.list │ │ │ ├── JOOX.list │ │ │ ├── KKBOX.list │ │ │ ├── Pandora.list │ │ │ ├── SoundCloud.list │ │ │ ├── Spotify.list │ │ │ └── TIDAL.list │ │ ├── Podcast │ │ │ └── Himalaya.list │ │ ├── Streaming.list │ │ ├── StreamingCN.list │ │ ├── StreamingSE.list │ │ └── Video │ │ │ ├── AbemaTV.list │ │ │ ├── All-4.list │ │ │ ├── BBC-iPlayer.list │ │ │ ├── Bahamut.list │ │ │ ├── DAZN.list │ │ │ ├── DMM.list │ │ │ ├── DisneyPlus.list │ │ │ ├── HBO-Asia.list │ │ │ ├── HBO.list │ │ │ ├── HWTV.list │ │ │ ├── Hulu-JPN.list │ │ │ ├── Hulu.list │ │ │ ├── ITV.list │ │ │ ├── KKTV.list │ │ │ ├── LINE-TV.list │ │ │ ├── LiTV.list │ │ │ ├── My5.list │ │ │ ├── Naver-TV.list │ │ │ ├── Netflix.list │ │ │ ├── Now-E.list │ │ │ ├── PBS.list │ │ │ ├── ParamountPlus.list │ │ │ ├── Pornhub.list │ │ │ ├── Prime-Video.list │ │ │ ├── TVer.list │ │ │ ├── TaiwanGood.list │ │ │ ├── TikTok.list │ │ │ ├── ViuTV.list │ │ │ ├── YouTube.list │ │ │ ├── encoreTVB.list │ │ │ ├── myTV-SUPER.list │ │ │ ├── niconico.list │ │ │ └── ‎DiscoveryPlus.list │ └── Unbreak.list ├── Inbound.conf ├── Outbound.conf └── Rewrite │ ├── Block │ ├── Advertising.conf │ ├── AdvertisingPlus.conf │ └── YouTubeAds.conf │ ├── General.conf │ ├── Turn-Off-Google-Safesearch.conf │ └── Wikiwand.conf ├── README.md ├── Surge ├── AD_S.list ├── Ads_Base.list ├── Bili_Auto_Regions.js ├── Domestic.list ├── DomesticIPs.list ├── Inbound.conf ├── Look_Up.Wikipedia.list ├── Module │ ├── All_In_One.sgmdoule │ ├── Block │ │ ├── Advertising.sgmodule │ │ ├── AdvertisingPlus.sgmodule │ │ ├── SoftwareUpdate.sgmodule │ │ └── YouTubeAds.sgmodule │ ├── General.sgmodule │ ├── Siri.Proxy.sgmodule │ ├── Stream-All.sgmodule │ ├── Task.sgmodule │ ├── Turn-Off-Google-Safesearch.sgmodule │ └── Wikiwand.sgmodule ├── Outbound.conf ├── Proxy.list ├── README.md ├── Rewrite │ └── WeChat.json ├── Ruleset │ ├── China.list │ ├── DomesticIPs.list │ ├── Extra │ │ ├── Apple │ │ │ ├── AppStore.list │ │ │ ├── AppStoreConnect.list │ │ │ ├── Apple.list │ │ │ ├── BlockiOSUpdate.list │ │ │ ├── FindMy.list │ │ │ ├── FitnessPlus.list │ │ │ ├── Mail.list │ │ │ ├── Music.list │ │ │ ├── News.list │ │ │ ├── README.md │ │ │ ├── Siri.list │ │ │ ├── SoftwareUpdate.list │ │ │ ├── TV.list │ │ │ ├── TestFlight.list │ │ │ └── iCloud.list │ │ ├── ChinaIP.list │ │ ├── Clubhouse.list │ │ ├── Cryptocurrency.list │ │ ├── Game │ │ │ ├── Blizzard │ │ │ │ ├── Battle.list │ │ │ │ ├── Classic.list │ │ │ │ ├── Diablo-III.list │ │ │ │ ├── Hearthstone.list │ │ │ │ ├── Heroes-of-the-Storm.list │ │ │ │ ├── Overwatch.list │ │ │ │ ├── StarCraft-II.list │ │ │ │ └── World-of-Warcraft.list │ │ │ ├── Discord.list │ │ │ ├── Game.list │ │ │ ├── Nintendo.list │ │ │ ├── Origin.list │ │ │ ├── README.md │ │ │ ├── Steam.list │ │ │ ├── Supercell.list │ │ │ ├── WildRift.list │ │ │ └── Xbox.list │ │ ├── Google │ │ │ ├── GoogleDrive.list │ │ │ ├── GoogleSearch.list │ │ │ └── GoogleVoice.list │ │ ├── IP-Blackhole.list │ │ ├── Microsoft │ │ │ └── OneDrive.list │ │ ├── PayPal.list │ │ ├── Scholar.list │ │ ├── Telegram │ │ │ ├── README.md │ │ │ ├── Telegram.list │ │ │ ├── TelegramNL.list │ │ │ ├── TelegramSG.list │ │ │ └── TelegramUS.list │ │ └── Twitter.list │ ├── Global.list │ ├── Guard │ │ ├── Advertising.list │ │ ├── AdvertisingPlus.list │ │ ├── Hijacking.list │ │ └── Privacy.list │ ├── StreamingMedia │ │ ├── Live │ │ │ └── Twitch.list │ │ ├── Music │ │ │ ├── Deezer.list │ │ │ ├── Instagram.list │ │ │ ├── JOOX.list │ │ │ ├── KKBOX.list │ │ │ ├── Pandora.list │ │ │ ├── SoundCloud.list │ │ │ ├── Spotify.list │ │ │ ├── TIDAL.list │ │ │ └── YouTube-Music.list │ │ ├── Podcast │ │ │ └── Himalaya.list │ │ ├── Region │ │ │ ├── HK.list │ │ │ ├── JP.list │ │ │ ├── KR.list │ │ │ ├── README.md │ │ │ ├── TW.list │ │ │ ├── UK.list │ │ │ └── US.list │ │ ├── Streaming.list │ │ ├── StreamingCN.list │ │ ├── StreamingSE.list │ │ └── Video │ │ │ ├── AbemaTV.list │ │ │ ├── All-4.list │ │ │ ├── BBC-iPlayer.list │ │ │ ├── Bahamut.list │ │ │ ├── DAZN.list │ │ │ ├── DMM.list │ │ │ ├── DisneyPlus.list │ │ │ ├── HBO-Asia.list │ │ │ ├── HBO.list │ │ │ ├── HWTV.list │ │ │ ├── Hulu-JPN.list │ │ │ ├── Hulu.list │ │ │ ├── ITV.list │ │ │ ├── KKTV.list │ │ │ ├── LINE-TV.list │ │ │ ├── LiTV.list │ │ │ ├── My5.list │ │ │ ├── Naver-TV.list │ │ │ ├── Netflix.list │ │ │ ├── Now-E.list │ │ │ ├── PBS.list │ │ │ ├── ParamountPlus.list │ │ │ ├── Pornhub.list │ │ │ ├── Prime-Video.list │ │ │ ├── TVer.list │ │ │ ├── TaiwanGood.list │ │ │ ├── TikTok.list │ │ │ ├── ViuTV.list │ │ │ ├── YouTube.list │ │ │ ├── bilibili-Intl.list │ │ │ ├── encoreTVB.list │ │ │ ├── myTV-SUPER.list │ │ │ ├── niconico.list │ │ │ └── ‎DiscoveryPlus.list │ └── Unbreak.list ├── Shortcuts │ ├── hostname.txt │ └── reject.txt ├── Siri.request.js ├── Siri.response.js ├── Stream-All.js ├── Sub_info.js └── Surge.config ├── sub_info.js └── 涌 ├── Panel.js ├── Surge.config └── 模块 └── Task.sgmodule /Clash/ProxyList/List.yaml: -------------------------------------------------------------------------------- 1 | proxies: 2 | - name: "1" 3 | type: socks5 4 | server: server 5 | port: 443 6 | # username: username 7 | # password: password 8 | # tls: true 9 | # skip-cert-verify: true 10 | # udp: true 11 | 12 | - name: "2" 13 | type: socks5 14 | server: server 15 | port: 443 16 | # username: username 17 | # password: password 18 | # tls: true 19 | # skip-cert-verify: true 20 | # udp: true 21 | 22 | - name: "3" 23 | type: socks5 24 | server: server 25 | port: 443 26 | # username: username 27 | # password: password 28 | # tls: true 29 | # skip-cert-verify: true 30 | # udp: true -------------------------------------------------------------------------------- /Clash/ProxyList/US.yaml: -------------------------------------------------------------------------------- 1 | proxies: 2 | - name: "US1" 3 | type: socks5 4 | server: server 5 | port: 443 6 | # username: username 7 | # password: password 8 | # tls: true 9 | # skip-cert-verify: true 10 | # udp: true 11 | 12 | - name: "US2" 13 | type: socks5 14 | server: server 15 | port: 443 16 | # username: username 17 | # password: password 18 | # tls: true 19 | # skip-cert-verify: true 20 | # udp: true 21 | 22 | - name: "US3" 23 | type: socks5 24 | server: server 25 | port: 443 26 | # username: username 27 | # password: password 28 | # tls: true 29 | # skip-cert-verify: true 30 | # udp: true -------------------------------------------------------------------------------- /Clash/README.md: -------------------------------------------------------------------------------- 1 | ## 使用须知 2 | 3 | 1. `raw.githubusercontent.com` 已被污染,需自行在系统的 hosts 解决污染问题或使用其他 CDN 域名,在 Clash 配置内无效。 4 | 5 | 2. 一般来说,只需要配置节点信息即可使用。 6 | 自建用户:直接修改预设的 `1`、`2`、`3` 节点信息即可(更多协议配置示例参考官方 [Wiki](https://github.com/Dreamacro/clash/wiki/configuration))。注意!如果修改了节点名,则策略组 `proxy-groups` 部分的名字也需要修改。 7 | 订阅用户:参照修改 `proxy-providers` 的订阅配置示例及策略组 `proxy-groups` 部分的引用配置即可。 8 | 9 | 虽然直接配置好后即可使用,但建议阅读 [Wiki](https://github.com/Dreamacro/clash/wiki/configuration)。 -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Apple/AppStore.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # App Store 3 | # Store content such as apps, books, and music 4 | - DOMAIN-SUFFIX,apps.apple.com 5 | - DOMAIN-SUFFIX,itunes.apple.com 6 | - DOMAIN-SUFFIX,itunes-apple.com.akadns.net 7 | - DOMAIN-SUFFIX,mzstatic.com 8 | - DOMAIN,ppq.apple.com -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Apple/AppStoreConnect.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > App Store Connect 3 | - DOMAIN,appstoreconnect.apple.com 4 | - DOMAIN,iosapps-ssl.itunes.apple.com 5 | - DOMAIN,itcmobile.itunes.apple.com -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Apple/Apple.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # Apple 3 | - DOMAIN-SUFFIX,aaplimg.com 4 | - DOMAIN-SUFFIX,apple.co 5 | - DOMAIN-SUFFIX,apple.com 6 | - DOMAIN-SUFFIX,apple.com.cn 7 | - DOMAIN-SUFFIX,apple-cloudkit.com 8 | - DOMAIN-SUFFIX,appstore.com 9 | - DOMAIN-SUFFIX,cdn-apple.com 10 | - DOMAIN-SUFFIX,icloud.com 11 | - DOMAIN-SUFFIX,icloud.com.cn 12 | - DOMAIN-SUFFIX,icloud-content.com 13 | - DOMAIN-SUFFIX,me.com 14 | - DOMAIN-SUFFIX,mzstatic.com 15 | - DOMAIN-KEYWORD,apple.com.akadns.net 16 | - DOMAIN-KEYWORD,icloud.com.akadns.net 17 | - IP-CIDR,17.0.0.0/8,no-resolve 18 | - IP-CIDR,63.92.224.0/19,no-resolve 19 | - IP-CIDR,65.199.22.0/23,no-resolve 20 | - IP-CIDR,139.178.128.0/18,no-resolve 21 | - IP-CIDR,144.178.0.0/19,no-resolve 22 | - IP-CIDR,192.35.50.0/24,no-resolve 23 | - IP-CIDR,198.183.17.0/24,no-resolve 24 | - IP-CIDR,205.180.175.0/24,no-resolve -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Apple/FindMy.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # Find My 3 | - DOMAIN,fmfmobile.icloud.com 4 | - DOMAIN,fmipmobile.icloud.com 5 | - DOMAIN,statici.icloud.com -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Apple/Mail.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > iCloud email 3 | - DOMAIN-SUFFIX,mail.icloud.com.cn 4 | - DOMAIN-SUFFIX,mail.me.com -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Apple/Music.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Apple Music 3 | - DOMAIN-SUFFIX,music.apple.com 4 | - DOMAIN,aod.itunes.apple.com 5 | - DOMAIN,audio.itunes.apple.com 6 | - DOMAIN,mvod.itunes.apple.com 7 | - DOMAIN,streamingaudio.itunes.apple.com 8 | - DOMAIN-SUFFIX,blobstore.apple.com -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Apple/News.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Apple News 3 | - DOMAIN,gateway.icloud.com,PROXY 4 | - DOMAIN,gspe1-ssl.ls.apple.com 5 | - DOMAIN-SUFFIX,apple.news 6 | - DOMAIN,news-assets.apple.com 7 | - DOMAIN,news-client.apple.com 8 | - DOMAIN,news-edge.apple.com 9 | - DOMAIN,news-events.apple.com 10 | - DOMAIN,apple.comscoreresearch.com -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Apple/README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | 3 | Apple 已知域名均已收录于 China.yaml 中并作直连策略,如无确切目的不需要额外添加。 4 | 5 | 对于一些 Apple 被「墙」或者主动「墙」的服务如 App Store Preview、Moveis Trailers、查询外汇、国际航线的 Spotlight、维基百科查询的 Dictionary 均已收录于 Global.yaml 进行代理。 6 | 7 | 该目录只是一时兴起想做一些关于 Apple 各子域名具体作用的收录,鉴于 Apple 在国内大体良好的 CDN 部署个人不建议对其进行代理,当然既然进到了这个目录可能 Apple 的某些服务在你所在地区堪忧,相比以前对于 Apple 整体域名全部代理,该目录收录的一些细分分流文件如 App Store 应用下载、系统更新的专项代理应该更适合你。 8 | 9 | ### 分流文件说明 10 | 11 | **Apple.yaml** 12 | 13 | 是 Apple 服务的总体整理,如您想对 Apple 服务均进行代理可以使用该分流文件,需要注意的是建议放置于 Global.yaml 与 China.yaml 之间,因 Global.yaml 有 Apple 对于中国大陆不可用服务的代理行为,如您的 Apple 策略经常在代理与直连来回切换会导致 Global.yaml 中的规则失效。 14 | 15 | **其他** 16 | 17 | 其他分流文件均为代理策略,文件名极其内容已说明其主要作用。 -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Apple/Siri.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # Siri 3 | - DOMAIN,guzzoni.apple.com -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Apple/SoftwareUpdate.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # Software Update 3 | # > macOS updates 4 | - DOMAIN,gg.apple.com 5 | - DOMAIN,gnf-mdn.apple.com 6 | - DOMAIN,gnf-mr.apple.com 7 | - DOMAIN,gs.apple.com 8 | - DOMAIN,ig.apple.com 9 | - DOMAIN,skl.apple.com 10 | - DOMAIN,swcdn.apple.com 11 | - DOMAIN,swdist.apple.com 12 | - DOMAIN,swdownload.apple.com 13 | - DOMAIN,swpost.apple.com 14 | - DOMAIN,swscan.apple.com 15 | # > macOS Recovery 16 | - DOMAIN,oscdn.apple.com 17 | - DOMAIN,osrecovery.apple.com 18 | # > iOS updates 19 | - DOMAIN,appldnld.apple.com 20 | - DOMAIN,ns.itunes.apple.com 21 | # > iOS, tvOS, and macOS 22 | - DOMAIN,mesu.apple.com 23 | - DOMAIN,updates.cdn-apple.com 24 | - DOMAIN,updates-http.cdn-apple.com 25 | - DOMAIN,xp.apple.com -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Apple/TV.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # TV 3 | - DOMAIN-SUFFIX,tv.apple.com 4 | - DOMAIN,hls.itunes.apple.com 5 | - DOMAIN,hls-amt.itunes.apple.com 6 | - DOMAIN,play-edge.itunes.apple.com -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Apple/TestFlight.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # TestFlight 3 | - DOMAIN,beta.apple.com 4 | - DOMAIN,testflight.apple.com -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Apple/iCloud.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # iCloud 3 | - DOMAIN-SUFFIX,apple-cloudkit.com 4 | - DOMAIN-SUFFIX,icloud.com 5 | - DOMAIN-SUFFIX,icloud.com.cn 6 | - DOMAIN-SUFFIX,icloud-content.com 7 | - DOMAIN,www-cdn.icloud.com.akadns.net -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Cryptocurrency.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | - DOMAIN-SUFFIX,aex.com 3 | - DOMAIN-SUFFIX,bibox.com 4 | - DOMAIN-SUFFIX,binance.com 5 | - DOMAIN-SUFFIX,bitcointalk.org 6 | - DOMAIN-SUFFIX,bitfinex.com 7 | - DOMAIN-SUFFIX,bitmex.com 8 | - DOMAIN-SUFFIX,ftx.com 9 | - DOMAIN-SUFFIX,gate.io 10 | - DOMAIN-SUFFIX,huobi.com 11 | - DOMAIN-SUFFIX,okex.com 12 | - DOMAIN-SUFFIX,zb.com -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Game/Blizzard.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # Blizzard 3 | - DOMAIN-SUFFIX,battle.net 4 | - DOMAIN-SUFFIX,blizzard.com 5 | - DOMAIN,blizzard.nefficient.co.kr 6 | - DOMAIN,blzddist1-a.akamaihd.net 7 | - DOMAIN,blzddistkr1-a.akamaihd.net 8 | - DOMAIN,bnetproduct-a.akamaihd.net -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Game/Discord.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # Blizzard 3 | - DOMAIN-SUFFIX,discord.co 4 | - DOMAIN-SUFFIX,discord.com 5 | - DOMAIN-SUFFIX,discord.gg 6 | - DOMAIN-SUFFIX,discord.media 7 | - DOMAIN-SUFFIX,discordapp.com 8 | - DOMAIN-SUFFIX,discordapp.net -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Game/Steam.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # Steam 3 | - DOMAIN-SUFFIX,steam-chat.com 4 | - DOMAIN-SUFFIX,steamcontent.com 5 | - DOMAIN-SUFFIX,steamgames.com 6 | - DOMAIN-SUFFIX,steampowered.com 7 | - DOMAIN-SUFFIX,steamstat.us 8 | - DOMAIN-SUFFIX,steamstatic.com 9 | - DOMAIN-SUFFIX,steamusercontent.com 10 | - DOMAIN,steambroadcast.akamaized.net 11 | - DOMAIN,steamcdn-a.akamaihd.net 12 | - DOMAIN,steamcommunity-a.akamaihd.net 13 | - DOMAIN,steamstore-a.akamaihd.net 14 | - DOMAIN,steamusercontent-a.akamaihd.net 15 | - DOMAIN,steamusercontent-a.akamaihd.net 16 | - DOMAIN,steamuserimages-a.akamaihd.net -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Google/GoogleDrive.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Google Drive 3 | - DOMAIN-SUFFIX,docs.google.com 4 | - DOMAIN-SUFFIX,drive.google.com 5 | - DOMAIN-SUFFIX,googledrive.com 6 | - DOMAIN-SUFFIX,googleusercontent.com -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Google/GoogleSearch.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Google Search 3 | - DOMAIN-KEYWORD,www.google. -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Google/GoogleVoice.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Google Voice 3 | - DOMAIN,lens.l.google.com -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/IP-Blackhole.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # IP Blackhole 3 | # > Facebook 4 | - '31.13.24.0/21' 5 | - '31.13.64.0/18' 6 | - '45.64.40.0/22' 7 | - '66.220.144.0/20' 8 | - '69.63.176.0/20' 9 | - '69.171.224.0/19' 10 | - '74.119.76.0/22' 11 | - '103.4.96.0/22' 12 | - '129.134.0.0/17' 13 | - '157.240.0.0/17' 14 | - '173.252.64.0/19' 15 | - '173.252.96.0/19' 16 | - '179.60.192.0/22' 17 | - '185.60.216.0/22' 18 | - '204.15.20.0/22' 19 | # > Google 20 | - '35.190.247.0/24' 21 | - '64.233.160.0/19' 22 | - '66.102.0.0/20' 23 | - '66.249.80.0/20' 24 | - '72.14.192.0/18' 25 | - '74.125.0.0/16' 26 | - '108.177.8.0/21' 27 | - '172.217.0.0/16' 28 | - '173.194.0.0/16' 29 | - '209.85.128.0/17' 30 | - '216.58.192.0/19' 31 | - '216.239.32.0/19' 32 | # > Twitter 33 | - '69.195.160.0/19' 34 | - '104.244.42.0/21' 35 | - '192.133.76.0/22' 36 | - '199.16.156.0/22' 37 | - '199.59.148.0/22' 38 | - '199.96.56.0/21' 39 | - '202.160.128.0/22' 40 | - '209.237.192.0/19' 41 | # > Wikimedia 42 | - '91.198.174.0/24' 43 | - '103.102.166.0/24' 44 | - '185.15.56.0/22' 45 | - '198.35.26.0/23' 46 | - '208.80.152.0/22' -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Microsoft/OneDrive.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # OneDrive 3 | - DOMAIN-SUFFIX,1drv.com 4 | - DOMAIN-SUFFIX,onedrive.com 5 | - DOMAIN-SUFFIX,storage.live.com 6 | - DOMAIN,oneclient.sfx.ms -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/PayPal.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > PayPal 3 | - DOMAIN-SUFFIX,paypal.com 4 | - DOMAIN-SUFFIX,paypal.me 5 | - DOMAIN-SUFFIX,paypalobjects.com -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Scholar.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Scholar 3 | - DOMAIN,scholar.google.com 4 | - DOMAIN-SUFFIX,acm.org 5 | - DOMAIN-SUFFIX,acs.org 6 | - DOMAIN-SUFFIX,aip.org 7 | - DOMAIN-SUFFIX,ams.org 8 | - DOMAIN-SUFFIX,annualreviews.org 9 | - DOMAIN-SUFFIX,aps.org 10 | - DOMAIN-SUFFIX,ascelibrary.org 11 | - DOMAIN-SUFFIX,asm.org 12 | - DOMAIN-SUFFIX,asme.org 13 | - DOMAIN-SUFFIX,astm.org 14 | - DOMAIN-SUFFIX,bmj.com 15 | - DOMAIN-SUFFIX,cambridge.org 16 | - DOMAIN-SUFFIX,cas.org 17 | - DOMAIN-SUFFIX,cell.com 18 | - DOMAIN-SUFFIX,clarivate.com 19 | - DOMAIN-SUFFIX,csiro.au 20 | - DOMAIN-SUFFIX,ebscohost.com 21 | - DOMAIN-SUFFIX,elsevier.com 22 | - DOMAIN-SUFFIX,emerald.com 23 | - DOMAIN-SUFFIX,endnote.com 24 | - DOMAIN-SUFFIX,engineeringvillage.com 25 | - DOMAIN-SUFFIX,icevirtuallibrary.com 26 | - DOMAIN-SUFFIX,ieee.org 27 | - DOMAIN-SUFFIX,imf.org 28 | - DOMAIN-SUFFIX,iop.org 29 | - DOMAIN-SUFFIX,jamanetwork.com 30 | - DOMAIN-SUFFIX,jbc.org 31 | - DOMAIN-SUFFIX,jhu.edu 32 | - DOMAIN-SUFFIX,jstor.org 33 | - DOMAIN-SUFFIX,karger.com 34 | - DOMAIN-SUFFIX,libguides.com 35 | - DOMAIN-SUFFIX,madsrevolution.net 36 | - DOMAIN-SUFFIX,mdpi.com 37 | - DOMAIN-SUFFIX,mpg.de 38 | - DOMAIN-SUFFIX,myilibrary.com 39 | - DOMAIN-SUFFIX,nature.com 40 | - DOMAIN-SUFFIX,ncbi.nlm.nih.gov 41 | - DOMAIN-SUFFIX,oecd-ilibrary.org 42 | - DOMAIN-SUFFIX,osapublishing.org 43 | - DOMAIN-SUFFIX,oup.com 44 | - DOMAIN-SUFFIX,ovid.com 45 | - DOMAIN-SUFFIX,oxfordartonline.com 46 | - DOMAIN-SUFFIX,oxfordbibliographies.com 47 | - DOMAIN-SUFFIX,oxfordmusiconline.com 48 | - DOMAIN-SUFFIX,pnas.org 49 | - DOMAIN-SUFFIX,proquest.com 50 | - DOMAIN-SUFFIX,rsc.org 51 | - DOMAIN-SUFFIX,sagepub.com 52 | - DOMAIN-SUFFIX,sciencedirect.com 53 | - DOMAIN-SUFFIX,sciencemag.org 54 | - DOMAIN-SUFFIX,scitation.org 55 | - DOMAIN-SUFFIX,sci-hub.tw 56 | - DOMAIN-SUFFIX,scopus.com 57 | - DOMAIN-SUFFIX,siam.org 58 | - DOMAIN-SUFFIX,spiedigitallibrary.org 59 | - DOMAIN-SUFFIX,springer.com 60 | - DOMAIN-SUFFIX,springerlink.com 61 | - DOMAIN-SUFFIX,tandfonline.com 62 | - DOMAIN-SUFFIX,un.org 63 | - DOMAIN-SUFFIX,uni-bielefeld.de 64 | - DOMAIN-SUFFIX,webofknowledge.com 65 | - DOMAIN-SUFFIX,westlaw.com 66 | - DOMAIN-SUFFIX,wiley.com 67 | - DOMAIN-SUFFIX,worldbank.org 68 | - DOMAIN-SUFFIX,worldscientific.com 69 | -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Telegram/README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | 3 | Telegram 的主分流文件 Telegram.list 已收录于 Global.list 中,如无确切目的不需要额外添加。 4 | 5 | Telegram.yaml 用于专门想对 Telegram 服务进行指定服务器节点,以达到加速目的所用。 6 | 7 | 而至于其他三个分流文件: 8 | - TelegramNL.yaml 9 | - TelegramSG.yaml 10 | - TelegramUS.yaml 11 | 12 | 则为更具体所用,是针对 Telegram 目前三大数据中心的更具体的分流,主要是给使用 Telegram 观看影视内容,指定更为具体区域的服务器节点以达到加速目的所用。 -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Telegram/Telegram.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # Telegram 3 | - DOMAIN-SUFFIX,t.me 4 | - DOMAIN-SUFFIX,tdesktop.com 5 | - DOMAIN-SUFFIX,telegra.ph 6 | - DOMAIN-SUFFIX,telegram.me 7 | - DOMAIN-SUFFIX,telegram.org 8 | - DOMAIN-SUFFIX,telesco.pe 9 | - IP-CIDR,91.108.4.0/22,no-resolve 10 | - IP-CIDR,91.108.8.0/22,no-resolve 11 | - IP-CIDR,91.108.12.0/22,no-resolve 12 | - IP-CIDR,91.108.16.0/22,no-resolve 13 | - IP-CIDR,91.108.20.0/22,no-resolve 14 | - IP-CIDR,91.108.56.0/22,no-resolve 15 | - IP-CIDR,95.161.64.0/20,no-resolve 16 | - IP-CIDR,149.154.160.0/20,no-resolve 17 | - IP-CIDR,2001:b28:f23d::/48,no-resolve 18 | - IP-CIDR,2001:b28:f23f::/48,no-resolve 19 | - IP-CIDR,2001:67c:4e8::/48,no-resolve -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Telegram/TelegramNL.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # Telegram NL 3 | - IP-CIDR,91.108.4.0/24,no-resolve 4 | - IP-CIDR,91.108.8.0/27,no-resolve 5 | - IP-CIDR,149.154.160.0/22,no-resolve 6 | - IP-CIDR,149.154.164.0/22,no-resolve 7 | - IP-CIDR,2001:67c:4e8:f002::e/128,no-resolve 8 | - IP-CIDR,2001:67c:4e8:f002::a/128,no-resolve 9 | - IP-CIDR,2001:67c:4e8:f004::a/128,no-resolve -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Telegram/TelegramSG.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # Telegram SG 3 | - IP-CIDR,91.108.16.0/27,no-resolve 4 | - IP-CIDR,91.108.56.0/24,no-resolve 5 | - IP-CIDR,149.154.168.0/22,no-resolve 6 | - IP-CIDR,2001:b28:f23f:f005::a/128,no-resolve -------------------------------------------------------------------------------- /Clash/RuleSet/Extra/Telegram/TelegramUS.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # Telegram US 3 | - IP-CIDR,91.108.12.0/27,no-resolve 4 | - IP-CIDR,149.154.172.0/22,no-resolve 5 | - IP-CIDR,2001:b28:f23d:f001::e/128,no-resolve 6 | - IP-CIDR,2001:b28:f23d:f003::e/128,no-resolve 7 | - IP-CIDR,2001:b28:f23d:f001::a/128,no-resolve 8 | - IP-CIDR,2001:b28:f23d:f003::a/128,no-resolve -------------------------------------------------------------------------------- /Clash/RuleSet/Guard/Privacy.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # Privacy 3 | - DOMAIN-SUFFIX,adjust.com 4 | - DOMAIN-SUFFIX,cpatrk.net 5 | - DOMAIN-SUFFIX,kochava.com 6 | - DOMAIN-SUFFIX,marketo.com 7 | - DOMAIN-SUFFIX,mobileapptracking.com 8 | - DOMAIN-SUFFIX,rtbasia.com 9 | - DOMAIN-SUFFIX,scorecardresearch.com 10 | - DOMAIN-SUFFIX,sumologic.com 11 | - DOMAIN-SUFFIX,survicate.com 12 | - DOMAIN-SUFFIX,tagcommander.com 13 | - DOMAIN-SUFFIX,tailtarget.com 14 | - DOMAIN-SUFFIX,talkingdata.net 15 | - DOMAIN-SUFFIX,tapad.com 16 | - DOMAIN-SUFFIX,tapfiliate.com 17 | - DOMAIN-SUFFIX,tapinfluence.com 18 | - DOMAIN-SUFFIX,tapstream.com 19 | - DOMAIN-SUFFIX,tealiumiq.com 20 | - DOMAIN-SUFFIX,tend.io 21 | - DOMAIN-SUFFIX,tpctrust.com 22 | - DOMAIN-SUFFIX,trackingio.com 23 | - DOMAIN-SUFFIX,tremormedia.com 24 | - DOMAIN-SUFFIX,woopra.com 25 | - DOMAIN-SUFFIX,wootric.com 26 | - DOMAIN-SUFFIX,wowanalytics.co.uk 27 | - DOMAIN-SUFFIX,zoomanalytics.co 28 | 29 | - DOMAIN,track.tenjin.com 30 | - DOMAIN,track.tenjin.io 31 | - DOMAIN,api.talkingdata.com 32 | - DOMAIN,track.tiara.daum.net 33 | - DOMAIN,track.tiara.kakao.com 34 | - DOMAIN,zgsdk.zhugeio.com 35 | 36 | # > 51.LA 37 | - DOMAIN,js.users.51.la 38 | - DOMAIN,mc.51.la 39 | - DOMAIN,wc.51.la 40 | # > 58 41 | - DOMAIN,track.58.com 42 | - DOMAIN,tracklog.58.com 43 | # > Baidu 44 | - DOMAIN,hm.baidu.com 45 | - DOMAIN,hmma.baidu.com 46 | # > ByteDance 47 | - DOMAIN,log.byteoversea.com 48 | - DOMAIN,log.tiktokv.com 49 | - DOMAIN,log-hl-ipv6.snssdk.com 50 | - DOMAIN,log-lq.snssdk.com 51 | - DOMAIN,log-va.tiktokv.com 52 | - DOMAIN,xlog.snssdk.com 53 | # > Google 54 | - DOMAIN-SUFFIX,googletagmanager.com 55 | - DOMAIN-SUFFIX,google-analytics.com 56 | - DOMAIN,safebrowsing.googleapis.com 57 | # > MI 58 | - DOMAIN-SUFFIX,tracking.miui.com 59 | - DOMAIN,data.mistat.xiaomi.com 60 | - DOMAIN,tracking.intl.miui.com 61 | # > Tencent 62 | - DOMAIN-SUFFIX,trace.qq.com 63 | - DOMAIN,btrace.qq.com 64 | - DOMAIN,btrace.video.qq.com 65 | - DOMAIN,mtrace.qq.com 66 | - DOMAIN,safebrowsing.urlsec.qq.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Live/Twitch.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Twitch 3 | - PROCESS-NAME,tv.twitch.android.app 4 | - DOMAIN-SUFFIX,jtvnw.net 5 | - DOMAIN-SUFFIX,ttvnw.net 6 | - DOMAIN-SUFFIX,twitch.tv 7 | - DOMAIN-SUFFIX,twitchcdn.net -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Music/Deezer.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Deezer 3 | - PROCESS-NAME,deezer.android.app 4 | - DOMAIN-SUFFIX,deezer.com 5 | - DOMAIN-SUFFIX,dzcdn.net -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Music/Instagram.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Instagram Music 3 | - PROCESS-NAME,com.instagram.android 4 | - DOMAIN-SUFFIX,cdninstagram.com 5 | - DOMAIN-SUFFIX,instagram.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Music/JOOX.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > JOOX 3 | - PROCESS-NAME,com.tencent.ibg.joox 4 | - PROCESS-NAME,com.tencent.ibg.jooxtv 5 | - DOMAIN-SUFFIX,joox.com 6 | - DOMAIN-KEYWORD,jooxweb-api -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Music/KKBOX.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > KKBOX 3 | - PROCESS-NAME,com.skysoft.kkbox.android 4 | - DOMAIN-SUFFIX,kkbox.com 5 | - DOMAIN-SUFFIX,kkbox.com.tw 6 | - DOMAIN-SUFFIX,kfs.io -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Music/Pandora.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Pandora 3 | - PROCESS-NAME,com.pandora.android 4 | - DOMAIN-SUFFIX,pandora.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Music/SoundCloud.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > SoundCloud 3 | - PROCESS-NAME,com.soundcloud.android 4 | - DOMAIN-SUFFIX,p-cdn.us 5 | - DOMAIN-SUFFIX,sndcdn.com 6 | - DOMAIN-SUFFIX,soundcloud.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Music/Spotify.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Spotify 3 | - PROCESS-NAME,com.spotify.music 4 | - DOMAIN-SUFFIX,pscdn.co 5 | - DOMAIN-SUFFIX,scdn.co 6 | - DOMAIN-SUFFIX,spotify.com 7 | - DOMAIN-SUFFIX,spoti.fi 8 | - DOMAIN-KEYWORD,spotify.com 9 | - DOMAIN-KEYWORD,-spotify-com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Music/TIDAL.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > TIDAL 3 | - PROCESS-NAME,com.aspiro.tidal 4 | - DOMAIN-SUFFIX,tidal.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Music/YouTubeMusic.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > TIDAL 3 | - PROCESS-NAME,com.google.android.apps.youtube.music 4 | - PROCESS-NAME,com.google.android.youtube.tvmusic -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Podcast/Himalaya.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Himalaya 3 | - PROCESS-NAME,com.ximalaya.ting.himalaya 4 | - DOMAIN-SUFFIX,himalaya.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/StreamingCN.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # (Video) 3 | # > Acfun 4 | - DOMAIN-SUFFIX,acfun.cn 5 | - DOMAIN-SUFFIX,aixifan.com 6 | # > bilibili 7 | - DOMAIN-SUFFIX,biliapi.net 8 | - DOMAIN-SUFFIX,bilibili.com 9 | - DOMAIN-SUFFIX,bilivideo.com 10 | - DOMAIN-SUFFIX,hdslb.com 11 | # > Tencent Video 12 | - DOMAIN-SUFFIX,video.qq.com 13 | - DOMAIN-SUFFIX,i.qq.com 14 | - DOMAIN-SUFFIX,v.qq.com 15 | # > iQiyi 16 | - DOMAIN-SUFFIX,iqiyi.com 17 | - DOMAIN-SUFFIX,71edge.com 18 | # > Youku 19 | - DOMAIN-SUFFIX,soku.com 20 | - DOMAIN-SUFFIX,youku.com 21 | - DOMAIN-SUFFIX,ykimg.com 22 | # > XiGua 23 | - DOMAIN-SUFFIX,ixigua.com 24 | - DOMAIN-SUFFIX,snssdk.com 25 | # > HunanTV 26 | - DOMAIN-SUFFIX,hitv.com 27 | - DOMAIN-SUFFIX,hunantv.com 28 | - DOMAIN-SUFFIX,mgtv.com 29 | # > Le 30 | - DOMAIN-SUFFIX,le.com 31 | # > PPLive 32 | - DOMAIN-SUFFIX,pplive.cn 33 | - DOMAIN-SUFFIX,pptv.com 34 | # > Sohu Video 35 | - DOMAIN-SUFFIX,itc.cn 36 | - DOMAIN-SUFFIX,sohu.com 37 | # > Migu Video 38 | - DOMAIN-SUFFIX,cmvideo.cn 39 | - DOMAIN-SUFFIX,miguvideo.com 40 | 41 | # (Music) 42 | # > QQ Music 43 | - DOMAIN-SUFFIX,music.qq.com 44 | - DOMAIN-SUFFIX,music.tc.qq.com 45 | - DOMAIN-SUFFIX,qqmusic.qq.com 46 | - DOMAIN-SUFFIX,tencentmusic.com 47 | - DOMAIN-SUFFIX,y.qq.com 48 | - DOMAIN,aqqmusic.tc.qq.com 49 | - DOMAIN,moo.qq.com 50 | # > China Music Corp 51 | - DOMAIN-SUFFIX,kuwo.cn 52 | - DOMAIN-SUFFIX,kugou.com 53 | # > Netease Cloud Music 54 | - DOMAIN-SUFFIX,music.163.com 55 | - DOMAIN-SUFFIX,music.126.net 56 | - DOMAIN,mam.netease.com 57 | - DOMAIN,api.iplay.163.com 58 | # > Qianqian Music 59 | - DOMAIN-SUFFIX,qianqian.com 60 | - DOMAIN-SUFFIX,taihe.com 61 | # > Migu Music 62 | - DOMAIN-SUFFIX,migu.cn 63 | # > Xiaomi 64 | - DOMAIN-SUFFIX,ai.xiaomi.com 65 | - DOMAIN-SUFFIX,music.xiaomi.com 66 | - DOMAIN-SUFFIX,dmhmusic.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/StreamingSE.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > bilibili 3 | - DOMAIN-SUFFIX,biliapi.net 4 | - DOMAIN-SUFFIX,bilibili.com 5 | - DOMAIN-KEYWORD,cn-hk-eq-bcache- 6 | - DOMAIN,upos-hz-mirrorakam.akamaized.net 7 | # > 愛奇藝台灣站 & iQIYI 8 | - DOMAIN-SUFFIX,iq.com 9 | - DOMAIN,cache.video.iqiyi.com 10 | - DOMAIN,cache-video.iq.com 11 | - DOMAIN,intl.iqiyi.com 12 | - DOMAIN,intl-rcd.iqiyi.com 13 | - DOMAIN,intl-subscription.iqiyi.com 14 | # (流媒体内容,非必须,省流量可注释) 15 | - DOMAIN-KEYWORD,oversea-tw.inter.iqiyi.com 16 | - DOMAIN-KEYWORD,oversea-tw.inter.ptqy.gitv.tv 17 | - IP-CIDR,103.44.56.0/22,no-resolve 18 | - IP-CIDR,118.26.32.0/23,no-resolve 19 | - IP-CIDR,118.26.120.0/24,no-resolve 20 | - IP-CIDR,223.119.62.225/28,no-resolve 21 | - IP-CIDR,23.40.242.10/32,no-resolve 22 | - IP-CIDR,23.40.241.251/32,no-resolve 23 | # > 芒果TV国际 24 | - DOMAIN-SUFFIX,api.mgtv.com 25 | # > WeTV 26 | - DOMAIN-SUFFIX,wetv.vip 27 | - DOMAIN-SUFFIX,wetvinfo.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/AbemaTV.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > AbemaTV 3 | - PROCESS-NAME,tv.abema 4 | - DOMAIN-SUFFIX,abema.io 5 | - DOMAIN-SUFFIX,abema.tv 6 | - DOMAIN-SUFFIX,ameba.jp 7 | - DOMAIN-SUFFIX,hayabusa.io 8 | - DOMAIN-KEYWORD,abematv.akamaized.net -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/All-4.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > All 4 3 | - PROCESS-NAME,com.channel4.ondemand 4 | - DOMAIN-SUFFIX,c4assets.com 5 | - DOMAIN-SUFFIX,channel4.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/BBC-iPlayer.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > BBC iPlayer 3 | - PROCESS-NAME,bbc.iplayer.android 4 | - DOMAIN-SUFFIX,bbc.co.uk 5 | - DOMAIN-SUFFIX,bbci.co.uk 6 | - DOMAIN-KEYWORD,bbcfmt 7 | - DOMAIN-KEYWORD,uk-live -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/Bahamut.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Bahamut 3 | - PROCESS-NAME,tw.com.gamer.android.animad 4 | - DOMAIN-SUFFIX,bahamut.com.tw 5 | - DOMAIN-SUFFIX,gamer.com.tw 6 | - DOMAIN,gamer-cds.cdn.hinet.net 7 | - DOMAIN,gamer2-cds.cdn.hinet.net -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/DAZN.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > DAZN 3 | - PROCESS-NAME,com.dazn 4 | - DOMAIN-SUFFIX,dazn.com 5 | - DOMAIN-SUFFIX,dazn-api.com 6 | - DOMAIN-SUFFIX,dazndn.com 7 | - DOMAIN-SUFFIX,indazn.com 8 | - DOMAIN,d151l6v8er5bdm.cloudfront.net 9 | - DOMAIN-KEYWORD,voddazn -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/DMM.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > DMM 3 | - PROCESS-NAME,com.dmm.app.movieplayer 4 | - DOMAIN-SUFFIX,dmm.co.jp 5 | - DOMAIN-SUFFIX,dmm.com 6 | - DOMAIN-SUFFIX,dmm-extension.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/DisneyPlus.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Disney+ 3 | - PROCESS-NAME,com.disney.disneyplus 4 | - DOMAIN-SUFFIX,bamgrid.com 5 | - DOMAIN-SUFFIX,disneyplus.com 6 | - DOMAIN-SUFFIX,disney-plus.net 7 | - DOMAIN-SUFFIX,disneystreaming.com 8 | - DOMAIN-SUFFIX,dssott.com 9 | - DOMAIN,cdn.registerdisney.go.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/HBO-Asia.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > HBO Asia 3 | - PROCESS-NAME,hk.hbo.hbogo 4 | - DOMAIN-SUFFIX,hbogoasia.com 5 | - DOMAIN-SUFFIX,hbogoasia.hk 6 | - DOMAIN-KEYWORD,.hbogoasia. 7 | - DOMAIN,44wilhpljf.execute-api.ap-southeast-1.amazonaws.com 8 | - DOMAIN,bcbolthboa-a.akamaihd.net 9 | - DOMAIN,cf-images.ap-southeast-1.prod.boltdns.net 10 | - DOMAIN,dai3fd1oh325y.cloudfront.net 11 | - DOMAIN,hboasia1-i.akamaihd.net 12 | - DOMAIN,hboasia2-i.akamaihd.net 13 | - DOMAIN,hboasia3-i.akamaihd.net 14 | - DOMAIN,hboasia4-i.akamaihd.net 15 | - DOMAIN,hboasia5-i.akamaihd.net 16 | - DOMAIN,hboasialive.akamaized.net 17 | - DOMAIN,hbogoprod-vod.akamaized.net 18 | - DOMAIN,hbolb.onwardsmg.com 19 | - DOMAIN,hbounify-prod.evergent.com 20 | - DOMAIN,players.brightcove.net 21 | - DOMAIN,s3-ap-southeast-1.amazonaws.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/HBO.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > HBO NOW & Max 3 | - PROCESS-NAME,com.hbo.hbonow 4 | - DOMAIN-SUFFIX,hbo.com 5 | - DOMAIN-SUFFIX,hbogo.com 6 | - DOMAIN-SUFFIX,hbonow.com 7 | - DOMAIN-SUFFIX,hbomax.com 8 | - DOMAIN-SUFFIX,hbomaxcdn.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/HWTV.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > 华文电视 3 | - DOMAIN-SUFFIX,5itv.tv 4 | - DOMAIN-SUFFIX,ocnttv.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/Hulu-JPN.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Hulu / フールー 3 | - PROCESS-NAME,jp.happyon.android 4 | - DOMAIN-SUFFIX,happyon.jp 5 | - DOMAIN-SUFFIX,hjholdings.jp 6 | - DOMAIN-SUFFIX,hulu.jp -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/Hulu.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Hulu 3 | - PROCESS-NAME,com.hulu.plus 4 | - DOMAIN-SUFFIX,hulu.com 5 | - DOMAIN-SUFFIX,huluim.com 6 | - DOMAIN-SUFFIX,hulustream.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/ITV.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > ITV 3 | - PROCESS-NAME,air.ITVMobilePlayer 4 | - DOMAIN-SUFFIX,itv.com 5 | - DOMAIN-SUFFIX,itvstatic.com 6 | - DOMAIN,itvpnpmobile-a.akamaihd.net -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/KKTV.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > KKTV 3 | - PROCESS-NAME,com.kktv.kktv 4 | - DOMAIN-SUFFIX,kktv.com.tw 5 | - DOMAIN-SUFFIX,kktv.me 6 | - DOMAIN,kktv-theater.kk.stream -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/LINE-TV.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > LINE TV 3 | - PROCESS-NAME,com.linecorp.linetv 4 | - DOMAIN-SUFFIX,linetv.tw 5 | - DOMAIN,d3c7rimkq79yfu.cloudfront.net -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/LiTV.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > LiTV 3 | - PROCESS-NAME,com.litv.mobile.gp.litv 4 | - DOMAIN-SUFFIX,litv.tv 5 | - DOMAIN,litvfreemobile-hichannel.cdn.hinet.net -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/My5.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > My5 3 | - PROCESS-NAME,com.mobileiq.demand5 4 | - DOMAIN-SUFFIX,channel5.com 5 | - DOMAIN-SUFFIX,my5.tv 6 | - DOMAIN,d349g9zuie06uo.cloudfront.net -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/Naver-TV.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Naver TV 3 | - PROCESS-NAME,com.nhn.android.naverplayer 4 | - DOMAIN-SUFFIX,naver.com 5 | - DOMAIN-SUFFIX,smartmediarep.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/Netflix.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Netflix 3 | - PROCESS-NAME,com.netflix.mediaclient 4 | - DOMAIN-SUFFIX,netflix.com 5 | - DOMAIN-SUFFIX,netflix.net 6 | - DOMAIN-SUFFIX,nflxext.com 7 | - DOMAIN-SUFFIX,nflximg.com 8 | - DOMAIN-SUFFIX,nflximg.net 9 | - DOMAIN-SUFFIX,nflxso.net 10 | - DOMAIN-SUFFIX,nflxvideo.net 11 | - DOMAIN-SUFFIX,netflixdnstest0.com 12 | - DOMAIN-SUFFIX,netflixdnstest1.com 13 | - DOMAIN-SUFFIX,netflixdnstest2.com 14 | - DOMAIN-SUFFIX,netflixdnstest3.com 15 | - DOMAIN-SUFFIX,netflixdnstest4.com 16 | - DOMAIN-SUFFIX,netflixdnstest5.com 17 | - DOMAIN-SUFFIX,netflixdnstest6.com 18 | - DOMAIN-SUFFIX,netflixdnstest7.com 19 | - DOMAIN-SUFFIX,netflixdnstest8.com 20 | - DOMAIN-SUFFIX,netflixdnstest9.com 21 | - DOMAIN-KEYWORD,dualstack.apiproxy- 22 | - DOMAIN-KEYWORD,dualstack.ichnaea-web- 23 | - IP-CIDR,23.246.0.0/18,no-resolve 24 | - IP-CIDR,37.77.184.0/21,no-resolve 25 | - IP-CIDR,45.57.0.0/17,no-resolve 26 | - IP-CIDR,64.120.128.0/17,no-resolve 27 | - IP-CIDR,66.197.128.0/17,no-resolve 28 | - IP-CIDR,108.175.32.0/20,no-resolve 29 | - IP-CIDR,192.173.64.0/18,no-resolve 30 | - IP-CIDR,198.38.96.0/19,no-resolve 31 | - IP-CIDR,198.45.48.0/20,no-resolve 32 | - IP-CIDR,34.210.42.111/32,no-resolve 33 | - IP-CIDR,52.89.124.203/32,no-resolve 34 | - IP-CIDR,54.148.37.5/32,no-resolve -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/Now-E.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Now E 3 | - PROCESS-NAME,com.pccw.nowemobile 4 | - DOMAIN-SUFFIX,nowe.com 5 | - DOMAIN-SUFFIX,nowestatic.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/PBS.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > PBS 3 | - PROCESS-NAME,com.pbs.video 4 | - DOMAIN-SUFFIX,pbs.org -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/ParamountPlus.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Paramount+ 3 | - PROCESS-NAME,com.cbs.app 4 | - DOMAIN-SUFFIX,cbsi.com 5 | - DOMAIN-SUFFIX,cbsaavideo.com 6 | - DOMAIN-SUFFIX,cbsivideo.com 7 | - DOMAIN-SUFFIX,paramountplus.com 8 | - DOMAIN-SUFFIX,pplusstatic.com 9 | - DOMAIN,cbsi.live.ott.irdeto.com 10 | - DOMAIN,cbsplaylistserver.aws.syncbak.com 11 | - DOMAIN,cbsservice.aws.syncbak.com 12 | - DOMAIN,link.theplatform.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/Pornhub.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Pornhub 3 | - DOMAIN-SUFFIX,phncdn.com 4 | - DOMAIN-SUFFIX,phprcdn.com 5 | - DOMAIN-SUFFIX,pornhub.com 6 | - DOMAIN-SUFFIX,pornhubpremium.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/Prime-Video.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > Amazon Prime Video 3 | - PROCESS-NAME,com.amazon.avod.thirdp 4 | - DOMAIN-SUFFIX,aiv-cdn.net 5 | - DOMAIN-SUFFIX,aiv-delivery.net 6 | - DOMAIN-SUFFIX,amazonvideo.com 7 | - DOMAIN-SUFFIX,primevideo.com 8 | - DOMAIN-SUFFIX,media-amazon.com 9 | - DOMAIN,atv-ps.amazon.com 10 | - DOMAIN,fls-na.amazon.com 11 | - DOMAIN,avodmp4s3ww-a.akamaihd.net 12 | - DOMAIN,d25xi40x97liuc.cloudfront.net 13 | - DOMAIN,dmqdd6hw24ucf.cloudfront.net 14 | - DOMAIN,dmqdd6hw24ucf.cloudfront.net 15 | - DOMAIN,d22qjgkvxw22r6.cloudfront.net 16 | - DOMAIN,d1v5ir2lpwr8os.cloudfront.net 17 | - DOMAIN,d27xxe7juh1us6.cloudfront.net 18 | - DOMAIN-KEYWORD,avoddashs -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/TVer.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > TVer 3 | - PROCESS-NAME,jp.hamitv.hamiand1 4 | - DOMAIN-SUFFIX,tver.jp 5 | - DOMAIN,edge.api.brightcove.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/TaiwanGood.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > 台湾好 3 | - PROCESS-NAME,com.twgood.android 4 | - DOMAIN-SUFFIX,skyking.com.tw 5 | - DOMAIN,hamifans.emome.net -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/TikTok.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > TikTok 3 | - PROCESS-NAME,com.ss.android.ugc.trill 4 | - DOMAIN-SUFFIX,byteoversea.com 5 | - DOMAIN-SUFFIX,ibytedtos.com 6 | - DOMAIN-SUFFIX,ipstatp.com 7 | - DOMAIN-SUFFIX,muscdn.com 8 | - DOMAIN-SUFFIX,musical.ly 9 | - DOMAIN-SUFFIX,tiktok.com 10 | - DOMAIN-SUFFIX,tik-tokapi.com 11 | - DOMAIN-SUFFIX,tiktokcdn.com 12 | - DOMAIN-SUFFIX,tiktokv.com 13 | - DOMAIN-KEYWORD,-tiktokcdn-com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/ViuTV.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > ViuTV 3 | - PROCESS-NAME,com.hktve.viutv 4 | - DOMAIN-SUFFIX,viu.com 5 | - DOMAIN-SUFFIX,viu.tv 6 | - DOMAIN,api.viu.now.com 7 | - DOMAIN,d1k2us671qcoau.cloudfront.net 8 | - DOMAIN,d2anahhhmp1ffz.cloudfront.net 9 | - DOMAIN,dfp6rglgjqszk.cloudfront.net -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/YouTube.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > YouTube 3 | - PROCESS-NAME,com.google.android.youtube 4 | - PROCESS-NAME,com.google.android.youtube.tv 5 | - DOMAIN-SUFFIX,googlevideo.com 6 | - DOMAIN-SUFFIX,youtube.com 7 | - DOMAIN-SUFFIX,ytimg.com 8 | - DOMAIN,youtubei.googleapis.com 9 | - DOMAIN,yt3.ggpht.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/encoreTVB.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > encoreTVB 3 | - PROCESS-NAME,com.tvbusa.encore 4 | - DOMAIN-SUFFIX,encoretvb.com 5 | - DOMAIN,edge.api.brightcove.com 6 | - DOMAIN,bcbolt446c5271-a.akamaihd.net -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/myTV-SUPER.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > myTV SUPER 3 | - PROCESS-NAME,com.tvb.mytvsuper 4 | - DOMAIN-SUFFIX,mytvsuper.com 5 | - DOMAIN-SUFFIX,tvb.com -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/niconico.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > niconico 3 | - PROCESS-NAME,jp.nicovideo.android 4 | - DOMAIN-SUFFIX,dmc.nico 5 | - DOMAIN-SUFFIX,nicovideo.jp 6 | - DOMAIN-SUFFIX,nimg.jp -------------------------------------------------------------------------------- /Clash/RuleSet/StreamingMedia/Video/‎DiscoveryPlus.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # > discovery+ 3 | - PROCESS-NAME,com.discovery.discoveryplus.mobile 4 | - DOMAIN-SUFFIX,disco-api.com 5 | - DOMAIN-SUFFIX,discoveryplus.co.uk 6 | - DOMAIN-SUFFIX,discoveryplus.com 7 | - DOMAIN-SUFFIX,discoveryplus.in 8 | - DOMAIN-SUFFIX,dnitv.com -------------------------------------------------------------------------------- /Clash/RuleSet/Unbreak.yaml: -------------------------------------------------------------------------------- 1 | payload: 2 | # Unbreak 3 | # > General 4 | # USER-AGENT,archero* 5 | # USER-AGENT,coffeecorp* 6 | # USER-AGENT,Coffee%20Corp* 7 | # USER-AGENT,restaurant-mobile* 8 | - DOMAIN,app.adjust.com 9 | - DOMAIN,bdtj.tagtic.cn 10 | # > Alibaba 11 | - DOMAIN,log.mmstat.com 12 | - DOMAIN,sycm.mmstat.com 13 | # > Google 14 | - DOMAIN-SUFFIX,blog.google 15 | - DOMAIN-SUFFIX,googletraveladservices.com 16 | - DOMAIN,clientservices.googleapis.com 17 | - DOMAIN,dl.google.com 18 | - DOMAIN,dl.l.google.com 19 | - DOMAIN,update.googleapis.com 20 | - DOMAIN,translate.googleapis.com 21 | # >> Google Fonts API 22 | - DOMAIN,fonts.googleapis.com 23 | - DOMAIN,fonts.gstatic.com 24 | # >> Firebase Cloud Messaging 25 | - DOMAIN,mtalk.google.com 26 | - DOMAIN,alt1-mtalk.google.com 27 | - DOMAIN,alt2-mtalk.google.com 28 | - DOMAIN,alt3-mtalk.google.com 29 | - DOMAIN,alt4-mtalk.google.com 30 | - DOMAIN,alt5-mtalk.google.com 31 | - DOMAIN,alt6-mtalk.google.com 32 | - DOMAIN,alt7-mtalk.google.com 33 | - DOMAIN,alt8-mtalk.google.com 34 | # >> Paramount+ 35 | - DOMAIN,pubads.g.doubleclick.net 36 | # > Tencent 37 | - DOMAIN,fairplay.l.qq.com 38 | - DOMAIN,livew.l.qq.com 39 | - DOMAIN,vd.l.qq.com 40 | # > Strava 41 | - DOMAIN,analytics.strava.com 42 | # > Umeng 43 | - DOMAIN,msg.umeng.com 44 | - DOMAIN,msg.umengcloud.com -------------------------------------------------------------------------------- /Panel_Sub_info.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 由@mieqq编写 3 | * 原脚本地址:https://raw.githubusercontent.com/mieqq/mieqq/master/sub_info_panel.js 4 | * 由@Rabbit-Spec修改 5 | * 更新日期:2022.06.29 6 | * 版本:1.7 7 | */ 8 | 9 | let args = getArgs(); 10 | 11 | (async () => { 12 | let info = await getDataInfo(args.url); 13 | if (!info) $done(); 14 | let resetDayLeft = getRmainingDays(parseInt(args["reset_day"])); 15 | 16 | let used = info.download + info.upload; 17 | let total = info.total; 18 | let expire = args.expire || info.expire; 19 | let content = [`用量:${bytesToSize(used)} | ${bytesToSize(total)}`]; 20 | 21 | if (resetDayLeft) { 22 | content.push(`重置:剩余${resetDayLeft}天`); 23 | } 24 | if (expire && expire !== "false") { 25 | if (/^[\d.]+$/.test(expire)) expire *= 1000; 26 | content.push(`到期:${formatTime(expire)}`); 27 | } 28 | 29 | let now = new Date(); 30 | let hour = now.getHours(); 31 | let minutes = now.getMinutes(); 32 | hour = hour > 9 ? hour : "0" + hour; 33 | minutes = minutes > 9 ? minutes : "0" + minutes; 34 | 35 | $done({ 36 | title: `${args.title} | ${hour}:${minutes}`, 37 | content: content.join("\n"), 38 | icon: args.icon || "airplane.circle", 39 | "icon-color": args.color || "#007aff", 40 | }); 41 | })(); 42 | 43 | function getArgs() { 44 | return Object.fromEntries( 45 | $argument 46 | .split("&") 47 | .map((item) => item.split("=")) 48 | .map(([k, v]) => [k, decodeURIComponent(v)]) 49 | ); 50 | } 51 | 52 | function getUserInfo(url) { 53 | let method = args.method || "head"; 54 | let request = { headers: { "User-Agent": "Quantumult%20X" }, url }; 55 | return new Promise((resolve, reject) => 56 | $httpClient[method](request, (err, resp) => { 57 | if (err != null) { 58 | reject(err); 59 | return; 60 | } 61 | if (resp.status !== 200) { 62 | reject(resp.status); 63 | return; 64 | } 65 | let header = Object.keys(resp.headers).find( 66 | (key) => key.toLowerCase() === "subscription-userinfo" 67 | ); 68 | if (header) { 69 | resolve(resp.headers[header]); 70 | return; 71 | } 72 | reject("链接响应头不带有流量信息"); 73 | }) 74 | ); 75 | } 76 | 77 | async function getDataInfo(url) { 78 | const [err, data] = await getUserInfo(url) 79 | .then((data) => [null, data]) 80 | .catch((err) => [err, null]); 81 | if (err) { 82 | console.log(err); 83 | return; 84 | } 85 | 86 | return Object.fromEntries( 87 | data 88 | .match(/\w+=[\d.eE+]+/g) 89 | .map((item) => item.split("=")) 90 | .map(([k, v]) => [k, Number(v)]) 91 | ); 92 | } 93 | 94 | function getRmainingDays(resetDay) { 95 | if (!resetDay) return; 96 | 97 | let now = new Date(); 98 | let today = now.getDate(); 99 | let month = now.getMonth(); 100 | let year = now.getFullYear(); 101 | let daysInMonth; 102 | 103 | if (resetDay > today) { 104 | daysInMonth = 0; 105 | } else { 106 | daysInMonth = new Date(year, month + 1, 0).getDate(); 107 | } 108 | 109 | return daysInMonth - today + resetDay; 110 | } 111 | 112 | function bytesToSize(bytes) { 113 | if (bytes === 0) return "0B"; 114 | let k = 1024; 115 | sizes = ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"]; 116 | let i = Math.floor(Math.log(bytes) / Math.log(k)); 117 | return (bytes / Math.pow(k, i)).toFixed(2) + " " + sizes[i]; 118 | } 119 | 120 | function formatTime(time) { 121 | let dateObj = new Date(time); 122 | let year = dateObj.getFullYear(); 123 | let month = dateObj.getMonth() + 1; 124 | let day = dateObj.getDate(); 125 | return year + "年" + month + "月" + day + "日"; 126 | } 127 | -------------------------------------------------------------------------------- /Quantumult/Bili_Auto_Regions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HengLiu2282/DivineEngine/e5043a1cee1678254b424267bdcfccbcb574bad6/Quantumult/Bili_Auto_Regions.js -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/AppStore.list: -------------------------------------------------------------------------------- 1 | # App Store 2 | # Store content such as apps, books, and music 3 | DOMAIN-SUFFIX,apps.apple.com,PROXY 4 | DOMAIN-SUFFIX,itunes.apple.com,PROXY 5 | DOMAIN-SUFFIX,itunes-apple.com.akadns.net,PROXY 6 | DOMAIN-SUFFIX,mzstatic.com,PROXY 7 | DOMAIN,ppq.apple.com,PROXY -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/AppStoreConnect.list: -------------------------------------------------------------------------------- 1 | # > App Store Connect 2 | DOMAIN,appstoreconnect.apple.com,App Store Connect 3 | DOMAIN,iosapps-ssl.itunes.apple.com,App Store Connect 4 | DOMAIN,itcmobile.itunes.apple.com,App Store Connect -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/Apple.list: -------------------------------------------------------------------------------- 1 | # Apple 2 | DOMAIN-SUFFIX,aaplimg.com,Apple 3 | DOMAIN-SUFFIX,apple.co,Apple 4 | DOMAIN-SUFFIX,apple.com,Apple 5 | DOMAIN-SUFFIX,apple.com.cn,Apple 6 | DOMAIN-SUFFIX,apple-cloudkit.com,Apple 7 | DOMAIN-SUFFIX,appstore.com,Apple 8 | DOMAIN-SUFFIX,cdn-apple.com,Apple 9 | DOMAIN-SUFFIX,icloud.com,Apple 10 | DOMAIN-SUFFIX,icloud.com.cn,Apple 11 | DOMAIN-SUFFIX,icloud-content.com,Apple 12 | DOMAIN-SUFFIX,me.com,Apple 13 | DOMAIN-SUFFIX,mzstatic.com,Apple 14 | DOMAIN-KEYWORD,apple.com.akadns.net,Apple 15 | DOMAIN-KEYWORD,icloud.com.akadns.net,Apple 16 | IP-CIDR,17.0.0.0/8,Apple 17 | IP-CIDR,63.92.224.0/19,Apple 18 | IP-CIDR,65.199.22.0/23,Apple 19 | IP-CIDR,139.178.128.0/18,Apple 20 | IP-CIDR,144.178.0.0/19,Apple 21 | IP-CIDR,192.35.50.0/24,Apple 22 | IP-CIDR,198.183.17.0/24,Apple 23 | IP-CIDR,205.180.175.0/24,Apple -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/BlockiOSUpdate.list: -------------------------------------------------------------------------------- 1 | # Block iOS Update 2 | DOMAIN,mesu.apple.com,REJECT 3 | DOMAIN,gdmf.apple.com,REJECT 4 | DOMAIN,updates-http.cdn-apple.com,REJECT 5 | DOMAIN,xp.apple.com,REJECT -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/FindMy.list: -------------------------------------------------------------------------------- 1 | # Find My 2 | DOMAIN,fmfmobile.icloud.com,PROXY 3 | DOMAIN,fmipmobile.icloud.com,PROXY 4 | DOMAIN,statici.icloud.com,PROXY -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/FitnessPlus.list: -------------------------------------------------------------------------------- 1 | # Fitness+ 2 | DOMAIN,hls-svod.itunes.apple.com,PROXY -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/Mail.list: -------------------------------------------------------------------------------- 1 | # > iCloud email 2 | DOMAIN-SUFFIX,mail.icloud.com.cn,iCloudMail 3 | DOMAIN-SUFFIX,mail.me.com,iCloudMail -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/Music.list: -------------------------------------------------------------------------------- 1 | # > Apple Music 2 | USER-AGENT,Music*,PROXY 3 | DOMAIN-SUFFIX,music.apple.com,PROXY 4 | DOMAIN,aod.itunes.apple.com,PROXY 5 | DOMAIN,audio.itunes.apple.com,PROXY 6 | DOMAIN,audio-ssl.itunes.apple.com,PROXY 7 | DOMAIN,mvod.itunes.apple.com,PROXY 8 | DOMAIN,streamingaudio.itunes.apple.com,PROXY 9 | DOMAIN-SUFFIX,blobstore.apple.com,PROXY -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/News.list: -------------------------------------------------------------------------------- 1 | # > Apple News 2 | DOMAIN,gateway.icloud.com,PROXY 3 | DOMAIN,gspe1-ssl.ls.apple.com,PROXY 4 | DOMAIN-SUFFIX,apple.news,PROXY 5 | DOMAIN,news-assets.apple.com,PROXY 6 | DOMAIN,news-client.apple.com,PROXY 7 | DOMAIN,news-edge.apple.com,PROXY 8 | DOMAIN,news-events.apple.com,PROXY 9 | DOMAIN,apple.comscoreresearch.com,PROXY -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | 3 | Apple 已知域名均已收录于 China.list 中并作直连策略,如无确切目的不需要额外添加。 4 | 5 | 对于一些 Apple 被「墙」或者主动「墙」的服务如 App Store Preview、Moveis Trailers、查询外汇、国际航线的 Spotlight、维基百科查询的 Dictionary 均已收录于 Global.list 进行代理。 6 | 7 | 该目录只是一时兴起想做一些关于 Apple 各子域名具体作用的收录,鉴于 Apple 在国内大体良好的 CDN 部署个人不建议对其进行代理,当然既然进到了这个目录可能 Apple 的某些服务在你所在地区堪忧,相比以前对于 Apple 整体域名全部代理,该目录收录的一些细分分流文件如 App Store 应用下载、系统更新的专项代理应该更适合你。 8 | 9 | ### 分流文件说明 10 | 11 | **Apple.list** 12 | 13 | 是 Apple 服务的总体整理,如您想对 Apple 服务均进行代理可以使用该分流文件,需要注意的是建议放置于 Global.list 与 China.list 之间,因 Global.list 有 Apple 对于中国大陆不可用服务的代理行为,如您的 Apple 策略经常在代理与直连来回切换会导致 Global.list 中的规则失效。 14 | 15 | **BlockiOSUpdate.list** 16 | 17 | iOS 设备屏蔽系统的「软件更新」之用,故而需要注意的是策略选择为 `REJECT` 18 | 19 | **其他** 20 | 21 | 其他分流文件均为代理策略,文件名极其内容已说明其主要作用。 -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/Siri.list: -------------------------------------------------------------------------------- 1 | # Siri 2 | DOMAIN,guzzoni.apple.com,PROXY -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/SoftwareUpdate.list: -------------------------------------------------------------------------------- 1 | # Software Update 2 | # > iOS updates 3 | DOMAIN,appldnld.apple.com,PROXY 4 | DOMAIN,ns.itunes.apple.com,PROXY 5 | # > iOS, tvOS, and macOS 6 | DOMAIN,mesu.apple.com,PROXY 7 | DOMAIN,updates.cdn-apple.com,PROXY 8 | DOMAIN,updates-http.cdn-apple.com,PROXY 9 | DOMAIN,xp.apple.com,PROXY -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/TV.list: -------------------------------------------------------------------------------- 1 | # TV 2 | USER-AGENT,AppleTV*,PROXY 3 | USER-AGENT,com.apple.tv*,PROXY 4 | DOMAIN-SUFFIX,tv.apple.com,PROXY 5 | DOMAIN,hls.itunes.apple.com,PROXY 6 | DOMAIN,hls-amt.itunes.apple.com,PROXY 7 | DOMAIN,play-edge.itunes.apple.com,PROXY -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/TestFlight.list: -------------------------------------------------------------------------------- 1 | # TestFlight 2 | DOMAIN,beta.apple.com,PROXY 3 | DOMAIN,testflight.apple.com,PROXY -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Apple/iCloud.list: -------------------------------------------------------------------------------- 1 | # iCloud 2 | DOMAIN-SUFFIX,apple-cloudkit.com,PROXY 3 | DOMAIN-SUFFIX,icloud.com,PROXY 4 | DOMAIN-SUFFIX,icloud.com.cn,PROXY 5 | DOMAIN-SUFFIX,icloud-content.com,PROXY 6 | DOMAIN,www-cdn.icloud.com.akadns.net,PROXY -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Clubhouse.list: -------------------------------------------------------------------------------- 1 | # > Clubhouse 2 | # 如果的你代理服务器不支持或没有开启 udp-relay,请不要使用本文件。 3 | 4 | IP-CIDR,3.0.163.78/32,Clubhouse 5 | IP-CIDR,13.230.60.35/32,Clubhouse 6 | IP-CIDR,23.98.43.152/32,Clubhouse 7 | IP-CIDR,35.156.231.150/32,Clubhouse 8 | IP-CIDR,35.168.106.53/32,Clubhouse 9 | IP-CIDR,35.178.208.187/32,Clubhouse 10 | IP-CIDR,45.40.48.11/32,Clubhouse 11 | IP-CIDR,45.40.48.114/32,Clubhouse 12 | IP-CIDR,50.18.128.22/32,Clubhouse 13 | IP-CIDR,52.52.84.170/32,Clubhouse 14 | IP-CIDR,52.58.56.244/32,Clubhouse 15 | IP-CIDR,52.178.26.110/32,Clubhouse 16 | IP-CIDR,52.194.158.59/32,Clubhouse 17 | IP-CIDR,52.221.46.208/32,Clubhouse 18 | IP-CIDR,54.178.26.110/32,Clubhouse 19 | IP-CIDR,69.28.51.148/32,Clubhouse 20 | IP-CIDR,103.65.41.130/32,Clubhouse 21 | IP-CIDR,103.65.41.132/32,Clubhouse 22 | IP-CIDR,103.65.41.137/32,Clubhouse 23 | IP-CIDR,103.65.41.139/32,Clubhouse 24 | IP-CIDR,103.65.41.152/32,Clubhouse 25 | IP-CIDR,103.65.41.157/32,Clubhouse 26 | IP-CIDR,103.65.41.159/32,Clubhouse 27 | IP-CIDR,103.65.41.166/32,Clubhouse 28 | IP-CIDR,103.65.41.169/32,Clubhouse 29 | IP-CIDR,128.1.105.156/32,Clubhouse 30 | IP-CIDR,129.227.57.130/32,Clubhouse 31 | IP-CIDR,129.227.57.133/32,Clubhouse 32 | IP-CIDR,129.227.57.135/32,Clubhouse 33 | IP-CIDR,129.227.57.136/32,Clubhouse 34 | IP-CIDR,129.227.57.138/32,Clubhouse 35 | IP-CIDR,129.227.57.139/32,Clubhouse 36 | IP-CIDR,129.227.57.144/32,Clubhouse 37 | IP-CIDR,129.227.57.146/32,Clubhouse 38 | IP-CIDR,129.227.57.147/32,Clubhouse 39 | IP-CIDR,129.227.234.85/32,Clubhouse 40 | IP-CIDR,148.153.126.147/32,Clubhouse 41 | IP-CIDR,148.153.172.73/32,Clubhouse 42 | IP-CIDR,148.153.172.74/32,Clubhouse 43 | IP-CIDR,148.153.172.75/32,Clubhouse 44 | IP-CIDR,148.153.172.76/32,Clubhouse 45 | IP-CIDR,148.153.172.77/32,Clubhouse 46 | IP-CIDR,164.52.102.33/32,Clubhouse 47 | IP-CIDR,164.52.102.66/32,Clubhouse 48 | IP-CIDR,164.52.102.67/32,Clubhouse 49 | IP-CIDR,164.52.102.68/32,Clubhouse 50 | IP-CIDR,164.52.102.69/32,Clubhouse 51 | IP-CIDR,164.52.102.70/32,Clubhouse 52 | IP-CIDR,164.52.102.75/32,Clubhouse 53 | IP-CIDR,164.52.102.76/32,Clubhouse 54 | IP-CIDR,164.52.102.77/32,Clubhouse 55 | IP-CIDR,164.52.102.91/32,Clubhouse 56 | IP-CIDR,199.190.44.36/32,Clubhouse 57 | IP-CIDR,199.190.44.37/32,Clubhouse 58 | IP-CIDR,202.181.136.107/32,Clubhouse 59 | IP-CIDR,202.181.136.108/32,Clubhouse 60 | IP-CIDR,202.181.136.234/32,Clubhouse 61 | IP-CIDR,202.226.25.166/32,Clubhouse -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Cryptocurrency.list: -------------------------------------------------------------------------------- 1 | DOMAIN-SUFFIX,aex.com,PROXY 2 | DOMAIN-SUFFIX,bibox.com,PROXY 3 | DOMAIN-SUFFIX,binance.com,PROXY 4 | DOMAIN-SUFFIX,bitcointalk.org,PROXY 5 | DOMAIN-SUFFIX,bitfinex.com,PROXY 6 | DOMAIN-SUFFIX,bitmex.com,PROXY 7 | DOMAIN-SUFFIX,ftx.com,PROXY 8 | DOMAIN-SUFFIX,gate.io,PROXY 9 | DOMAIN-SUFFIX,huobi.com,PROXY 10 | DOMAIN-SUFFIX,okex.com,PROXY 11 | DOMAIN-SUFFIX,zb.com,PROXY -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Game/PUBG-Mobile.list: -------------------------------------------------------------------------------- 1 | # > PUBG Mobile 2 | DOMAIN-SUFFIX,igamecj.com,PUBG Mobile 3 | DOMAIN,file-igamecj.akamaized.net,PUBG Mobile 4 | # Asia 5 | IP-CIDR,45.40.220.0/22,PUBG Mobile 6 | IP-CIDR,150.109.124.0/23,PUBG Mobile 7 | # Northern America 8 | IP-CIDR,49.51.228.0/23,PUBG Mobile 9 | IP-CIDR,170.106.102.0/24,PUBG Mobile -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Game/Supercell.list: -------------------------------------------------------------------------------- 1 | # Supercell 2 | # > Brawl Stars 3 | DOMAIN-SUFFIX,brawlstars.com,Game 4 | DOMAIN-SUFFIX,brawlstarsgame.com,Game 5 | IP-CIDR,13.210.25.233/32,Game 6 | IP-CIDR,13.212.170.102/32,Game 7 | IP-CIDR,13.212.171.212/32,Game 8 | IP-CIDR,15.161.130.86/32,Game 9 | IP-CIDR,15.254.1.17/32,Game 10 | IP-CIDR,162.62.33.45/32,Game 11 | IP-CIDR,162.62.33.70/32,Game 12 | IP-CIDR,162.62.34.10/32,Game 13 | IP-CIDR,18.141.176.65/32,Game 14 | IP-CIDR,18.156.137.147/32,Game 15 | IP-CIDR,18.231.148.103/32,Game 16 | IP-CIDR,18.231.148.103/32,Game 17 | IP-CIDR,3.1.80.68/32,Game 18 | IP-CIDR,3.25.190.152/32,Game 19 | IP-CIDR,3.82.147.36/32,Game 20 | IP-CIDR,34.220.160.16/32,Game 21 | IP-CIDR,35.154.64.7/32,Game 22 | IP-CIDR,35.72.32.125/32,Game 23 | IP-CIDR,52.13.150.128/32,Game 24 | IP-CIDR,52.13.42.120/32,Game 25 | IP-CIDR,52.50.131.212/32,Game 26 | IP-CIDR,54.207.168.84/32,Game 27 | IP-CIDR,54.248.64.192/32,Game -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Game/WildRift.list: -------------------------------------------------------------------------------- 1 | # League of Legends: Wild Rift! 2 | DOMAIN-SUFFIX,pvp.net,Game 3 | DOMAIN-SUFFIX,riotgames.com,Game 4 | DOMAIN-SUFFIX,riotcdn.net,Game -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Google/GoogleDrive.list: -------------------------------------------------------------------------------- 1 | # > Google Drive 2 | USER-AGENT,%E4%BA%91%E7%AB%AF%E7%A1%AC%E7%9B%98*,GoogleDrive 3 | USER-AGENT,Google.Drive*,GoogleDrive 4 | USER-AGENT,*com.google.Drive*,GoogleDrive 5 | DOMAIN-SUFFIX,docs.google.com,GoogleDrive 6 | DOMAIN-SUFFIX,drive.google.com,GoogleDrive 7 | DOMAIN-SUFFIX,googledrive.com,GoogleDrive 8 | DOMAIN-SUFFIX,googleusercontent.com,GoogleDrive -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Google/GoogleSearch.list: -------------------------------------------------------------------------------- 1 | # > Google Search 2 | DOMAIN-KEYWORD,www.google.,GoogleSearch -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Google/GoogleVoice.list: -------------------------------------------------------------------------------- 1 | # > Google Voice 2 | # 如果你的代理服务器不支持 udp-relay 可尝试 DIRECT 以免被 REJECT(部分 Google 服务器还可直连) 3 | DOMAIN,lens.l.google.com,Google Voice -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/PayPal.list: -------------------------------------------------------------------------------- 1 | # > PayPal 2 | USER-AGENT,PayPal*,PayPal 3 | DOMAIN-SUFFIX,paypal.com,PayPal 4 | DOMAIN-SUFFIX,paypal.me,PayPal 5 | DOMAIN-SUFFIX,paypalobjects.com,PayPal -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Scholar.list: -------------------------------------------------------------------------------- 1 | # > Scholar 2 | DOMAIN,scholar.google.com,Scholar 3 | DOMAIN-SUFFIX,acm.org,Scholar 4 | DOMAIN-SUFFIX,acs.org,Scholar 5 | DOMAIN-SUFFIX,aip.org,Scholar 6 | DOMAIN-SUFFIX,ams.org,Scholar 7 | DOMAIN-SUFFIX,annualreviews.org,Scholar 8 | DOMAIN-SUFFIX,aps.org,Scholar 9 | DOMAIN-SUFFIX,ascelibrary.org,Scholar 10 | DOMAIN-SUFFIX,asm.org,Scholar 11 | DOMAIN-SUFFIX,asme.org,Scholar 12 | DOMAIN-SUFFIX,astm.org,Scholar 13 | DOMAIN-SUFFIX,bmj.com,Scholar 14 | DOMAIN-SUFFIX,cambridge.org,Scholar 15 | DOMAIN-SUFFIX,cas.org,Scholar 16 | DOMAIN-SUFFIX,cell.com,Scholar 17 | DOMAIN-SUFFIX,clarivate.com,Scholar 18 | DOMAIN-SUFFIX,csiro.au,Scholar 19 | DOMAIN-SUFFIX,ebscohost.com,Scholar 20 | DOMAIN-SUFFIX,elsevier.com,Scholar 21 | DOMAIN-SUFFIX,emerald.com,Scholar 22 | DOMAIN-SUFFIX,endnote.com,Scholar 23 | DOMAIN-SUFFIX,engineeringvillage.com,Scholar 24 | DOMAIN-SUFFIX,icevirtuallibrary.com,Scholar 25 | DOMAIN-SUFFIX,ieee.org,Scholar 26 | DOMAIN-SUFFIX,imf.org,Scholar 27 | DOMAIN-SUFFIX,iop.org,Scholar 28 | DOMAIN-SUFFIX,jamanetwork.com,Scholar 29 | DOMAIN-SUFFIX,jbc.org,Scholar 30 | DOMAIN-SUFFIX,jhu.edu,Scholar 31 | DOMAIN-SUFFIX,jstor.org,Scholar 32 | DOMAIN-SUFFIX,karger.com,Scholar 33 | DOMAIN-SUFFIX,libguides.com,Scholar 34 | DOMAIN-SUFFIX,madsrevolution.net,Scholar 35 | DOMAIN-SUFFIX,mdpi.com,Scholar 36 | DOMAIN-SUFFIX,mpg.de,Scholar 37 | DOMAIN-SUFFIX,myilibrary.com,Scholar 38 | DOMAIN-SUFFIX,nature.com,Scholar 39 | DOMAIN-SUFFIX,ncbi.nlm.nih.gov,Scholar 40 | DOMAIN-SUFFIX,oecd-ilibrary.org,Scholar 41 | DOMAIN-SUFFIX,osapublishing.org,Scholar 42 | DOMAIN-SUFFIX,oup.com,Scholar 43 | DOMAIN-SUFFIX,ovid.com,Scholar 44 | DOMAIN-SUFFIX,oxfordartonline.com,Scholar 45 | DOMAIN-SUFFIX,oxfordbibliographies.com,Scholar 46 | DOMAIN-SUFFIX,oxfordmusiconline.com,Scholar 47 | DOMAIN-SUFFIX,pnas.org,Scholar 48 | DOMAIN-SUFFIX,proquest.com,Scholar 49 | DOMAIN-SUFFIX,rsc.org,Scholar 50 | DOMAIN-SUFFIX,sagepub.com,Scholar 51 | DOMAIN-SUFFIX,sciencedirect.com,Scholar 52 | DOMAIN-SUFFIX,sciencemag.org,Scholar 53 | DOMAIN-SUFFIX,scitation.org,Scholar 54 | DOMAIN-SUFFIX,sci-hub.tw,Scholar 55 | DOMAIN-SUFFIX,scopus.com,Scholar 56 | DOMAIN-SUFFIX,siam.org,Scholar 57 | DOMAIN-SUFFIX,spiedigitallibrary.org,Scholar 58 | DOMAIN-SUFFIX,springer.com,Scholar 59 | DOMAIN-SUFFIX,springerlink.com,Scholar 60 | DOMAIN-SUFFIX,tandfonline.com,Scholar 61 | DOMAIN-SUFFIX,un.org,Scholar 62 | DOMAIN-SUFFIX,uni-bielefeld.de,Scholar 63 | DOMAIN-SUFFIX,webofknowledge.com,Scholar 64 | DOMAIN-SUFFIX,westlaw.com,Scholar 65 | DOMAIN-SUFFIX,wiley.com,Scholar 66 | DOMAIN-SUFFIX,worldbank.org,Scholar 67 | DOMAIN-SUFFIX,worldscientific.com,Scholar 68 | -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Telegram/README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | 3 | Telegram 的主分流文件 Telegram.list 已收录于 Global.list 中,如无确切目的不需要额外添加。 4 | 5 | Telegram.list 用于专门想对 Telegram 服务进行指定服务器节点,以达到加速目的所用。 6 | 7 | 而至于其他三个分流文件: 8 | - TelegramNL.list 9 | - TelegramSG.list 10 | - TelegramUS.list 11 | 12 | 则为更具体所用,是针对 Telegram 目前三大数据中心的更具体的分流,主要是给使用 Telegram 观看影视内容,指定更为具体区域的服务器节点以达到加速目的所用。 -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Telegram/Telegram.list: -------------------------------------------------------------------------------- 1 | # Telegram 2 | DOMAIN-SUFFIX,t.me,Telegram 3 | DOMAIN-SUFFIX,tdesktop.com,Telegram 4 | DOMAIN-SUFFIX,telegra.ph,Telegram 5 | DOMAIN-SUFFIX,telegram.me,Telegram 6 | DOMAIN-SUFFIX,telegram.org,Telegram 7 | DOMAIN-SUFFIX,telesco.pe,Telegram 8 | IP-CIDR,91.108.4.0/22,Telegram 9 | IP-CIDR,91.108.8.0/22,Telegram 10 | IP-CIDR,91.108.12.0/22,Telegram 11 | IP-CIDR,91.108.16.0/22,Telegram 12 | IP-CIDR,91.108.20.0/22,Telegram 13 | IP-CIDR,91.108.56.0/22,Telegram 14 | IP-CIDR,95.161.64.0/20,Telegram 15 | IP-CIDR,149.154.160.0/20,Telegram 16 | IP6-CIDR,2001:b28:f23d::/48,Telegram 17 | IP6-CIDR,2001:b28:f23f::/48,Telegram 18 | IP6-CIDR,2001:67c:4e8::/48,Telegram -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Telegram/TelegramNL.list: -------------------------------------------------------------------------------- 1 | # Telegram NL 2 | IP-CIDR,91.108.4.0/24,TelegramNL 3 | IP-CIDR,91.108.8.0/27,TelegramNL 4 | IP-CIDR,149.154.160.0/22,TelegramNL 5 | IP-CIDR,149.154.164.0/22,TelegramNL 6 | IP6-CIDR,2001:67c:4e8:f002::e/128,TelegramNL 7 | IP6-CIDR,2001:67c:4e8:f002::a/128,TelegramNL 8 | IP6-CIDR,2001:67c:4e8:f004::a/128,TelegramNL -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Telegram/TelegramSG.list: -------------------------------------------------------------------------------- 1 | # Telegram SG 2 | IP-CIDR,91.108.16.0/27,TelegramSG 3 | IP-CIDR,91.108.56.0/24,TelegramSG 4 | IP-CIDR,149.154.168.0/22,TelegramSG 5 | IP6-CIDR,2001:b28:f23f:f005::a/128,TelegramSG -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Telegram/TelegramUS.list: -------------------------------------------------------------------------------- 1 | # Telegram US 2 | IP-CIDR,91.108.12.0/27,TelegramUS 3 | IP-CIDR,149.154.172.0/22,TelegramUS 4 | IP6-CIDR,2001:b28:f23d:f001::e/128,TelegramUS 5 | IP6-CIDR,2001:b28:f23d:f003::e/128,TelegramUS 6 | IP6-CIDR,2001:b28:f23d:f001::a/128,TelegramUS 7 | IP6-CIDR,2001:b28:f23d:f003::a/128,TelegramUS -------------------------------------------------------------------------------- /Quantumult/Filter/Extra/Twitter.list: -------------------------------------------------------------------------------- 1 | # > Twitter 2 | DOMAIN-SUFFIX,pscp.tv,Twitter 3 | DOMAIN-SUFFIX,periscope.tv,Twitter 4 | DOMAIN-SUFFIX,t.co,Twitter 5 | DOMAIN-SUFFIX,twimg.co,Twitter 6 | DOMAIN-SUFFIX,twimg.com,Twitter 7 | DOMAIN-SUFFIX,twitpic.com,Twitter 8 | DOMAIN-SUFFIX,twitter.com,Twitter 9 | DOMAIN-SUFFIX,twitter.jp,Twitter 10 | DOMAIN-SUFFIX,vine.co,Twitter -------------------------------------------------------------------------------- /Quantumult/Filter/Guard/Privacy.list: -------------------------------------------------------------------------------- 1 | # Privacy 2 | DOMAIN-SUFFIX,adjust.com,REJECT 3 | DOMAIN-SUFFIX,cpatrk.net,REJECT 4 | DOMAIN-SUFFIX,kochava.com,REJECT 5 | DOMAIN-SUFFIX,marketo.com,REJECT 6 | DOMAIN-SUFFIX,mobileapptracking.com,REJECT 7 | DOMAIN-SUFFIX,rtbasia.com,REJECT 8 | DOMAIN-SUFFIX,scorecardresearch.com,REJECT 9 | DOMAIN-SUFFIX,sumologic.com,REJECT 10 | DOMAIN-SUFFIX,survicate.com,REJECT 11 | DOMAIN-SUFFIX,tagcommander.com,REJECT 12 | DOMAIN-SUFFIX,tailtarget.com,REJECT 13 | DOMAIN-SUFFIX,talkingdata.net,REJECT 14 | DOMAIN-SUFFIX,tapad.com,REJECT 15 | DOMAIN-SUFFIX,tapfiliate.com,REJECT 16 | DOMAIN-SUFFIX,tapinfluence.com,REJECT 17 | DOMAIN-SUFFIX,tapstream.com,REJECT 18 | DOMAIN-SUFFIX,tealiumiq.com,REJECT 19 | DOMAIN-SUFFIX,tend.io,REJECT 20 | DOMAIN-SUFFIX,tpctrust.com,REJECT 21 | DOMAIN-SUFFIX,trackingio.com,REJECT 22 | DOMAIN-SUFFIX,tremormedia.com,REJECT 23 | DOMAIN-SUFFIX,woopra.com,REJECT 24 | DOMAIN-SUFFIX,wootric.com,REJECT 25 | DOMAIN-SUFFIX,wowanalytics.co.uk,REJECT 26 | DOMAIN-SUFFIX,zoomanalytics.co,REJECT 27 | 28 | DOMAIN,track.tenjin.com,REJECT 29 | DOMAIN,track.tenjin.io,REJECT 30 | DOMAIN,api.talkingdata.com,REJECT 31 | DOMAIN,track.tiara.daum.net,REJECT 32 | DOMAIN,track.tiara.kakao.com,REJECT 33 | DOMAIN,zgsdk.zhugeio.com,REJECT 34 | 35 | # > 51.LA 36 | DOMAIN,js.users.51.la,REJECT 37 | DOMAIN,mc.51.la,REJECT 38 | DOMAIN,wc.51.la,REJECT 39 | # > 58 40 | DOMAIN,track.58.com,REJECT 41 | DOMAIN,tracklog.58.com,REJECT 42 | # > Baidu 43 | DOMAIN,hm.baidu.com,REJECT 44 | DOMAIN,hmma.baidu.com,REJECT 45 | # > ByteDance 46 | DOMAIN,log.byteoversea.com,REJECT 47 | DOMAIN,log.tiktokv.com,REJECT 48 | DOMAIN,log-hl-ipv6.snssdk.com,REJECT 49 | DOMAIN,log-lq.snssdk.com,REJECT 50 | DOMAIN,log-va.tiktokv.com,REJECT 51 | DOMAIN,xlog.snssdk.com,REJECT 52 | # > Google 53 | DOMAIN-SUFFIX,googletagmanager.com,REJECT 54 | DOMAIN-SUFFIX,google-analytics.com,REJECT 55 | DOMAIN,safebrowsing.googleapis.com,REJECT 56 | # > MI 57 | DOMAIN-SUFFIX,tracking.miui.com,REJECT 58 | DOMAIN,data.mistat.xiaomi.com,REJECT 59 | DOMAIN,tracking.intl.miui.com,REJECT 60 | # > Tencent 61 | DOMAIN-SUFFIX,trace.qq.com,REJECT 62 | DOMAIN,btrace.qq.com,REJECT 63 | DOMAIN,btrace.video.qq.com,REJECT 64 | DOMAIN,mtrace.qq.com,REJECT 65 | DOMAIN,safebrowsing.urlsec.qq.com,REJECT -------------------------------------------------------------------------------- /Quantumult/Filter/README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | 3 | 该目录下的内容将来将不再维护甚至移除,可使用 Surge 的分流文件,引用时开启「资源解析器」即可。 -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Live/Twitch.list: -------------------------------------------------------------------------------- 1 | # > Twitch 2 | DOMAIN-SUFFIX,jtvnw.net,Twitch 3 | DOMAIN-SUFFIX,ttvnw.net,Twitch 4 | DOMAIN-SUFFIX,twitch.tv,Twitch 5 | DOMAIN-SUFFIX,twitchcdn.net,Twitch -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Music/Deezer.list: -------------------------------------------------------------------------------- 1 | # > Deezer 2 | USER-AGENT,Deezer*,Deezer 3 | DOMAIN-SUFFIX,deezer.com,Deezer 4 | DOMAIN-SUFFIX,dzcdn.net,Deezer -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Music/Instagram.list: -------------------------------------------------------------------------------- 1 | # > Instagram Music 2 | DOMAIN-SUFFIX,cdninstagram.com,Instagram 3 | DOMAIN-SUFFIX,instagram.com,Instagram -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Music/JOOX.list: -------------------------------------------------------------------------------- 1 | # > JOOX 2 | USER-AGENT,JOOX*,JOOX 3 | USER-AGENT,WeMusic*,JOOX 4 | DOMAIN-SUFFIX,joox.com,JOOX 5 | DOMAIN-KEYWORD,jooxweb-api,JOOX -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Music/KKBOX.list: -------------------------------------------------------------------------------- 1 | # > KKBOX 2 | DOMAIN-SUFFIX,kkbox.com,KKBOX 3 | DOMAIN-SUFFIX,kkbox.com.tw,KKBOX 4 | DOMAIN-SUFFIX,kfs.io,KKBOX -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Music/Pandora.list: -------------------------------------------------------------------------------- 1 | # > Pandora 2 | USER-AGENT,Pandora*,Pandora 3 | DOMAIN-SUFFIX,pandora.com,Pandora -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Music/SoundCloud.list: -------------------------------------------------------------------------------- 1 | # > SoundCloud 2 | USER-AGENT,SoundCloud*,SoundCloud 3 | DOMAIN-SUFFIX,p-cdn.us,SoundCloud 4 | DOMAIN-SUFFIX,sndcdn.com,SoundCloud 5 | DOMAIN-SUFFIX,soundcloud.com,SoundCloud -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Music/Spotify.list: -------------------------------------------------------------------------------- 1 | # > Spotify 2 | USER-AGENT,Spotify*,Spotify 3 | DOMAIN-SUFFIX,pscdn.co,Spotify 4 | DOMAIN-SUFFIX,scdn.co,Spotify 5 | DOMAIN-SUFFIX,spotify.com,Spotify 6 | DOMAIN-SUFFIX,spoti.fi,Spotify 7 | DOMAIN-KEYWORD,spotify.com,Spotify 8 | DOMAIN-KEYWORD,-spotify-com,Spotify -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Music/TIDAL.list: -------------------------------------------------------------------------------- 1 | # > TIDAL 2 | USER-AGENT,TIDAL*,TIDAL 3 | DOMAIN-SUFFIX,tidal.com,TIDAL -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Podcast/Himalaya.list: -------------------------------------------------------------------------------- 1 | # > Himalaya 2 | USER-AGENT,Himalaya*,Himalaya 3 | DOMAIN-SUFFIX,himalaya.com,Himalaya -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/StreamingCN.list: -------------------------------------------------------------------------------- 1 | # (Video) 2 | # > Acfun 3 | DOMAIN-SUFFIX,acfun.cn,PROXY 4 | DOMAIN-SUFFIX,aixifan.com,PROXY 5 | # > bilibili 6 | DOMAIN-SUFFIX,biliapi.net,PROXY 7 | DOMAIN-SUFFIX,bilibili.com,PROXY 8 | DOMAIN-SUFFIX,bilivideo.com,PROXY 9 | DOMAIN-SUFFIX,hdslb.com,PROXY 10 | # > Tencent Video 11 | DOMAIN-SUFFIX,video.qq.com,PROXY 12 | DOMAIN-SUFFIX,i.qq.com,PROXY 13 | DOMAIN-SUFFIX,v.qq.com,PROXY 14 | # > iQiyi 15 | DOMAIN-SUFFIX,iqiyi.com,PROXY 16 | DOMAIN-SUFFIX,71edge.com,PROXY 17 | # > Youku 18 | DOMAIN-SUFFIX,soku.com,PROXY 19 | DOMAIN-SUFFIX,youku.com,PROXY 20 | DOMAIN-SUFFIX,ykimg.com,PROXY 21 | # > XiGua 22 | DOMAIN-SUFFIX,ixigua.com,PROXY 23 | DOMAIN-SUFFIX,snssdk.com,PROXY 24 | # > HunanTV 25 | DOMAIN-SUFFIX,hitv.com,PROXY 26 | DOMAIN-SUFFIX,hunantv.com,PROXY 27 | DOMAIN-SUFFIX,mgtv.com,PROXY 28 | # > Le 29 | DOMAIN-SUFFIX,le.com,PROXY 30 | # > PPLive 31 | DOMAIN-SUFFIX,pplive.cn,PROXY 32 | DOMAIN-SUFFIX,pptv.com,PROXY 33 | # > Sohu Video 34 | DOMAIN-SUFFIX,itc.cn,PROXY 35 | DOMAIN-SUFFIX,sohu.com,PROXY 36 | # > Migu Video 37 | DOMAIN-SUFFIX,cmvideo.cn,PROXY 38 | DOMAIN-SUFFIX,miguvideo.com,PROXY 39 | 40 | # (Music) 41 | # > QQ Music 42 | DOMAIN-SUFFIX,music.qq.com,PROXY 43 | DOMAIN-SUFFIX,music.tc.qq.com,PROXY 44 | DOMAIN-SUFFIX,qqmusic.qq.com,PROXY 45 | DOMAIN-SUFFIX,tencentmusic.com,PROXY 46 | DOMAIN-SUFFIX,y.qq.com,PROXY 47 | DOMAIN,aqqmusic.tc.qq.com,PROXY 48 | DOMAIN,moo.qq.com,PROXY 49 | # > China Music Corp 50 | DOMAIN-SUFFIX,kuwo.cn,PROXY 51 | DOMAIN-SUFFIX,kugou.com,PROXY 52 | # > Netease Cloud Music 53 | DOMAIN-SUFFIX,music.163.com,PROXY 54 | DOMAIN-SUFFIX,music.126.net,PROXY 55 | DOMAIN,mam.netease.com,PROXY 56 | DOMAIN,api.iplay.163.com,PROXY 57 | # > Qianqian Music 58 | DOMAIN-SUFFIX,qianqian.com,PROXY 59 | DOMAIN-SUFFIX,taihe.com,PROXY 60 | # > Migu Music 61 | DOMAIN-SUFFIX,migu.cn,PROXY 62 | # > Xiaomi 63 | DOMAIN-SUFFIX,ai.xiaomi.com,PROXY 64 | DOMAIN-SUFFIX,music.xiaomi.com,PROXY 65 | DOMAIN-SUFFIX,dmhmusic.com,PROXY -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/StreamingSE.list: -------------------------------------------------------------------------------- 1 | # > bilibili 2 | DOMAIN-SUFFIX,biliapi.net,StreamingSE 3 | DOMAIN-SUFFIX,bilibili.com,StreamingSE 4 | DOMAIN,upos-hz-mirrorakam.akamaized.net,StreamingSE 5 | DOMAIN-KEYWORD,cn-hk-eq-bcache-,StreamingSE 6 | # > 愛奇藝台灣站 & iQIYI 7 | DOMAIN-SUFFIX,iq.com,StreamingSE 8 | DOMAIN,cache.video.iqiyi.com,StreamingSE 9 | DOMAIN,cache-video.iq.com,StreamingSE 10 | DOMAIN,intl.iqiyi.com,StreamingSE 11 | DOMAIN,intl-rcd.iqiyi.com,StreamingSE 12 | DOMAIN,intl-subscription.iqiyi.com,StreamingSE 13 | # (流媒体内容,非必须,省流量可注释) 14 | DOMAIN,akmcdnoversea-tw.inter.iqiyi.com,StreamingSE 15 | DOMAIN,akmcdnoversea-tw.inter.ptqy.gitv.tv,StreamingSE 16 | DOMAIN,chuangcachecdnoversea-tw.inter.iqiyi.com,StreamingSE 17 | DOMAIN,chuangcachecdnoversea-tw.inter.ptqy.gitv.tv,StreamingSE 18 | IP-CIDR,103.44.56.0/22,StreamingSE 19 | IP-CIDR,118.26.32.0/23,StreamingSE 20 | IP-CIDR,118.26.120.0/24,StreamingSE 21 | IP-CIDR,223.119.62.225/28,StreamingSE 22 | IP-CIDR,23.40.242.10/32,StreamingSE 23 | IP-CIDR,23.40.241.251/32,StreamingSE 24 | # > 芒果TV国际 25 | DOMAIN-SUFFIX,api.mgtv.com,StreamingSE 26 | # > WeTV 27 | DOMAIN-SUFFIX,wetv.vip,StreamingSE 28 | DOMAIN-SUFFIX,wetvinfo.com,StreamingSE -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/AbemaTV.list: -------------------------------------------------------------------------------- 1 | # > AbemaTV 2 | USER-AGENT,AbemaTV*,AbemaTV 3 | DOMAIN-SUFFIX,abema.io,AbemaTV 4 | DOMAIN-SUFFIX,abema.tv,AbemaTV 5 | DOMAIN-SUFFIX,ameba.jp,AbemaTV 6 | DOMAIN-SUFFIX,hayabusa.io,AbemaTV 7 | DOMAIN-KEYWORD,abematv.akamaized.net,AbemaTV -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/All-4.list: -------------------------------------------------------------------------------- 1 | # > All 4 2 | USER-AGENT,All4*,All 4 3 | DOMAIN-SUFFIX,c4assets.com,All 4 4 | DOMAIN-SUFFIX,channel4.com,All 4 -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/BBC-iPlayer.list: -------------------------------------------------------------------------------- 1 | # > BBC iPlayer 2 | USER-AGENT,BBCiPlayer*,BBC iPlayer 3 | DOMAIN-SUFFIX,bbc.co.uk,BBC iPlayer 4 | DOMAIN-SUFFIX,bbci.co.uk,BBC iPlayer 5 | DOMAIN-KEYWORD,bbcfmt,BBC iPlayer 6 | DOMAIN-KEYWORD,uk-live,BBC iPlayer -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/Bahamut.list: -------------------------------------------------------------------------------- 1 | # > Bahamut 2 | USER-AGENT,Anime*,巴哈姆特動畫瘋 3 | DOMAIN-SUFFIX,bahamut.com.tw,巴哈姆特動畫瘋 4 | DOMAIN-SUFFIX,gamer.com.tw,巴哈姆特動畫瘋 5 | DOMAIN,gamer-cds.cdn.hinet.net,巴哈姆特動畫瘋 6 | DOMAIN,gamer2-cds.cdn.hinet.net,巴哈姆特動畫瘋 -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/DAZN.list: -------------------------------------------------------------------------------- 1 | # > DAZN 2 | USER-AGENT,DAZN*,DAZN 3 | DOMAIN-SUFFIX,dazn.com,DAZN 4 | DOMAIN-SUFFIX,dazn-api.com,DAZN 5 | DOMAIN-SUFFIX,dazndn.com,DAZN 6 | DOMAIN-SUFFIX,indazn.com,DAZN 7 | DOMAIN,d151l6v8er5bdm.cloudfront.net,DAZN 8 | DOMAIN-KEYWORD,voddazn,DAZN -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/DMM.list: -------------------------------------------------------------------------------- 1 | # > DMM 2 | DOMAIN-SUFFIX,dmm.co.jp,DMM 3 | DOMAIN-SUFFIX,dmm.com,DMM 4 | DOMAIN-SUFFIX,dmm-extension.com,DMM -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/DisneyPlus.list: -------------------------------------------------------------------------------- 1 | # > Disney+ 2 | USER-AGENT,Disney+*,Disney+ 3 | DOMAIN-SUFFIX,bamgrid.com,Disney+ 4 | DOMAIN-SUFFIX,disneyplus.com,Disney+ 5 | DOMAIN-SUFFIX,disney-plus.net,Disney+ 6 | DOMAIN-SUFFIX,disneystreaming.com,Disney+ 7 | DOMAIN-SUFFIX,dssott.com,Disney+ 8 | DOMAIN,cdn.registerdisney.go.com,Disney+ -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/HBO-Asia.list: -------------------------------------------------------------------------------- 1 | # > HBO Asia 2 | USER-AGENT,HBO%20GO%20PROD*,HBO Asia 3 | DOMAIN-SUFFIX,hbogoasia.com,HBO Asia 4 | DOMAIN-SUFFIX,hbogoasia.hk,HBO Asia 5 | DOMAIN-KEYWORD,.hbogoasia.,HBO Asia 6 | DOMAIN,44wilhpljf.execute-api.ap-southeast-1.amazonaws.com,HBO Asia 7 | DOMAIN,bcbolthboa-a.akamaihd.net,HBO Asia 8 | DOMAIN,cf-images.ap-southeast-1.prod.boltdns.net,HBO Asia 9 | DOMAIN,dai3fd1oh325y.cloudfront.net,HBO Asia 10 | DOMAIN,hboasia1-i.akamaihd.net,HBO Asia 11 | DOMAIN,hboasia2-i.akamaihd.net,HBO Asia 12 | DOMAIN,hboasia3-i.akamaihd.net,HBO Asia 13 | DOMAIN,hboasia4-i.akamaihd.net,HBO Asia 14 | DOMAIN,hboasia5-i.akamaihd.net,HBO Asia 15 | DOMAIN,hboasialive.akamaized.net,HBO Asia 16 | DOMAIN,hbogoprod-vod.akamaized.net,HBO Asia 17 | DOMAIN,hbolb.onwardsmg.com,HBO Asia 18 | DOMAIN,hbounify-prod.evergent.com,HBO Asia 19 | DOMAIN,players.brightcove.net,HBO Asia 20 | DOMAIN,s3-ap-southeast-1.amazonaws.com,HBO Asia -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/HBO.list: -------------------------------------------------------------------------------- 1 | # > HBO NOW & Max 2 | USER-AGENT,HBO%20NOW*,HBO 3 | DOMAIN-SUFFIX,hbo.com,HBO 4 | DOMAIN-SUFFIX,hbogo.com,HBO 5 | DOMAIN-SUFFIX,hbonow.com,HBO 6 | USER-AGENT,HBOMAX*,HBO 7 | DOMAIN-SUFFIX,hbomax.com,HBO 8 | DOMAIN-SUFFIX,hbomaxcdn.com,HBO -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/HWTV.list: -------------------------------------------------------------------------------- 1 | # > 华文电视 2 | USER-AGENT,HWTVMobile*,华文电视 3 | DOMAIN-SUFFIX,5itv.tv,华文电视 4 | DOMAIN-SUFFIX,ocnttv.com,华文电视 -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/Hulu-JPN.list: -------------------------------------------------------------------------------- 1 | # > Hulu / フールー 2 | DOMAIN-SUFFIX,happyon.jp,Hulu フールー 3 | DOMAIN-SUFFIX,hjholdings.jp,Hulu フールー 4 | DOMAIN-SUFFIX,hulu.jp,Hulu フールー -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/Hulu.list: -------------------------------------------------------------------------------- 1 | # > Hulu 2 | DOMAIN-SUFFIX,hulu.com,Hulu 3 | DOMAIN-SUFFIX,huluim.com,Hulu 4 | DOMAIN-SUFFIX,hulustream.com,Hulu -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/ITV.list: -------------------------------------------------------------------------------- 1 | # > ITV 2 | USER-AGENT,ITV_Player*,ITV 3 | DOMAIN-SUFFIX,itv.com,ITV 4 | DOMAIN-SUFFIX,itvstatic.com,ITV 5 | DOMAIN,itvpnpmobile-a.akamaihd.net,ITV -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/KKTV.list: -------------------------------------------------------------------------------- 1 | # > KKTV 2 | USER-AGENT,KKTV*,KKTV 3 | USER-AGENT,com.kktv.ios.kktv*,KKTV 4 | DOMAIN-SUFFIX,kktv.com.tw,KKTV 5 | DOMAIN-SUFFIX,kktv.me,KKTV 6 | DOMAIN,kktv-theater.kk.stream,KKTV -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/LINE-TV.list: -------------------------------------------------------------------------------- 1 | # > LINE TV 2 | USER-AGENT,LINE%20TV*,LINE TV 3 | DOMAIN-SUFFIX,linetv.tw,LINE TV 4 | DOMAIN,d3c7rimkq79yfu.cloudfront.net,LINE TV -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/LiTV.list: -------------------------------------------------------------------------------- 1 | # > LiTV 2 | DOMAIN-SUFFIX,litv.tv,LiTV 3 | DOMAIN,litvfreemobile-hichannel.cdn.hinet.net,LiTV -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/My5.list: -------------------------------------------------------------------------------- 1 | # > My5 2 | USER-AGENT,My5*,My5 3 | DOMAIN-SUFFIX,channel5.com,My5 4 | DOMAIN-SUFFIX,my5.tv,My5 5 | DOMAIN,d349g9zuie06uo.cloudfront.net,My5 -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/Naver-TV.list: -------------------------------------------------------------------------------- 1 | # > Naver TV 2 | USER-AGENT,Naver%20TV*,Naver TV 3 | DOMAIN-SUFFIX,naver.com,Naver TV 4 | DOMAIN-SUFFIX,smartmediarep.com,Naver TV -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/Netflix.list: -------------------------------------------------------------------------------- 1 | # > Netflix 2 | USER-AGENT,Argo*,Netflix 3 | DOMAIN-SUFFIX,netflix.com,Netflix 4 | DOMAIN-SUFFIX,netflix.net,Netflix 5 | DOMAIN-SUFFIX,nflxext.com,Netflix 6 | DOMAIN-SUFFIX,nflximg.com,Netflix 7 | DOMAIN-SUFFIX,nflximg.net,Netflix 8 | DOMAIN-SUFFIX,nflxso.net,Netflix 9 | DOMAIN-SUFFIX,nflxvideo.net,Netflix 10 | DOMAIN-SUFFIX,netflixdnstest0.com,Netflix 11 | DOMAIN-SUFFIX,netflixdnstest1.com,Netflix 12 | DOMAIN-SUFFIX,netflixdnstest2.com,Netflix 13 | DOMAIN-SUFFIX,netflixdnstest3.com,Netflix 14 | DOMAIN-SUFFIX,netflixdnstest4.com,Netflix 15 | DOMAIN-SUFFIX,netflixdnstest5.com,Netflix 16 | DOMAIN-SUFFIX,netflixdnstest6.com,Netflix 17 | DOMAIN-SUFFIX,netflixdnstest7.com,Netflix 18 | DOMAIN-SUFFIX,netflixdnstest8.com,Netflix 19 | DOMAIN-SUFFIX,netflixdnstest9.com,Netflix 20 | DOMAIN-KEYWORD,dualstack.apiproxy-,Netflix 21 | DOMAIN-KEYWORD,dualstack.ichnaea-web-,Netflix 22 | IP-CIDR,23.246.0.0/18,Netflix 23 | IP-CIDR,37.77.184.0/21,Netflix 24 | IP-CIDR,45.57.0.0/17,Netflix 25 | IP-CIDR,64.120.128.0/17,Netflix 26 | IP-CIDR,66.197.128.0/17,Netflix 27 | IP-CIDR,108.175.32.0/20,Netflix 28 | IP-CIDR,192.173.64.0/18,Netflix 29 | IP-CIDR,198.38.96.0/19,Netflix 30 | IP-CIDR,198.45.48.0/20,Netflix 31 | IP-CIDR,34.210.42.111/32,Netflix 32 | IP-CIDR,52.89.124.203/32,Netflix 33 | IP-CIDR,54.148.37.5/32,Netflix -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/Now-E.list: -------------------------------------------------------------------------------- 1 | # > Now E 2 | DOMAIN-SUFFIX,nowe.com,Now E 3 | DOMAIN-SUFFIX,nowestatic.com,Now E -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/PBS.list: -------------------------------------------------------------------------------- 1 | # > PBS 2 | USER-AGENT,PBS*,PBS 3 | DOMAIN-SUFFIX,pbs.org,PBS -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/ParamountPlus.list: -------------------------------------------------------------------------------- 1 | # > Paramount+ 2 | USER-AGENT,PPlus*,Paramount+ 3 | DOMAIN-SUFFIX,cbsi.com,Paramount+ 4 | DOMAIN-SUFFIX,cbsaavideo.com,Paramount+ 5 | DOMAIN-SUFFIX,cbsivideo.com,Paramount+ 6 | DOMAIN-SUFFIX,paramountplus.com,Paramount+ 7 | DOMAIN-SUFFIX,pplusstatic.com,Paramount+ 8 | DOMAIN,cbsi.live.ott.irdeto.com,Paramount+ 9 | DOMAIN,cbsplaylistserver.aws.syncbak.com,Paramount+ 10 | DOMAIN,cbsservice.aws.syncbak.com,Paramount+ 11 | DOMAIN,link.theplatform.com,Paramount+ -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/Pornhub.list: -------------------------------------------------------------------------------- 1 | # > Pornhub 2 | DOMAIN-SUFFIX,phncdn.com,Pornhub 3 | DOMAIN-SUFFIX,phprcdn.com,Pornhub 4 | DOMAIN-SUFFIX,pornhub.com,Pornhub 5 | DOMAIN-SUFFIX,pornhubpremium.com,Pornhub -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/Prime-Video.list: -------------------------------------------------------------------------------- 1 | # > Amazon Prime Video 2 | USER-AGENT,InstantVideo.US*,Prime Video 3 | USER-AGENT,Prime%20Video*,Prime Video 4 | DOMAIN-SUFFIX,aiv-cdn.net,Prime Video 5 | DOMAIN-SUFFIX,aiv-delivery.net,Prime Video 6 | DOMAIN-SUFFIX,amazonvideo.com,Prime Video 7 | DOMAIN-SUFFIX,primevideo.com,Prime Video 8 | DOMAIN-SUFFIX,media-amazon.com,Prime Video 9 | DOMAIN,atv-ps.amazon.com,Prime Video 10 | DOMAIN,fls-na.amazon.com,Prime Video 11 | DOMAIN,avodmp4s3ww-a.akamaihd.net,Prime Video 12 | DOMAIN,d25xi40x97liuc.cloudfront.net,Prime Video 13 | DOMAIN,dmqdd6hw24ucf.cloudfront.net,Prime Video 14 | DOMAIN,dmqdd6hw24ucf.cloudfront.net,Prime Video 15 | DOMAIN,d22qjgkvxw22r6.cloudfront.net,Prime Video 16 | DOMAIN,d1v5ir2lpwr8os.cloudfront.net,Prime Video 17 | DOMAIN,d27xxe7juh1us6.cloudfront.net,Prime Video 18 | DOMAIN-KEYWORD,avoddashs,Prime Video -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/TVer.list: -------------------------------------------------------------------------------- 1 | # > TVer 2 | USER-AGENT,TVer-Release*,TVer 3 | DOMAIN-SUFFIX,tver.jp,TVer 4 | DOMAIN,edge.api.brightcove.com,TVer -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/TaiwanGood.list: -------------------------------------------------------------------------------- 1 | # > 台湾好 2 | USER-AGENT,TaiwanGood*,台湾好 3 | DOMAIN-SUFFIX,skyking.com.tw,台湾好 4 | DOMAIN,hamifans.emome.net,台湾好 -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/TikTok.list: -------------------------------------------------------------------------------- 1 | # > TikTok 2 | USER-AGENT,TikTok*,TikTok 3 | DOMAIN-SUFFIX,byteoversea.com,TikTok 4 | DOMAIN-SUFFIX,ibytedtos.com,TikTok 5 | DOMAIN-SUFFIX,ipstatp.com,TikTok 6 | DOMAIN-SUFFIX,muscdn.com,TikTok 7 | DOMAIN-SUFFIX,musical.ly,TikTok 8 | DOMAIN-SUFFIX,tiktok.com,TikTok 9 | DOMAIN-SUFFIX,tik-tokapi.com,TikTok 10 | DOMAIN-SUFFIX,tiktokcdn.com,TikTok 11 | DOMAIN-SUFFIX,tiktokv.com,TikTok 12 | DOMAIN-KEYWORD,-tiktokcdn-com,TikTok -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/ViuTV.list: -------------------------------------------------------------------------------- 1 | # > ViuTV 2 | USER-AGENT,Viu*,ViuTV 3 | DOMAIN-SUFFIX,viu.com,ViuTV 4 | DOMAIN-SUFFIX,viu.tv,ViuTV 5 | DOMAIN,api.viu.now.com,ViuTV 6 | DOMAIN,d1k2us671qcoau.cloudfront.net,ViuTV 7 | DOMAIN,d2anahhhmp1ffz.cloudfront.net,ViuTV 8 | DOMAIN,dfp6rglgjqszk.cloudfront.net,ViuTV -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/YouTube.list: -------------------------------------------------------------------------------- 1 | # > YouTube 2 | USER-AGENT,com.google.ios.youtube*,YouTube 3 | USER-AGENT,YouTube*,YouTube 4 | DOMAIN-SUFFIX,googlevideo.com,YouTube 5 | DOMAIN-SUFFIX,youtube.com,YouTube 6 | DOMAIN-SUFFIX,ytimg.com,YouTube 7 | DOMAIN,youtubei.googleapis.com,YouTube 8 | DOMAIN,yt3.ggpht.com,YouTube -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/encoreTVB.list: -------------------------------------------------------------------------------- 1 | # > encoreTVB 2 | USER-AGENT,encoreTVB*,encoreTVB 3 | DOMAIN-SUFFIX,encoretvb.com,encoreTVB 4 | DOMAIN,edge.api.brightcove.com,encoreTVB 5 | DOMAIN,bcbolt446c5271-a.akamaihd.net,encoreTVB -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/myTV-SUPER.list: -------------------------------------------------------------------------------- 1 | # > myTV SUPER 2 | USER-AGENT,mytv*,myTV SUPER 3 | DOMAIN-SUFFIX,mytvsuper.com,myTV SUPER 4 | DOMAIN-SUFFIX,tvb.com,myTV SUPER -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/niconico.list: -------------------------------------------------------------------------------- 1 | # > niconico 2 | USER-AGENT,Niconico*,niconico 3 | DOMAIN-SUFFIX,dmc.nico,niconico 4 | DOMAIN-SUFFIX,nicovideo.jp,niconico 5 | DOMAIN-SUFFIX,nimg.jp,niconico -------------------------------------------------------------------------------- /Quantumult/Filter/StreamingMedia/Video/‎DiscoveryPlus.list: -------------------------------------------------------------------------------- 1 | # > discovery+ 2 | USER-AGENT,DPlus*,discovery+ 3 | USER-AGENT,discovery+*,discovery+ 4 | DOMAIN-SUFFIX,disco-api.com,discovery+ 5 | DOMAIN-SUFFIX,discoveryplus.co.uk,discovery+ 6 | DOMAIN-SUFFIX,discoveryplus.com,discovery+ 7 | DOMAIN-SUFFIX,discoveryplus.in,discovery+ 8 | DOMAIN-SUFFIX,dnitv.com,discovery+ -------------------------------------------------------------------------------- /Quantumult/Filter/Unbreak.list: -------------------------------------------------------------------------------- 1 | # Unbreak 2 | # > General 3 | USER-AGENT,archero*,DIRECT 4 | USER-AGENT,coffeecorp*,DIRECT 5 | USER-AGENT,Coffee%20Corp*,DIRECT 6 | USER-AGENT,restaurant-mobile*,DIRECT 7 | DOMAIN,app.adjust.com,DIRECT 8 | DOMAIN,bdtj.tagtic.cn,DIRECT 9 | # > Alibaba 10 | DOMAIN,log.mmstat.com,DIRECT 11 | DOMAIN,sycm.mmstat.com,DIRECT 12 | # > Google 13 | DOMAIN-SUFFIX,blog.google,DIRECT 14 | DOMAIN-SUFFIX,googletraveladservices.com,DIRECT 15 | DOMAIN,clientservices.googleapis.com,DIRECT 16 | DOMAIN,dl.google.com,DIRECT 17 | DOMAIN,dl.l.google.com,DIRECT 18 | DOMAIN,update.googleapis.com,DIRECT 19 | DOMAIN,translate.googleapis.com,DIRECT 20 | # >> Google Fonts API 21 | DOMAIN,fonts.googleapis.com,DIRECT 22 | DOMAIN,fonts.gstatic.com,DIRECT 23 | # >> Firebase Cloud Messaging 24 | DOMAIN,mtalk.google.com,DIRECT 25 | DOMAIN,alt1-mtalk.google.com,DIRECT 26 | DOMAIN,alt2-mtalk.google.com,DIRECT 27 | DOMAIN,alt3-mtalk.google.com,DIRECT 28 | DOMAIN,alt4-mtalk.google.com,DIRECT 29 | DOMAIN,alt5-mtalk.google.com,DIRECT 30 | DOMAIN,alt6-mtalk.google.com,DIRECT 31 | DOMAIN,alt7-mtalk.google.com,DIRECT 32 | DOMAIN,alt8-mtalk.google.com,DIRECT 33 | # >> Paramount+ 34 | DOMAIN,pubads.g.doubleclick.net,DIRECT 35 | # > Tencent 36 | DOMAIN,fairplay.l.qq.com,DIRECT 37 | DOMAIN,livew.l.qq.com,DIRECT 38 | DOMAIN,vd.l.qq.com,DIRECT 39 | # > Strava 40 | DOMAIN,analytics.strava.com,DIRECT 41 | # > Umeng 42 | DOMAIN,msg.umeng.com,DIRECT 43 | DOMAIN,msg.umengcloud.com,DIRECT -------------------------------------------------------------------------------- /Quantumult/Rewrite/Block/AdvertisingPlus.conf: -------------------------------------------------------------------------------- 1 | hostname = api.weibo.cn,mapi.weibo.com,*.uve.weibo.com,www.zhihu.com,api.zhihu.com,homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com,haojia.m.smzdm.com,app-api.smzdm.com,s-api.smzdm.com,app.bilibili.com 2 | 3 | # ---(By Choler)--- 4 | # > Douyin 5 | ^https?:\/\/.*\.amemv\.com\/aweme\/v2\/(follow\/)?feed\/ url request-header ^GET \/aweme\/v\d\/(follow\/)?feed\/(.+\r\n) request-header GET /aweme/v1/$1feed/$2 6 | ^https?:\/\/.*\.amemv\.com\/aweme\/v\d\/(feed|mix\/aweme|aweme\/post|(multi\/)?aweme\/detail|follow\/feed|nearby\/feed|search\/item|general\/search\/single|hot\/search\/video\/list)\/ url script-response-body https://raw.githubusercontent.com/Choler/Surge/master/Script/douyin.js 7 | # ------ 8 | 9 | # ---(By yichahucha)--- 10 | # > Weibo - api.weibo.cn,mapi.weibo.com 11 | ^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js 12 | ^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|searchall|cardlist|page|!/(photos/pic_recommend_status|live/media_homelist)|video/tiny_stream_video_list|photo/info|remind/unread_count) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js 13 | # ------ 14 | 15 | # ---(By blackmatrix7)--- 16 | # > Zhihu 17 | # 知乎处理用户信息 18 | ^https?:\/\/api\.zhihu\.com\/people\/ url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 19 | # 知乎信息流去广告 20 | ^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people) url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 21 | # 知乎回答列表去广告 22 | ^https?:\/\/api\.zhihu\.com\/v4\/questions url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 23 | # 知乎预置关键词去广告 24 | ^https?:\/\/api\.zhihu\.com\/search\/preset_words\? url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 25 | # 知乎热搜去广告 26 | ^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 27 | # 知乎热榜去广告 28 | ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/) url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 29 | # 知乎评论去广告 30 | ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments? url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 31 | 32 | # > SMZDM - homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com 33 | ^https?:\/\/homepage-api\.smzdm\.com\/home url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js 34 | ^https?:\/\/haojia-api\.smzdm\.com\/home\/list url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js 35 | ^https?:\/\/app-api\.smzdm\.com\/util\/update url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js 36 | ^https?:\/\/article-api\.smzdm\.com\/article\/index_home_page url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js 37 | ^https?:\/\/s-api\.smzdm\.com\/sou\/list url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js 38 | # ------ 39 | 40 | # ---(By srk24)--- 41 | # > bilibili 42 | ^https?:\/\/app\.bilibili\.com\/x\/v\d\/splash\/list url script-response-body https://raw.githubusercontent.com/srk24/profile/master/js/bilibili_splash.js 43 | # ------ -------------------------------------------------------------------------------- /Quantumult/Rewrite/Block/YouTubeAds.conf: -------------------------------------------------------------------------------- 1 | hostname = *.googlevideo.com,www.youtube.com,s.youtube.com 2 | 3 | (^https?:\/\/(?!redirector)[\w-]+\.googlevideo\.com\/((?!dclk_video_ads).)+)(ctier=L)(&.+) url 302 $1$3 4 | ^https?:\/\/[\w-]+\.googlevideo\.com\/((?!(dclk_video_ads|videoplayback)).)+&(oad|ctier) url reject 5 | 6 | ^https?:\/\/(www|s)\.youtube\.com\/api\/stats\/ads url reject 7 | ^https?:\/\/(www|s)\.youtube\.com\/(pagead|ptracking) url reject 8 | ^https?:\/\/\s.youtube.com/api/stats/qoe?.*adformat= url reject 9 | -------------------------------------------------------------------------------- /Quantumult/Rewrite/General.conf: -------------------------------------------------------------------------------- 1 | hostname = www.google.cn,api.abema.io,app.biliintl.com 2 | 3 | # Redirect Google Search Service 4 | ^https?:\/\/(www.)?(g|google)\.cn url 302 https://www.google.com 5 | 6 | # Redirect Google Maps Service 7 | ^https?:\/\/(ditu|maps).google\.cn url 302 https://maps.google.com 8 | 9 | # Redirect HTTP to HTTPS 10 | ^https?:\/\/(www.)?taobao\.com\/ url 302 https://taobao.com/ 11 | ^https?:\/\/(www.)?jd\.com\/ url 302 https://www.jd.com/ 12 | ^https?:\/\/(www.)?mi\.com\/ url 302 https://www.mi.com/ 13 | ^https?:\/\/you\.163\.com\/ url 302 https://you.163.com/ 14 | ^https?:\/\/(www.)?suning\.com\/ url 302 https://suning.com/ 15 | ^https?:\/\/(www.)?yhd\.com\/ url 302 https://yhd.com/ 16 | 17 | # Redirect False to True 18 | # > IGN China to IGN Global 19 | ^https?:\/\/(www.)?ign\.xn--fiqs8s\/ url 302 http://cn.ign.com/ccpref/us 20 | # > Fake Website Made By C&J Marketing 21 | ^https?:\/\/(www.)?abbyychina\.com\/ url 302 https://www.abbyy.cn/ 22 | ^https?:\/\/(www.)?bartender\.cc\/ url 302 https://www.macbartender.com/ 23 | ^https?:\/\/(www.)?(betterzipcn|betterzip)\.(com|net)\/ url 302 https://macitbetter.com/ 24 | ^https?:\/\/(www.)?beyondcompare\.cc\/ url 302 https://www.scootersoftware.com/ 25 | ^https?:\/\/(www.)?bingdianhuanyuan\.cn\/ url 302 https://www.faronics.com/zh-hans/products/deep-freeze 26 | ^https?:\/\/(www.)?chemdraw\.com\.cn\/ url 302 https://www.perkinelmer.com.cn/ 27 | ^https?:\/\/(www.)?codesoftchina\.com\/ url 302 https://www.teklynx.com/ 28 | ^https?:\/\/(www.)?coreldrawchina\.com\/ url 302 https://www.coreldraw.com/cn/ 29 | ^https?:\/\/(www.)?crossoverchina\.com\/ url 302 https://www.codeweavers.com/ 30 | ^https?:\/\/(www.)?dongmansoft\.com\/ url 302 https://www.udongman.cn/ 31 | ^https?:\/\/(www.)?earmasterchina\.cn\/ url 302 https://www.earmaster.com/ 32 | ^https?:\/\/(www.)?easyrecoverychina\.com\/ url 302 https://www.ontrack.com/ 33 | ^https?:\/\/(www.)?ediuschina\.com\/ url 302 https://www.grassvalley.com/ 34 | ^https?:\/\/(www.)?flstudiochina\.com\/ url 302 https://www.image-line.com/ 35 | ^https?:\/\/(www.)?formysql\.com\/ url 302 https://www.navicat.com.cn/ 36 | ^https?:\/\/(www.)?guitarpro\.cc\/ url 302 https://www.guitar-pro.com/ 37 | ^https?:\/\/(www.)?huishenghuiying\.com\.cn\/ url 302 https://www.coreldraw.com/cn/ 38 | ^https?:\/\/hypersnap\.mairuan\.com\/ url 302 https://www.hyperionics.com/ 39 | ^https?:\/\/(www.)?iconworkshop\.cn\/ url 302 https://www.axialis.com/ 40 | ^https?:\/\/(www.)?idmchina\.net\/ url 302 https://www.internetdownloadmanager.com/ 41 | ^https?:\/\/(www.)?imindmap\.cc\/ url 302 https://www.ayoa.com/previously-imindmap/ 42 | ^https?:\/\/(www.)?jihehuaban\.com\.cn\/ url 302 https://www.chartwellyorke.com/sketchpad/x24795.html 43 | ^https?:\/\/hypersnap\.mairuan\.com\/ url 302 https://www.keyshot.com/ 44 | ^https?:\/\/(www.)?kingdeecn\.cn\/ url 302 http://www.kingdee.com/ 45 | ^https?:\/\/(www.)?logoshejishi\.com url 302 https://www.sothink.com/product/logo-design-software/ 46 | ^https?:\/\/logoshejishi\.mairuan\.com\/ url 302 https://www.sothink.com/product/logo-design-software/ 47 | ^https?:\/\/(www.)?luping\.net\.cn\/ url 302 https://www.techsmith.com/ 48 | ^https?:\/\/(www.)?mathtype\.cn\/ url 302 https://www.dessci.com/ 49 | ^https?:\/\/(www.)?mindmanager\.(cc|cn)\/ url 302 https://www.mindjet.com/cn/ 50 | ^https?:\/\/(www.)?mindmapper\.cc\/ url 302 https://www.mindmapper.com/ 51 | ^https?:\/\/(www.)?(mycleanmymac|xitongqingli)\.com\/ url 302 https://macpaw.com/ 52 | ^https?:\/\/(www.)?nicelabel\.cc\/ url 302 https://www.nicelabel.com/zh/ 53 | ^https?:\/\/(www.)?ntfsformac\.cc\/ url 302 https://www.tuxera.com/products/tuxera-ntfs-for-mac-cn/ 54 | ^https?:\/\/(www.)?ntfsformac\.cn\/ url 302 https://china.paragon-software.com/home-mac/ntfs-for-mac/ 55 | ^https?:\/\/(www.)?overturechina\.com\/ url 302 https://sonicscores.com/ 56 | ^https?:\/\/(www.)?passwordrecovery\.cn\/ url 302 https://cn.elcomsoft.com/aopr.html 57 | ^https?:\/\/(www.)?pdfexpert\.cc\/ url 302 https://pdfexpert.com/zh 58 | ^https?:\/\/(www.)?photozoomchina\.com\/ url 302 https://www.benvista.com/ 59 | ^https?:\/\/(www.)?shankejingling\.com\/ url 302 https://www.sothink.com/product/flashdecompiler/ 60 | ^https?:\/\/cn\.ultraiso\.net\/ url 302 https://cn.ezbsystems.com/ultraiso/ 61 | ^https?:\/\/(www.)?vegaschina\.cn\/ url 302 https://www.vegascreativesoftware.com/ 62 | ^https?:\/\/(www.)?xshellcn\.com\/ url 302 https://www.netsarang.com/zh/xshell/ 63 | ^https?:\/\/(www.)?yuanchengxiezuo\.com\/ url 302 https://www.teamviewer.com/ 64 | ^https?:\/\/(www.)?zbrushcn.com/ url 302 https://pixologic.com/ 65 | 66 | # AbeamTV 67 | ^https?:\/\/api\.abema\.io\/v\d\/ip\/check url reject-200 68 | 69 | # bilibili Intl 70 | (^https?:\/\/app\.biliintl\.com\/intl\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+) url 302 $1&s_locale=en-US_US$3 71 | (^https?:\/\/app\.biliintl\.com\/intl\/.+)(&sim_code=\d+)(.+) url 302 $1$3 72 | 73 | # AICoin 74 | ^http:\/\/(www.)?aicoin\.cn\/$ url 302 https://www.aicoin.cn/?long_lives_aicoin=%22live%22 -------------------------------------------------------------------------------- /Quantumult/Rewrite/Turn-Off-Google-Safesearch.conf: -------------------------------------------------------------------------------- 1 | # Turn Off Google Safesearch(Beta) 2 | # 关闭 Google 安全搜索。第二条用于被 Google 识别成中国大陆,也就是访问不了 https://www.google.com/maps/timeline 的 IP。桌面端请使用 https://google.com/ncr。 3 | 4 | hostname = www.google.com,www.google.com.* 5 | 6 | (https:\/\/www\.google\.com([.a-z]+)?\/.+)(&safe=strict&)(.+) url 302 $1&safe=off 7 | 8 | https://www\.google\.com\.hk\/search\?q=([\w.]+)&.+ url 302 https://www.google.com.sg/search?q=$1&safe=off -------------------------------------------------------------------------------- /Quantumult/Rewrite/Wikiwand.conf: -------------------------------------------------------------------------------- 1 | hostname = *.wikipedia.org,*.wikiwand.com 2 | 3 | ^https://zh.(m.)?wikipedia.org/zh(-\w*)?(?=/) url 302 https://www.wikiwand.com/zh$2 4 | ^https://(\w*).(m.)?wikipedia.org/wiki url 302 https://www.wikiwand.com/$1 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ⛔️Star ⛔️Fork ⛔️Share 2 | 3 | Please read the [Documentation](https://www.notion.so/divineengine/b4161dac0412486e9a6f1637a1b2d572) before using this profile. 4 | 5 | [Telegram Channel](https://t.me/DivineEngine) 6 | 7 |
8 | Surge 9 | 10 | Surge is a network toolbox for power users and a high-performance HTTP/SOCKS5 proxy server. 11 | 12 | Resources: [Website](https://nssurge.com/) / [Manual](http://manual.nssurge.com/) / [FAQ](https://nssurge.com/support) / [Community](https://community.nssurge.com/) 13 | 14 | Profiles(where to go): [Global](https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Outbound.conf) / [China](https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Inbound.conf) 15 | 16 | More: [Ruleset](https://github.com/DivineEngine/Profiles/tree/master/Surge/Ruleset) / [Module](https://github.com/DivineEngine/Profiles/tree/master/Surge/Module) 17 |
18 | 19 |
20 | Quantumult X 21 | 22 | Quantumult X is a powerful network tool for web developers and users who need to customize their proxies. 23 | 24 | Resources: [Github](https://github.com/crossutility/Quantumult-X) 25 | 26 | Profiles(where to go): [Global](https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Outbound.conf) / [China](https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Inbound.conf) 27 | 28 | More: [Filter Remote](https://github.com/DivineEngine/Profiles/tree/master/Quantumult/Filter) / [Rewrite Remote](https://github.com/DivineEngine/Profiles/tree/master/Quantumult/Rewrite) 29 |
30 | 31 |
32 | Clash 33 | 34 | A rule-based tunnel in Go. 35 | 36 | Profiles(where to go): [Global](https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/Outbound.yaml) / [China](https://raw.githubusercontent.com/DivineEngine/Profiles/master/Clash/Inbound.yaml) 37 | 38 | Resources: [official Wiki](https://github.com/Dreamacro/clash/wiki) / [Unofficial Clash Wiki](https://lancellc.gitbook.io/clash/) 39 | 40 | More: [RuleSet](https://github.com/DivineEngine/Profiles/tree/master/Clash/RuleSet) 41 |
42 | 43 | 44 | 45 | **Special thanks to** 46 | 47 | - [scomper / Surge](https://github.com/scomper/Surge) 48 | - [lhie1 / Rules](https://github.com/lhie1/Rules) 49 | - [KOP-XIAO / QuantumultX](https://github.com/KOP-XIAO/QuantumultX) 50 | - [Choler / Surge](https://github.com/Choler/Surge) 51 | - [yichahucha / surge](https://github.com/yichahucha/surge) 52 | - [onewayticket255 / Surge-Script](https://github.com/onewayticket255/Surge-Script) 53 | - [Koolson / Qure](https://github.com/Koolson/Qure) 54 | - [17mon / china_ip_list](https://github.com/17mon/china_ip_list) 55 | - [blackmatrix7 / ios_rule_script](https://github.com/blackmatrix7/ios_rule_script) -------------------------------------------------------------------------------- /Surge/Bili_Auto_Regions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HengLiu2282/DivineEngine/e5043a1cee1678254b424267bdcfccbcb574bad6/Surge/Bili_Auto_Regions.js -------------------------------------------------------------------------------- /Surge/Inbound.conf: -------------------------------------------------------------------------------- 1 | [General] 2 | # 通用设置 3 | 4 | # > TLS 引擎 5 | tls-provider = openssl 6 | 7 | # > 自定义 GeoIP 数据库 8 | geoip-maxmind-url = https://raw.githubusercontent.com/JMVoid/ipip2mmdb/release/Country.mmdb 9 | 10 | # > IPv6 支持(默认关闭) 11 | ipv6 = false 12 | 13 | # > 允许 Wi-Fi 访问 (仅 iOS,若允许远程访问将「false」改为「true」) 14 | allow-wifi-access = false 15 | wifi-access-http-port = 6152 16 | wifi-access-socks5-port = 6153 17 | # > 允许 Wi-Fi 访问 (仅 macOS,若允许远程访问将「127.0.0.1」改为「0.0.0.0」) 18 | http-listen = 127.0.0.1:6152 19 | socks5-listen = 127.0.0.1:6153 20 | 21 | # > 兼容模式 (仅 iOS) 22 | # compatibility-mode = 0 23 | # > 跳过代理 24 | skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, localhost, *.local, passenger.t3go.cn 25 | # > 排除简单主机名 26 | exclude-simple-hostnames = true 27 | 28 | # > DNS 服务器 29 | dns-server = 1.0.0.1,8.8.8.8,system 30 | # > 从 /etc/hosts 读取 DNS 记录 31 | read-etc-hosts = true 32 | 33 | # 高级设置 34 | 35 | # > 日志级别 36 | loglevel = notify 37 | 38 | # > 当遇到 REJECT 策略时返回错误页 39 | show-error-page-for-reject = true 40 | 41 | # > Always Real IP Hosts 42 | always-real-ip = msftconnecttest.com, msftncsi.com, *.msftconnecttest.com, *.msftncsi.com, *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com 43 | 44 | [Replica] 45 | hide-apple-request = 0 46 | hide-crash-reporter-request = 1 47 | hide-udp = 0 48 | 49 | [Proxy] 50 | 🌐Direct = direct 51 | ⛔️Reject = reject 52 | 🌑Proxy = ss, 1.2.3.4, 443, encrypt-method=aes-128-gcm, password=password 53 | 54 | [Proxy Group] 55 | 56 | [Rule] 57 | # StreamingCN 中国流媒体服务 58 | RULE-SET,https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/StreamingMedia/StreamingCN.list,🌑Proxy 59 | 60 | # Local Area Network 局域网 61 | RULE-SET,LAN,🌐Direct 62 | 63 | # GeoIP China 64 | GEOIP,CN,🌑Proxy 65 | 66 | FINAL,🌐Direct -------------------------------------------------------------------------------- /Surge/Look_Up.Wikipedia.list: -------------------------------------------------------------------------------- 1 | # > Look Up (Only for Wikipedia@macOS, Surge Enhance Mode enabled required) 2 | PROCESS-NAME,LookupViewService 3 | PROCESS-NAME,/System/Library/PrivateFrameworks/Lookup.framework/Versions/A/XPCServices/LookupViewService.xpc/Contents/MacOS/LookupViewService 4 | DOMAIN,lookup-api.apple.com 5 | DOMAIN,lookup-api.apple.com.edgekey.net 6 | DOMAIN,e16991.b.akamaiedge.net 7 | -------------------------------------------------------------------------------- /Surge/Module/Block/AdvertisingPlus.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=Block Advertising Plus 2 | #!desc=Block Advertising with Script for Surge iOS 3 | #!system=ios 4 | 5 | [URL Rewrite] 6 | # > Douyin By Choler 7 | ^https?:\/\/(.*)\.amemv\.com\/aweme\/v2\/(follow\/)?feed\/ https://$1.amemv.com/aweme/v1/$2feed/ header 8 | 9 | [Map Local] 10 | # ---(By blackmatrix7)--- 11 | # 知乎其他广告拦截 12 | ^https?:\/\/api\.zhihu\.com\/(notifications\/v\d\/count|v\d\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|.*featured-comment-ad) data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json" 13 | 14 | [Script] 15 | # ---(By Choler)--- 16 | # > Douyin - *.amemv.com 17 | douyin = type=http-response,pattern=^https?:\/\/.*\.amemv\.com\/aweme\/v1\/(feed|mix\/aweme|aweme\/post|(multi\/)?aweme\/detail|follow\/feed|nearby\/feed|search\/item|general\/search\/single|hot\/search\/video\/list)\/,requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/Choler/Surge/master/Script/douyin.js 18 | # ------ 19 | 20 | # ---(By yichahucha)--- 21 | # > Weibo - api.weibo.cn,mapi.weibo.com,*.uve.weibo.com 22 | weibo_splash = type=http-response,pattern=^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua),requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js 23 | weibo_ads = type=http-response,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|searchall|cardlist|page|!/(photos/pic_recommend_status|live/media_homelist)|video/tiny_stream_video_list|photo/info|remind/unread_count),requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js 24 | # ------ 25 | 26 | # ---(By blackmatrix7)--- 27 | # > Zhihu - www.zhihu.com,api.zhihu.com 28 | 知乎_处理用户信息 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/people\/,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 29 | 知乎_信息流去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people),script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 30 | 知乎_回答列表去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/v4\/questions,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 31 | 知乎_预置关键词去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/search\/preset_words\?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 32 | 知乎_热搜去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 33 | 知乎_热榜去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/),script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 34 | 知乎_评论去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.js 35 | 36 | # > SMZDM - homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com,haojia.m.smzdm.com,app-api.smzdm.com,s-api.smzdm.com 37 | 什么值得买_首页去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/homepage-api\.smzdm\.com\/home,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js 38 | 什么值得买_去浮动广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/app-api\.smzdm\.com\/util\/update,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js 39 | 什么值得买_好价去广告 = 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 40 | 什么值得买_好文去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/article-api\.smzdm\.com\/article\/index_home_page,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js 41 | 什么值得买_搜索去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/s-api\.smzdm\.com\/sou\/list,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js 42 | # ------ 43 | 44 | # ---(By srk24)--- 45 | # > bilibili 46 | Bilibili_开屏去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/app\.bilibili\.com/x/v\d/splash/list,script-path=https://raw.githubusercontent.com/srk24/profile/master/js/bilibili_splash.js 47 | # ------ 48 | 49 | [MITM] 50 | hostname = %APPEND% api.weibo.cn,mapi.weibo.com,*.uve.weibo.com,www.zhihu.com,api.zhihu.com,homepage-api.smzdm.com,haojia-api.smzdm.com,article-api.smzdm.com,haojia.m.smzdm.com,app-api.smzdm.com,s-api.smzdm.com,app.bilibili.com -------------------------------------------------------------------------------- /Surge/Module/Block/SoftwareUpdate.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=Block iOS Software Update 2 | #!desc=屏蔽 iOS 系统更新 3 | #!system=ios 4 | 5 | [Rule] 6 | DOMAIN,mesu.apple.com,REJECT 7 | DOMAIN,gdmf.apple.com,REJECT 8 | DOMAIN,updates-http.cdn-apple.com,REJECT 9 | DOMAIN,xp.apple.com,REJECT -------------------------------------------------------------------------------- /Surge/Module/Block/YouTubeAds.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=Block YouTube Advertising 2 | #!desc=跳过 YouTube 视频广告,Premium 勿用。 3 | #!system=ios 4 | 5 | [URL Rewrite] 6 | (^https?:\/\/(?!redirector)[\w-]+\.googlevideo\.com\/((?!dclk_video_ads).)+)(ctier=L)(&.+) $1$3 302 7 | ^https?:\/\/[\w-]+\.googlevideo\.com\/((?!(dclk_video_ads|videoplayback)).)+&(oad|ctier) - reject 8 | 9 | ^https?:\/\/(www|s)\.youtube\.com\/api\/stats\/ads - reject 10 | ^https?:\/\/(www|s)\.youtube\.com\/(pagead|ptracking) - reject 11 | ^https?:\/\/\s.youtube.com/api/stats/qoe?.*adformat= - reject 12 | 13 | [MITM] 14 | hostname = %APPEND% *.googlevideo.com,www.youtube.com,s.youtube.com 15 | -------------------------------------------------------------------------------- /Surge/Module/General.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=Advanced Settings & URL Redirect 2 | #!desc=高级设置及通用的 URL 重定向优化(如 Google 搜索及地图、AbeamTV 区域限制等) 3 | 4 | [General] 5 | # > Internet 测试 URL 6 | internet-test-url = http://wifi.vivo.com.cn/generate_204 7 | # > 代理测速 URL 8 | proxy-test-url = http://cp.cloudflare.com/generate_204 9 | # > 测试超时(秒) 10 | test-timeout = 5 11 | 12 | # > 自定义 GeoIP 数据库 13 | geoip-maxmind-url = https://raw.githubusercontent.com/JMVoid/ipip2mmdb/release/Country.mmdb 14 | 15 | # > 跳过代理 16 | skip-proxy = %APPEND% passenger.t3go.cn 17 | # > 排除简单主机名 18 | exclude-simple-hostnames = true 19 | 20 | # > Always Real IP Hosts 21 | always-real-ip = %APPEND% msftconnecttest.com, msftncsi.com, *.msftconnecttest.com, *.msftncsi.com, *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.battlenet.com.cn, *.battlenet.com, *.blzstatic.cn, *.battle.net 22 | 23 | # > VIF Excluded Routes 24 | tun-excluded-routes = %APPEND% 239.255.255.250/32 25 | 26 | [URL Rewrite] 27 | # Redirect Google Search Service 28 | ^https?:\/\/(www.)?(g|google)\.cn https://www.google.com 302 29 | 30 | # Redirect Google Maps Service 31 | ^https?:\/\/(ditu|maps).google\.cn https://maps.google.com 302 32 | 33 | # Redirect HTTP to HTTPS 34 | ^https?:\/\/(www.)?taobao\.com\/ https://taobao.com/ 302 35 | ^https?:\/\/(www.)?jd\.com\/ https://www.jd.com/ 302 36 | ^https?:\/\/(www.)?mi\.com\/ https://www.mi.com/ 302 37 | ^https?:\/\/you\.163\.com\/ https://you.163.com/ 302 38 | ^https?:\/\/(www.)?suning\.com\/ https://suning.com/ 302 39 | ^https?:\/\/(www.)?yhd\.com\/ https://yhd.com/ 302 40 | 41 | # Redirect False to True 42 | # > IGN China to IGN Global 43 | ^https?:\/\/(www.)?ign\.xn--fiqs8s\/ http://cn.ign.com/ccpref/us 302 44 | # > Fake Website Made By C&J Marketing 45 | ^https?:\/\/(www.)?abbyychina\.com\/ https://www.abbyy.cn/ 302 46 | ^https?:\/\/(www.)?bartender\.cc\/ https://www.macbartender.com/ 302 47 | ^https?:\/\/(www.)?(betterzipcn|betterzip)\.(com|net)\/ https://macitbetter.com/ 302 48 | ^https?:\/\/(www.)?beyondcompare\.cc\/ https://www.scootersoftware.com/ 302 49 | ^https?:\/\/(www.)?bingdianhuanyuan\.cn\/ https://www.faronics.com/zh-hans/products/deep-freeze 302 50 | ^https?:\/\/(www.)?chemdraw\.com\.cn\/ https://www.perkinelmer.com.cn/ 302 51 | ^https?:\/\/(www.)?codesoftchina\.com\/ https://www.teklynx.com/ 302 52 | ^https?:\/\/(www.)?coreldrawchina\.com\/ https://www.coreldraw.com/cn/ 302 53 | ^https?:\/\/(www.)?crossoverchina\.com\/ https://www.codeweavers.com/ 302 54 | ^https?:\/\/(www.)?dongmansoft\.com\/ https://www.udongman.cn/ 302 55 | ^https?:\/\/(www.)?earmasterchina\.cn\/ https://www.earmaster.com/ 302 56 | ^https?:\/\/(www.)?easyrecoverychina\.com\/ https://www.ontrack.com/ 302 57 | ^https?:\/\/(www.)?ediuschina\.com\/ https://www.grassvalley.com/ 302 58 | ^https?:\/\/(www.)?flstudiochina\.com\/ https://www.image-line.com/ 302 59 | ^https?:\/\/(www.)?formysql\.com\/ https://www.navicat.com.cn/ 302 60 | ^https?:\/\/(www.)?guitarpro\.cc\/ https://www.guitar-pro.com/ 302 61 | ^https?:\/\/(www.)?huishenghuiying\.com\.cn\/ https://www.coreldraw.com/cn/ 302 62 | ^https?:\/\/hypersnap\.mairuan\.com\/ https://www.hyperionics.com/ 302 63 | ^https?:\/\/(www.)?iconworkshop\.cn\/ https://www.axialis.com/ 302 64 | ^https?:\/\/(www.)?idmchina\.net\/ https://www.internetdownloadmanager.com/ 302 65 | ^https?:\/\/(www.)?imindmap\.cc\/ https://www.ayoa.com/previously-imindmap/ 302 66 | ^https?:\/\/(www.)?jihehuaban\.com\.cn\/ https://www.chartwellyorke.com/sketchpad/x24795.html 302 67 | ^https?:\/\/hypersnap\.mairuan\.com\/ https://www.keyshot.com/ 302 68 | ^https?:\/\/(www.)?kingdeecn\.cn\/ http://www.kingdee.com/ 302 69 | ^https?:\/\/(www.)?logoshejishi\.com https://www.sothink.com/product/logo-design-software/ 302 70 | ^https?:\/\/logoshejishi\.mairuan\.com\/ https://www.sothink.com/product/logo-design-software/ 302 71 | ^https?:\/\/(www.)?luping\.net\.cn\/ https://www.techsmith.com/ 302 72 | ^https?:\/\/(www.)?mathtype\.cn\/ https://www.dessci.com/ 302 73 | ^https?:\/\/(www.)?mindmanager\.(cc|cn)\/ https://www.mindjet.com/cn/ 302 74 | ^https?:\/\/(www.)?mindmapper\.cc\/ https://www.mindmapper.com/ 302 75 | ^https?:\/\/(www.)?(mycleanmymac|xitongqingli)\.com\/ https://macpaw.com/ 302 76 | ^https?:\/\/(www.)?nicelabel\.cc\/ https://www.nicelabel.com/zh/ 302 77 | ^https?:\/\/(www.)?ntfsformac\.cc\/ https://www.tuxera.com/products/tuxera-ntfs-for-mac-cn/ 302 78 | ^https?:\/\/(www.)?ntfsformac\.cn\/ https://china.paragon-software.com/home-mac/ntfs-for-mac/ 302 79 | ^https?:\/\/(www.)?overturechina\.com\/ https://sonicscores.com/ 302 80 | ^https?:\/\/(www.)?passwordrecovery\.cn\/ https://cn.elcomsoft.com/aopr.html 302 81 | ^https?:\/\/(www.)?pdfexpert\.cc\/ https://pdfexpert.com/zh 302 82 | ^https?:\/\/(www.)?photozoomchina\.com\/ https://www.benvista.com/ 302 83 | ^https?:\/\/(www.)?shankejingling\.com\/ https://www.sothink.com/product/flashdecompiler/ 302 84 | ^https?:\/\/cn\.ultraiso\.net\/ https://cn.ezbsystems.com/ultraiso/ 302 85 | ^https?:\/\/(www.)?vegaschina\.cn\/ https://www.vegascreativesoftware.com/ 302 86 | ^https?:\/\/(www.)?xshellcn\.com\/ https://www.netsarang.com/zh/xshell/ 302 87 | ^https?:\/\/(www.)?yuanchengxiezuo\.com\/ https://www.teamviewer.com/ 302 88 | ^https?:\/\/(www.)?zbrushcn.com/ https://pixologic.com/ 302 89 | 90 | # AbeamTV - api.abema.io 91 | ^https?:\/\/api\.abema\.io\/v\d\/ip\/check - reject 92 | 93 | # bilibili Intl 94 | (^https?:\/\/app\.biliintl\.com\/intl\/.+)(&s_locale=zh-Hans_[A-Z]{2})(.+) $1&s_locale=en-US_US$3 302 95 | (^https?:\/\/app\.biliintl\.com\/intl\/.+)(&sim_code=\d+)(.+) $1$3 302 96 | 97 | # AICoin 98 | ^http:\/\/(www.)?aicoin\.cn\/$ https://www.aicoin.cn/?long_lives_aicoin=%22live%22 302 99 | 100 | [MITM] 101 | hostname = %INSERT% www.google.cn,api.abema.io,app.biliintl.com -------------------------------------------------------------------------------- /Surge/Module/Siri.Proxy.sgmodule: -------------------------------------------------------------------------------- 1 | #!name= iRingo for 🔍 Siri & Search 2 | #!desc=(V2) 全面自定义「Siri与搜索」的功能。 3 | #!openUrl=http://boxjs.com/#/app/iRingo.Siri 4 | #!author=VirgilClyne 5 | #!homepage=https://github.com/VirgilClyne 6 | #!manual=https://github.com/VirgilClyne//iRingo/wiki/🔍Siri与搜索 7 | #!icon=https://raw.githubusercontent.com/Koolson/Qure/master/IconSet/Color/Siri.png 8 | 9 | [Rule] 10 | # > Look Up (Only for Wikipedia@macOS, Surge Enhance Mode enabled required) 11 | RULE-SET,https://raw.githubusercontent.com/HengLiu2282/DivineEngine/master/Surge/Look_Up.Wikipedia.list,Proxy 12 | 13 | [Script] 14 | # Bag (iOS/macOS) 15 | Siri Suggestions Service = type=http-request, pattern=^https?:\/\/api(.*)\.smoot\.apple\.(com|cn)\/bag(\?.*)?$, requires-body=0, timeout=5, script-path=https://raw.githubusercontent.com/HengLiu2282/DivineEngine/master/Surge/Siri.request.js, argument= 16 | Siri Suggestions Service = type=http-response, pattern=^https?:\/\/api(.*)\.smoot\.apple\.(com|cn)\/bag(\?.*)?$, requires-body=1, timeout=10, script-path=https://raw.githubusercontent.com/HengLiu2282/DivineEngine/master/Surge/Siri.response.js, argument= 17 | # Spotlight & Look Up Search (iOS/macOS) 18 | Spotlight & Look Up Search = type=http-request, pattern=^https?:\/\/api(.*)\.smoot\.apple\.(com|cn)\/search(\?.*)?$, requires-body=0, timeout=5, script-path=https://raw.githubusercontent.com/HengLiu2282/DivineEngine/master/Surge/Siri.request.js, argument= 19 | Spotlight & Look Up Search = type=http-response, pattern=^https?:\/\/api(.*)\.smoot\.apple\.(com|cn)\/search(\?.*)?$, requires-body=1, timeout=10, script-path=https://raw.githubusercontent.com/HengLiu2282/DivineEngine/master/Surge/Siri.response.js, argument= 20 | # warm(unknown) 21 | warm(unknown) = type=http-request, pattern=^https?:\/\/api(.*)\.smoot\.apple\.(com|cn)\/warm(\?.*)?$, requires-body=0, debug=1, script-path=https://raw.githubusercontent.com/HengLiu2282/DivineEngine/master/Surge/Siri.request.js, argument= 22 | # render(unknown) 23 | render(unknown) = type=http-request, pattern=^https?:\/\/api(.*)\.smoot\.apple\.(com|cn)\/render(\?.*)?$, requires-body=0, debug=1, script-path=https://raw.githubusercontent.com/HengLiu2282/DivineEngine/master/Surge/Siri.request.js, argument= 24 | # Flight Search(iOS/macOS) 25 | Flight Search = type=http-request, pattern=^https?:\/\/api(.*)\.smoot\.apple\.(com|cn)\/flight(\?.*)?$, requires-body=0, debug=1, script-path=https://raw.githubusercontent.com/HengLiu2282/DivineEngine/master/Surge/Siri.request.js, argument= 26 | # Siri Infomation Card (macOS) 27 | Siri Infomation Card = type=http-request, pattern=^https?:\/\/api(.*)\.smoot\.apple\.(com|cn)\/card(\?.*)?$, requires-body=0, timeout=5, script-path=https://raw.githubusercontent.com/HengLiu2282/DivineEngine/master/Surge/Siri.request.js, argument= 28 | Siri Infomation Card = type=http-response, pattern=^https?:\/\/api(.*)\.smoot\.apple\.(com|cn)\/card(\?.*)?$, requires-body=1, timeout=10, script-path=https://raw.githubusercontent.com/HengLiu2282/DivineEngine/master/Surge/Siri.response.js, argument= 29 | 30 | [MITM] 31 | hostname = %APPEND% api*.smoot.apple.com, api*.smoot.apple.cn 32 | -------------------------------------------------------------------------------- /Surge/Module/Stream-All.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=流媒体解锁检测 2 | #!desc=信息面板 3 | #!system=ios 4 | # 更新日期:2022.06.26 5 | # 版本:2.2 6 | 7 | [Panel] 8 | stream-all = script-name=stream-all, title="流媒体解锁检测", content="请刷新面板", update-interval=3600 9 | 10 | [Script] 11 | stream-all = type=generic, timeout=15, script-path=https://raw.githubusercontent.com/HengLiu2282/DivineEngine/master/Surge/Stream-All.js 12 | -------------------------------------------------------------------------------- /Surge/Module/Turn-Off-Google-Safesearch.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=Turn Off Google Safesearch(Beta) 2 | #!desc=关闭 Google 安全搜索。第二条用于被 Google 识别成中国大陆,也就是访问不了 https://www.google.com/maps/timeline 的 IP。桌面端请使用 https://google.com/ncr。 3 | #!system=ios 4 | 5 | [URL Rewrite] 6 | (https:\/\/www\.google\.com([.a-z]+)?\/.+)(&safe=(active|strict)&)(.+) $1&safe=off 302 7 | https://www\.google\.com\.hk\/search\?q=([\w.]+)&(.+) https://www.google.com.sg/search?q=$1&safe=off 302 8 | 9 | [MITM] 10 | hostname = %INSERT% www.google.com,www.google.com.* -------------------------------------------------------------------------------- /Surge/Module/Wikiwand.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=Wikiwand 2 | #!desc=Wikipedia to Wikiwand 3 | 4 | [URL Rewrite] 5 | ^https://zh.(m.)?wikipedia.org/zh(-\w*)?(?=/) https://www.wikiwand.com/zh$2 302 6 | ^https://(\w*).(m.)?wikipedia.org/wiki https://www.wikiwand.com/$1 302 7 | 8 | [MITM] 9 | hostname = %INSERT% *.wikipedia.org,*.wikiwand.com -------------------------------------------------------------------------------- /Surge/README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | 3 | ### Surge 4 4 | 5 | 对于 Surge 4(指已解锁「模块」功能)的用户,可自行删除 `[URL Rewrite]` 内的 Rewrite,以模块替代方便更新,建议必选 Module 目录下的 `General.sgmodule` 模块,其他按需添加。 6 | 7 | ### Surge 3 8 | 9 | 对于 Surge 3(指未解锁「模块」功能)的用户,默认不带有去广告的 Rewrite 及 hostname,你需要进行以下步骤: 10 | 11 | 0. 需要安装[快捷指令](https://apps.apple.com/app/apple-store/id915249334)并在系统设置中设置「允许不受信任的快捷指令」,然后添加快捷指令:[更新 Rewrite Block Ads](https://www.icloud.com/shortcuts/c1c80c2c67a742f2ac734f086f12b30b)。 12 | 1. 打开 Surge 进入「配置列表」,在底部选择「导出到 iCloud 或其他应用」,选择「我的 iPhone」或「iCloud Drive」。 13 | 2. 打开快捷指令「更新 Rewrite Block Ads」根据提示打开刚才导出的配置。 14 | 3. 在自动化配置完成后会自动弹出界面,在应用图标那一行向左滑动,在最右侧有「更多」图标,点击进去后选择『拷贝到「Surge」』 15 | 4. 在配置列表内选择刚才导入进来已经更新完成的配置文件名,默认为「Surge.conf」(若需要修改成其他名字可自行修改快捷指令,在末尾处)。 16 | 17 | ⚠️ 注意:如在 Surge 内出现『未能打开文件「*.conf」,因为它不存在』的错误提示,这一般出现在运行快捷指令时 Surge 没有同时打开,这时关掉提示重新运行一次快捷指令即可。 18 | 19 | 之后更新有关去广告的 Rewrite 及 hostname 均可重复此步骤,此方法极大简化了未解锁「模块」功能用户更新 Rewrite 及 hostname 部分的困难操作,如有自定义的 `hostname` 放置在首部(也就是 `www.google.cn` 之前)不会在更新时被覆盖。 20 | 21 | ### Surge 2 22 | 23 | 对于 Surge(Legacy Support) 即 Surge 2 用户的支持已经停止。 -------------------------------------------------------------------------------- /Surge/Rewrite/WeChat.json: -------------------------------------------------------------------------------- 1 | { 2 | "advertisement_num": 0, 3 | "advertisement_info": [ 4 | ] 5 | } -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/AppStore.list: -------------------------------------------------------------------------------- 1 | # App Store 2 | # Store content such as apps, books, and music 3 | DOMAIN-SUFFIX,apps.apple.com 4 | DOMAIN-SUFFIX,itunes.apple.com 5 | DOMAIN-SUFFIX,itunes-apple.com.akadns.net 6 | DOMAIN-SUFFIX,mzstatic.com 7 | DOMAIN,ppq.apple.com // Enterprise App validation -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/AppStoreConnect.list: -------------------------------------------------------------------------------- 1 | # > App Store Connect 2 | DOMAIN,appstoreconnect.apple.com 3 | DOMAIN,iosapps-ssl.itunes.apple.com 4 | DOMAIN,itcmobile.itunes.apple.com -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/Apple.list: -------------------------------------------------------------------------------- 1 | # Apple 2 | DOMAIN-SUFFIX,aaplimg.com 3 | DOMAIN-SUFFIX,apple.co 4 | DOMAIN-SUFFIX,apple.com 5 | DOMAIN-SUFFIX,apple.com.cn 6 | DOMAIN-SUFFIX,apple-cloudkit.com 7 | DOMAIN-SUFFIX,appstore.com 8 | DOMAIN-SUFFIX,cdn-apple.com 9 | DOMAIN-SUFFIX,icloud.com 10 | DOMAIN-SUFFIX,icloud.com.cn 11 | DOMAIN-SUFFIX,icloud-content.com 12 | DOMAIN-SUFFIX,me.com 13 | DOMAIN-SUFFIX,mzstatic.com 14 | DOMAIN-KEYWORD,apple.com.akadns.net 15 | DOMAIN-KEYWORD,icloud.com.akadns.net 16 | IP-CIDR,17.0.0.0/8,no-resolve 17 | IP-CIDR,63.92.224.0/19,no-resolve 18 | IP-CIDR,65.199.22.0/23,no-resolve 19 | IP-CIDR,139.178.128.0/18,no-resolve 20 | IP-CIDR,144.178.0.0/19,no-resolve 21 | IP-CIDR,192.35.50.0/24,no-resolve 22 | IP-CIDR,198.183.17.0/24,no-resolve 23 | IP-CIDR,205.180.175.0/24,no-resolve -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/BlockiOSUpdate.list: -------------------------------------------------------------------------------- 1 | # Block iOS Update 2 | DOMAIN,mesu.apple.com 3 | DOMAIN,gdmf.apple.com 4 | DOMAIN,updates-http.cdn-apple.com 5 | DOMAIN,xp.apple.com -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/FindMy.list: -------------------------------------------------------------------------------- 1 | # Find My 2 | DOMAIN,fmfmobile.icloud.com 3 | DOMAIN,fmipmobile.icloud.com 4 | DOMAIN,statici.icloud.com -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/FitnessPlus.list: -------------------------------------------------------------------------------- 1 | # Fitness+ 2 | DOMAIN,hls-svod.itunes.apple.com -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/Mail.list: -------------------------------------------------------------------------------- 1 | # > iCloud email 2 | DOMAIN-SUFFIX,mail.icloud.com.cn 3 | DOMAIN-SUFFIX,mail.me.com -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/Music.list: -------------------------------------------------------------------------------- 1 | # > Apple Music 2 | PROCESS-NAME,Music 3 | USER-AGENT,Music* 4 | DOMAIN-SUFFIX,music.apple.com 5 | DOMAIN,aod.itunes.apple.com 6 | DOMAIN,audio.itunes.apple.com 7 | DOMAIN,audio-ssl.itunes.apple.com 8 | DOMAIN,mvod.itunes.apple.com 9 | DOMAIN,streamingaudio.itunes.apple.com 10 | DOMAIN-SUFFIX,blobstore.apple.com // iCloud Music Library -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/News.list: -------------------------------------------------------------------------------- 1 | # > Apple News 2 | DOMAIN,gspe1-ssl.ls.apple.com // 必要,但会导致「地图」使用「TOMTOM」版本数据 3 | PROCESS-NAME,News 4 | USER-AGENT,AppleNews* 5 | # USER-AGENT,News* // 「今日头条」亦使用此,故不启用 6 | USER-AGENT,com.apple.news* 7 | DOMAIN-SUFFIX,apple.news 8 | DOMAIN,news-assets.apple.com 9 | DOMAIN,news-client.apple.com 10 | DOMAIN,news-edge.apple.com 11 | DOMAIN,news-events.apple.com 12 | DOMAIN,apple.comscoreresearch.com -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | 3 | Apple 已知域名均已收录于 China.list 中并作直连策略,如无确切目的不需要额外添加。 4 | 5 | 对于一些 Apple 被「墙」或者主动「墙」的服务如 App Store Preview、Moveis Trailers、查询外汇、国际航线的 Spotlight、维基百科查询的 Dictionary 均已收录于 Global.list 进行代理。 6 | 7 | 该目录只是一时兴起想做一些关于 Apple 各子域名具体作用的收录,鉴于 Apple 在国内大体良好的 CDN 部署个人不建议对其进行代理,当然既然进到了这个目录可能 Apple 的某些服务在你所在地区堪忧,相比以前对于 Apple 整体域名全部代理,该目录收录的一些细分分流文件如 App Store 应用下载、系统更新的专项代理应该更适合你。 8 | 9 | ### 分流文件说明 10 | 11 | **Apple.list** 12 | 13 | 是 Apple 服务的总体整理,如您想对 Apple 服务均进行代理可以使用该分流文件,需要注意的是建议放置于 Global.list 与 China.list 之间,因 Global.list 有 Apple 对于中国大陆不可用服务的代理行为,如您的 Apple 策略经常在代理与直连来回切换会导致 Global.list 中的规则失效。 14 | 15 | **BlockiOSUpdate.list** 16 | 17 | iOS 设备屏蔽系统的「软件更新」之用,故而需要注意的是策略选择为 `REJECT` 18 | 19 | **其他** 20 | 21 | 其他分流文件均为代理策略,文件名极其内容已说明其主要作用。 -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/Siri.list: -------------------------------------------------------------------------------- 1 | # Siri 2 | DOMAIN,guzzoni.apple.com -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/SoftwareUpdate.list: -------------------------------------------------------------------------------- 1 | # Software Update 2 | # > macOS updates 3 | DOMAIN,gg.apple.com 4 | DOMAIN,gnf-mdn.apple.com 5 | DOMAIN,gnf-mr.apple.com 6 | DOMAIN,gs.apple.com 7 | DOMAIN,ig.apple.com 8 | DOMAIN,skl.apple.com 9 | DOMAIN,swcdn.apple.com 10 | DOMAIN,swdist.apple.com 11 | DOMAIN,swdownload.apple.com 12 | DOMAIN,swpost.apple.com 13 | DOMAIN,swscan.apple.com 14 | # > macOS Recovery 15 | DOMAIN,oscdn.apple.com 16 | DOMAIN,osrecovery.apple.com 17 | # > iOS updates 18 | DOMAIN,appldnld.apple.com 19 | DOMAIN,ns.itunes.apple.com 20 | # > iOS, tvOS, and macOS 21 | DOMAIN,mesu.apple.com 22 | DOMAIN,updates.cdn-apple.com 23 | DOMAIN,updates-http.cdn-apple.com 24 | DOMAIN,xp.apple.com -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/TV.list: -------------------------------------------------------------------------------- 1 | # TV 2 | PROCESS-NAME,TV 3 | USER-AGENT,AppleTV* 4 | USER-AGENT,com.apple.tv* 5 | DOMAIN-SUFFIX,tv.apple.com 6 | DOMAIN,hls.itunes.apple.com // Trailers 7 | DOMAIN,hls-amt.itunes.apple.com // Trailers 8 | DOMAIN,play-edge.itunes.apple.com // Unblock Region -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/TestFlight.list: -------------------------------------------------------------------------------- 1 | # TestFlight 2 | DOMAIN,beta.apple.com 3 | DOMAIN,testflight.apple.com -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Apple/iCloud.list: -------------------------------------------------------------------------------- 1 | # iCloud 2 | DOMAIN-SUFFIX,apple-cloudkit.com 3 | DOMAIN-SUFFIX,icloud.com 4 | DOMAIN-SUFFIX,icloud.com.cn 5 | DOMAIN-SUFFIX,icloud-content.com 6 | DOMAIN,www-cdn.icloud.com.akadns.net -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Clubhouse.list: -------------------------------------------------------------------------------- 1 | # > Clubhouse 2 | # 如果的你代理服务器不支持或没有开启 udp-relay,请不要使用本文件。 3 | 4 | IP-CIDR,3.0.163.78/32,no-resolve 5 | IP-CIDR,13.230.60.35/32,no-resolve 6 | IP-CIDR,23.98.43.152/32,no-resolve 7 | IP-CIDR,35.156.231.150/32,no-resolve 8 | IP-CIDR,35.168.106.53/32,no-resolve 9 | IP-CIDR,35.178.208.187/32,no-resolve 10 | IP-CIDR,45.40.48.11/32,no-resolve 11 | IP-CIDR,45.40.48.114/32,no-resolve 12 | IP-CIDR,50.18.128.22/32,no-resolve 13 | IP-CIDR,52.52.84.170/32,no-resolve 14 | IP-CIDR,52.58.56.244/32,no-resolve 15 | IP-CIDR,52.178.26.110/32,no-resolve 16 | IP-CIDR,52.194.158.59/32,no-resolve 17 | IP-CIDR,52.221.46.208/32,no-resolve 18 | IP-CIDR,54.178.26.110/32,no-resolve 19 | IP-CIDR,69.28.51.148/32,no-resolve 20 | IP-CIDR,103.65.41.130/32,no-resolve 21 | IP-CIDR,103.65.41.132/32,no-resolve 22 | IP-CIDR,103.65.41.137/32,no-resolve 23 | IP-CIDR,103.65.41.139/32,no-resolve 24 | IP-CIDR,103.65.41.152/32,no-resolve 25 | IP-CIDR,103.65.41.157/32,no-resolve 26 | IP-CIDR,103.65.41.159/32,no-resolve 27 | IP-CIDR,103.65.41.166/32,no-resolve 28 | IP-CIDR,103.65.41.169/32,no-resolve 29 | IP-CIDR,128.1.105.156/32,no-resolve 30 | IP-CIDR,129.227.57.130/32,no-resolve 31 | IP-CIDR,129.227.57.133/32,no-resolve 32 | IP-CIDR,129.227.57.135/32,no-resolve 33 | IP-CIDR,129.227.57.136/32,no-resolve 34 | IP-CIDR,129.227.57.138/32,no-resolve 35 | IP-CIDR,129.227.57.139/32,no-resolve 36 | IP-CIDR,129.227.57.144/32,no-resolve 37 | IP-CIDR,129.227.57.146/32,no-resolve 38 | IP-CIDR,129.227.57.147/32,no-resolve 39 | IP-CIDR,129.227.234.85/32,no-resolve 40 | IP-CIDR,148.153.126.147/32,no-resolve 41 | IP-CIDR,148.153.172.73/32,no-resolve 42 | IP-CIDR,148.153.172.74/32,no-resolve 43 | IP-CIDR,148.153.172.75/32,no-resolve 44 | IP-CIDR,148.153.172.76/32,no-resolve 45 | IP-CIDR,148.153.172.77/32,no-resolve 46 | IP-CIDR,164.52.102.33/32,no-resolve 47 | IP-CIDR,164.52.102.66/32,no-resolve 48 | IP-CIDR,164.52.102.67/32,no-resolve 49 | IP-CIDR,164.52.102.68/32,no-resolve 50 | IP-CIDR,164.52.102.69/32,no-resolve 51 | IP-CIDR,164.52.102.70/32,no-resolve 52 | IP-CIDR,164.52.102.75/32,no-resolve 53 | IP-CIDR,164.52.102.76/32,no-resolve 54 | IP-CIDR,164.52.102.77/32,no-resolve 55 | IP-CIDR,164.52.102.91/32,no-resolve 56 | IP-CIDR,199.190.44.36/32,no-resolve 57 | IP-CIDR,199.190.44.37/32,no-resolve 58 | IP-CIDR,202.181.136.107/32,no-resolve 59 | IP-CIDR,202.181.136.108/32,no-resolve 60 | IP-CIDR,202.181.136.234/32,no-resolve 61 | IP-CIDR,202.226.25.166/32,no-resolve -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Cryptocurrency.list: -------------------------------------------------------------------------------- 1 | DOMAIN-SUFFIX,aex.com 2 | DOMAIN-SUFFIX,bibox.com 3 | DOMAIN-SUFFIX,binance.cc 4 | DOMAIN-SUFFIX,binance.com 5 | DOMAIN-SUFFIX,bitcointalk.org 6 | DOMAIN-SUFFIX,bitfinex.com 7 | DOMAIN-SUFFIX,bitmex.com 8 | DOMAIN-SUFFIX,ftx.com 9 | DOMAIN-SUFFIX,gate.io 10 | DOMAIN-SUFFIX,huobi.com 11 | DOMAIN-SUFFIX,okex.com 12 | DOMAIN-SUFFIX,sushi.com 13 | DOMAIN-SUFFIX,uniswap.org 14 | DOMAIN-SUFFIX,zb.com -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Blizzard/Battle.list: -------------------------------------------------------------------------------- 1 | # Battle 2 | DOMAIN-SUFFIX,battle.net 3 | DOMAIN-SUFFIX,blizzard.com 4 | DOMAIN,blizzard.nefficient.co.kr 5 | DOMAIN,blzddist1-a.akamaihd.net 6 | DOMAIN,blzddistkr1-a.akamaihd.net 7 | DOMAIN,bnetproduct-a.akamaihd.net -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Blizzard/Classic.list: -------------------------------------------------------------------------------- 1 | # Diablo II, StarCraft, and Warcraft III 2 | 3 | # North America 4 | DOMAIN,uswest.battle.net 5 | DOMAIN,useast.battle.net 6 | 7 | # Europe 8 | DOMAIN,europe.battle.net 9 | 10 | # Asia 11 | DOMAIN,asia.battle.net -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Blizzard/Diablo-III.list: -------------------------------------------------------------------------------- 1 | # North America 2 | IP-CIDR,24.105.30.129/32 3 | 4 | # Brazil (Americas) 5 | IP-CIDR,54.94.196.47/32 6 | 7 | # Europe 8 | IP-CIDR,185.60.112.157/32 9 | IP-CIDR,185.60.112.158/32 10 | 11 | # Korea 12 | IP-CIDR,182.162.135.1/32 13 | 14 | # Taiwan 15 | IP-CIDR,210.242.235.6/32 16 | 17 | # Australia 18 | IP-CIDR,103.4.115.248/32 -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Blizzard/Hearthstone.list: -------------------------------------------------------------------------------- 1 | # The Americas 2 | IP-CIDR,24.105.30.129/32 3 | 4 | # Europe 5 | IP-CIDR,185.60.112.157/32 6 | IP-CIDR,185.60.112.158/32 7 | 8 | # Korea and Taiwan 9 | IP-CIDR,182.162.132.1/32 -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Blizzard/Heroes-of-the-Storm.list: -------------------------------------------------------------------------------- 1 | # North America (Americas) 2 | IP-CIDR,24.105.30.129/32 // (US West) 3 | IP-CIDR,24.105.62.129/32 // (US Central) 4 | 5 | # Australia (Americas) 6 | IP-CIDR,103.4.114.233/32 7 | 8 | # Singapore (Americas) 9 | IP-CIDR,202.9.67.59/32 10 | 11 | # Brazil (Americas) 12 | IP-CIDR,54.207.104.145/32 13 | 14 | # Europe 15 | IP-CIDR,185.60.112.157/32 16 | IP-CIDR,185.60.112.158/32 17 | 18 | # Korea (Asia) 19 | IP-CIDR,182.162.116.1/32 20 | 21 | # Taiwan (Asia) 22 | IP-CIDR,203.69.111.4/32 -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Blizzard/Overwatch.list: -------------------------------------------------------------------------------- 1 | # The Americas 2 | IP-CIDR,24.105.30.129/32 // (US West) 3 | IP-CIDR,24.105.62.129/32 // (US Central) 4 | 5 | # Brazil (Americas) 6 | IP-CIDR,54.207.107.12/32 7 | 8 | # Europe 9 | IP-CIDR,185.60.114.159/32 10 | IP-CIDR,185.60.112.157/32 11 | 12 | # Korea 13 | IP-CIDR,211.234.110.1/32 14 | 15 | # Taiwan 16 | IP-CIDR,203.66.81.98/32 -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Blizzard/StarCraft-II.list: -------------------------------------------------------------------------------- 1 | # The Americas 2 | IP-CIDR,24.105.30.129/32 // (US West) 3 | IP-CIDR,24.105.62.129/32 // (US Central) 4 | 5 | # Australia (Americas) 6 | IP-CIDR,103.4.114.233/32 7 | 8 | # Europe 9 | IP-CIDR,185.60.112.157/32 10 | IP-CIDR,185.60.112.158/32 11 | IP-CIDR,185.60.114.159/32 12 | 13 | # Korea and Taiwan 14 | IP-CIDR,222.231.22.1/32 15 | 16 | # Southeast Asia 17 | IP-CIDR,202.9.67.254/32 -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Blizzard/World-of-Warcraft.list: -------------------------------------------------------------------------------- 1 | # The Americas 2 | IP-CIDR,137.221.105.2/32 // (US West) 3 | IP-CIDR,24.105.62.129/32 // (US Central) 4 | 5 | # Europe 6 | IP-CIDR,185.60.112.157/32 7 | IP-CIDR,185.60.112.158/32 8 | IP-CIDR,185.60.114.159/32 9 | 10 | # Korea 11 | IP-CIDR,211.115.104.1/32 12 | 13 | # Taiwan 14 | IP-CIDR,210.71.148.11/32 15 | 16 | # Oceania 17 | IP-CIDR,103.4.115.248/32 -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Discord.list: -------------------------------------------------------------------------------- 1 | # Discord 2 | DOMAIN-SUFFIX,discord.co 3 | DOMAIN-SUFFIX,discord.com 4 | DOMAIN-SUFFIX,discord.gg 5 | DOMAIN-SUFFIX,discord.media 6 | DOMAIN-SUFFIX,discordapp.com 7 | DOMAIN-SUFFIX,discordapp.net -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Game.list: -------------------------------------------------------------------------------- 1 | # 游戏模式(⚠️所用节点需开启 UDP 转发支持) 2 | 3 | PROTOCOL,UDP -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Nintendo.list: -------------------------------------------------------------------------------- 1 | # > Nintendo 2 | DOMAIN-SUFFIX,nintendo.com 3 | DOMAIN-SUFFIX,nintendo.net -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Origin.list: -------------------------------------------------------------------------------- 1 | # 相比代理,更建议先尝试使用 hosts:https://www.dogfight360.com/blog/475/ 2 | DOMAIN-SUFFIX,origin.com 3 | DOMAIN,cloudsync-prod.s3.amazonaws.com 4 | DOMAIN,origin-a.akamaihd.net // Akamai 5 | DOMAIN,ssl-lvlt.cdn.ea.com // Level3-CDN 6 | DOMAIN,rtm.tnt-ea.com -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/README.md: -------------------------------------------------------------------------------- 1 | ## 使用说明 2 | 3 | 本目录下的分流最直接的使用方法就是引用后策略使用代理。 4 | 5 | 但仍然建议先试用 [UsbEAm Hosts Editor](https://www.dogfight360.com/blog/475/) 或 [UsbEAm Consoles DNS](https://www.dogfight360.com/blog/1845/)。如 Origin 的下载服务器 `origin-a.akamaihd.net` 使用合适的 hosts 后直连可跑满宽带,在遇到满意的 hosts 可加入到 Surge 的 `[Host]` 然后添加相应规则直连使用。 -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Steam.list: -------------------------------------------------------------------------------- 1 | # Steam 2 | DOMAIN-SUFFIX,steam-chat.com 3 | DOMAIN-SUFFIX,steamcontent.com 4 | DOMAIN-SUFFIX,steamgames.com 5 | DOMAIN-SUFFIX,steampowered.com 6 | DOMAIN-SUFFIX,steamstat.us 7 | DOMAIN-SUFFIX,steamstatic.com 8 | DOMAIN-SUFFIX,steamusercontent.com 9 | DOMAIN,steambroadcast.akamaized.net 10 | DOMAIN,steamcdn-a.akamaihd.net 11 | DOMAIN,steamcommunity-a.akamaihd.net 12 | DOMAIN,steamstore-a.akamaihd.net 13 | DOMAIN,steamusercontent-a.akamaihd.net 14 | DOMAIN,steamusercontent-a.akamaihd.net 15 | DOMAIN,steamuserimages-a.akamaihd.net -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Supercell.list: -------------------------------------------------------------------------------- 1 | # Supercell 2 | # > Brawl Stars 3 | DOMAIN-SUFFIX,brawlstars.com 4 | DOMAIN-SUFFIX,brawlstarsgame.com 5 | IP-CIDR,13.210.25.233/32 6 | IP-CIDR,13.212.170.102/32 7 | IP-CIDR,13.212.171.212/32 8 | IP-CIDR,15.161.130.86/32 9 | IP-CIDR,15.254.1.17/32 10 | IP-CIDR,162.62.33.45/32 11 | IP-CIDR,162.62.33.70/32 12 | IP-CIDR,162.62.34.10/32 13 | IP-CIDR,18.141.176.65/32 14 | IP-CIDR,18.156.137.147/32 15 | IP-CIDR,18.231.148.103/32 16 | IP-CIDR,18.231.148.103/32 17 | IP-CIDR,3.1.80.68/32 18 | IP-CIDR,3.25.190.152/32 19 | IP-CIDR,3.82.147.36/32 20 | IP-CIDR,34.220.160.16/32 21 | IP-CIDR,35.154.64.7/32 22 | IP-CIDR,35.72.32.125/32 23 | IP-CIDR,52.13.150.128/32 24 | IP-CIDR,52.13.42.120/32 25 | IP-CIDR,52.50.131.212/32 26 | IP-CIDR,54.207.168.84/32 27 | IP-CIDR,54.248.64.192/32 -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/WildRift.list: -------------------------------------------------------------------------------- 1 | # League of Legends: Wild Rift! 2 | DOMAIN-SUFFIX,pvp.net 3 | DOMAIN-SUFFIX,riotgames.com 4 | DOMAIN-SUFFIX,riotcdn.net -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Game/Xbox.list: -------------------------------------------------------------------------------- 1 | # > Xbox 2 | DOMAIN-SUFFIX,xboxlive.com 3 | DOMAIN-SUFFIX,xboxservices.com 4 | DOMAIN-SUFFIX,gamepass.com 5 | DOMAIN,store-images.s-microsoft.com 6 | DOMAIN,img-prod-cms-rt-microsoft-com.akamaized.net 7 | DOMAIN,login.live.com 8 | DOMAIN,logincdn.msauth.net -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Google/GoogleDrive.list: -------------------------------------------------------------------------------- 1 | # > Google Drive 2 | USER-AGENT,%E4%BA%91%E7%AB%AF%E7%A1%AC%E7%9B%98* 3 | USER-AGENT,Google.Drive* 4 | USER-AGENT,*com.google.Drive* 5 | DOMAIN-SUFFIX,docs.google.com 6 | DOMAIN-SUFFIX,drive.google.com 7 | DOMAIN-SUFFIX,googledrive.com 8 | DOMAIN-SUFFIX,googleusercontent.com -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Google/GoogleSearch.list: -------------------------------------------------------------------------------- 1 | # > Google Search 2 | DOMAIN-KEYWORD,www.google. -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Google/GoogleVoice.list: -------------------------------------------------------------------------------- 1 | # > Google Voice 2 | DOMAIN,lens.l.google.com -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/IP-Blackhole.list: -------------------------------------------------------------------------------- 1 | # IP Blackhole 2 | # > Facebook 3 | IP-CIDR,31.13.24.0/21 4 | IP-CIDR,31.13.64.0/18 5 | IP-CIDR,45.64.40.0/22 6 | IP-CIDR,66.220.144.0/20 7 | IP-CIDR,69.63.176.0/20 8 | IP-CIDR,69.171.224.0/19 9 | IP-CIDR,74.119.76.0/22 10 | IP-CIDR,103.4.96.0/22 11 | IP-CIDR,129.134.0.0/17 12 | IP-CIDR,157.240.0.0/17 13 | IP-CIDR,173.252.64.0/19 14 | IP-CIDR,173.252.96.0/19 15 | IP-CIDR,179.60.192.0/22 16 | IP-CIDR,185.60.216.0/22 17 | IP-CIDR,204.15.20.0/22 18 | # > Google 19 | IP-CIDR,35.190.247.0/24 20 | IP-CIDR,64.233.160.0/19 21 | IP-CIDR,66.102.0.0/20 22 | IP-CIDR,66.249.80.0/20 23 | IP-CIDR,72.14.192.0/18 24 | IP-CIDR,74.125.0.0/16 25 | IP-CIDR,108.177.8.0/21 26 | IP-CIDR,172.217.0.0/16 27 | IP-CIDR,173.194.0.0/16 28 | IP-CIDR,209.85.128.0/17 29 | IP-CIDR,216.58.192.0/19 30 | IP-CIDR,216.239.32.0/19 31 | # > Twitter 32 | IP-CIDR,69.195.160.0/19 33 | IP-CIDR,104.244.42.0/21 34 | IP-CIDR,192.133.76.0/22 35 | IP-CIDR,199.16.156.0/22 36 | IP-CIDR,199.59.148.0/22 37 | IP-CIDR,199.96.56.0/21 38 | IP-CIDR,202.160.128.0/22 39 | IP-CIDR,209.237.192.0/19 40 | # > Wikimedia 41 | IP-CIDR,91.198.174.0/24 42 | IP-CIDR,103.102.166.0/24 43 | IP-CIDR,185.15.56.0/22 44 | IP-CIDR,198.35.26.0/23 45 | IP-CIDR,208.80.152.0/22 -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Microsoft/OneDrive.list: -------------------------------------------------------------------------------- 1 | # OneDrive 2 | DOMAIN-SUFFIX,1drv.com 3 | DOMAIN-SUFFIX,onedrive.com 4 | DOMAIN-SUFFIX,storage.live.com 5 | DOMAIN,oneclient.sfx.ms -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/PayPal.list: -------------------------------------------------------------------------------- 1 | # > PayPal 2 | USER-AGENT,PayPal* 3 | DOMAIN-SUFFIX,paypal.com 4 | DOMAIN-SUFFIX,paypal.me 5 | DOMAIN-SUFFIX,paypalobjects.com -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Scholar.list: -------------------------------------------------------------------------------- 1 | # > Scholar 2 | DOMAIN,scholar.google.com 3 | DOMAIN-SUFFIX,acm.org 4 | DOMAIN-SUFFIX,acs.org 5 | DOMAIN-SUFFIX,aip.org 6 | DOMAIN-SUFFIX,ams.org 7 | DOMAIN-SUFFIX,annualreviews.org 8 | DOMAIN-SUFFIX,aps.org 9 | DOMAIN-SUFFIX,ascelibrary.org 10 | DOMAIN-SUFFIX,asm.org 11 | DOMAIN-SUFFIX,asme.org 12 | DOMAIN-SUFFIX,astm.org 13 | DOMAIN-SUFFIX,bmj.com 14 | DOMAIN-SUFFIX,cambridge.org 15 | DOMAIN-SUFFIX,cas.org 16 | DOMAIN-SUFFIX,cell.com 17 | DOMAIN-SUFFIX,clarivate.com 18 | DOMAIN-SUFFIX,csiro.au 19 | DOMAIN-SUFFIX,ebscohost.com 20 | DOMAIN-SUFFIX,elsevier.com 21 | DOMAIN-SUFFIX,emerald.com 22 | DOMAIN-SUFFIX,endnote.com 23 | DOMAIN-SUFFIX,engineeringvillage.com 24 | DOMAIN-SUFFIX,icevirtuallibrary.com 25 | DOMAIN-SUFFIX,ieee.org 26 | DOMAIN-SUFFIX,imf.org 27 | DOMAIN-SUFFIX,iop.org 28 | DOMAIN-SUFFIX,jamanetwork.com 29 | DOMAIN-SUFFIX,jbc.org 30 | DOMAIN-SUFFIX,jhu.edu 31 | DOMAIN-SUFFIX,jstor.org 32 | DOMAIN-SUFFIX,karger.com 33 | DOMAIN-SUFFIX,libguides.com 34 | DOMAIN-SUFFIX,madsrevolution.net 35 | DOMAIN-SUFFIX,mdpi.com 36 | DOMAIN-SUFFIX,mpg.de 37 | DOMAIN-SUFFIX,myilibrary.com 38 | DOMAIN-SUFFIX,nature.com 39 | DOMAIN-SUFFIX,ncbi.nlm.nih.gov 40 | DOMAIN-SUFFIX,oecd-ilibrary.org 41 | DOMAIN-SUFFIX,osapublishing.org 42 | DOMAIN-SUFFIX,oup.com 43 | DOMAIN-SUFFIX,ovid.com 44 | DOMAIN-SUFFIX,oxfordartonline.com 45 | DOMAIN-SUFFIX,oxfordbibliographies.com 46 | DOMAIN-SUFFIX,oxfordmusiconline.com 47 | DOMAIN-SUFFIX,pnas.org 48 | DOMAIN-SUFFIX,proquest.com 49 | DOMAIN-SUFFIX,rsc.org 50 | DOMAIN-SUFFIX,sagepub.com 51 | DOMAIN-SUFFIX,sciencedirect.com 52 | DOMAIN-SUFFIX,sciencemag.org 53 | DOMAIN-SUFFIX,scitation.org 54 | DOMAIN-SUFFIX,sci-hub.tw 55 | DOMAIN-SUFFIX,scopus.com 56 | DOMAIN-SUFFIX,siam.org 57 | DOMAIN-SUFFIX,spiedigitallibrary.org 58 | DOMAIN-SUFFIX,springer.com 59 | DOMAIN-SUFFIX,springerlink.com 60 | DOMAIN-SUFFIX,tandfonline.com 61 | DOMAIN-SUFFIX,un.org 62 | DOMAIN-SUFFIX,uni-bielefeld.de 63 | DOMAIN-SUFFIX,webofknowledge.com 64 | DOMAIN-SUFFIX,westlaw.com 65 | DOMAIN-SUFFIX,wiley.com 66 | DOMAIN-SUFFIX,worldbank.org 67 | DOMAIN-SUFFIX,worldscientific.com 68 | -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Telegram/README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | 3 | Telegram 的主分流文件 Telegram.list 已收录于 Global.list 中,如无确切目的不需要额外添加。 4 | 5 | Telegram.list 用于专门想对 Telegram 服务进行指定服务器节点,以达到加速目的所用。 6 | 7 | 而至于其他三个分流文件: 8 | - TelegramNL.list 9 | - TelegramSG.list 10 | - TelegramUS.list 11 | 12 | 则为更具体所用,是针对 Telegram 目前三大数据中心的更具体的分流,主要是给使用 Telegram 观看影视内容,指定更为具体区域的服务器节点以达到加速目的所用。 -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Telegram/Telegram.list: -------------------------------------------------------------------------------- 1 | # Telegram 2 | DOMAIN-SUFFIX,t.me 3 | DOMAIN-SUFFIX,tdesktop.com 4 | DOMAIN-SUFFIX,telegra.ph 5 | DOMAIN-SUFFIX,telegram.me 6 | DOMAIN-SUFFIX,telegram.org 7 | DOMAIN-SUFFIX,telesco.pe 8 | IP-CIDR,91.108.4.0/22,no-resolve 9 | IP-CIDR,91.108.8.0/22,no-resolve 10 | IP-CIDR,91.108.12.0/22,no-resolve 11 | IP-CIDR,91.108.16.0/22,no-resolve 12 | IP-CIDR,91.108.20.0/22,no-resolve 13 | IP-CIDR,91.108.56.0/22,no-resolve 14 | IP-CIDR,95.161.64.0/20,no-resolve 15 | IP-CIDR,149.154.160.0/20,no-resolve 16 | IP-CIDR6,2001:b28:f23d::/48,no-resolve 17 | IP-CIDR6,2001:b28:f23f::/48,no-resolve 18 | IP-CIDR6,2001:67c:4e8::/48,no-resolve -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Telegram/TelegramNL.list: -------------------------------------------------------------------------------- 1 | # Telegram NL 2 | IP-CIDR,91.108.4.0/24,no-resolve 3 | IP-CIDR,91.108.8.0/27,no-resolve 4 | IP-CIDR,149.154.160.0/22,no-resolve 5 | IP-CIDR,149.154.164.0/22,no-resolve 6 | IP-CIDR6,2001:67c:4e8:f002::e/128,no-resolve 7 | IP-CIDR6,2001:67c:4e8:f002::a/128,no-resolve 8 | IP-CIDR6,2001:67c:4e8:f004::a/128,no-resolve -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Telegram/TelegramSG.list: -------------------------------------------------------------------------------- 1 | # Telegram SG 2 | IP-CIDR,91.108.16.0/27,no-resolve 3 | IP-CIDR,91.108.56.0/24,no-resolve 4 | IP-CIDR,149.154.168.0/22,no-resolve 5 | IP-CIDR6,2001:b28:f23f:f005::a/128,no-resolve -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Telegram/TelegramUS.list: -------------------------------------------------------------------------------- 1 | # Telegram US 2 | IP-CIDR,91.108.12.0/27,no-resolve 3 | IP-CIDR,149.154.172.0/22,no-resolve 4 | IP-CIDR6,2001:b28:f23d:f001::e/128,no-resolve 5 | IP-CIDR6,2001:b28:f23d:f003::e/128,no-resolve 6 | IP-CIDR6,2001:b28:f23d:f001::a/128,no-resolve 7 | IP-CIDR6,2001:b28:f23d:f003::a/128,no-resolve -------------------------------------------------------------------------------- /Surge/Ruleset/Extra/Twitter.list: -------------------------------------------------------------------------------- 1 | # > Twitter 2 | DOMAIN-SUFFIX,pscp.tv 3 | DOMAIN-SUFFIX,periscope.tv 4 | DOMAIN-SUFFIX,t.co 5 | DOMAIN-SUFFIX,twimg.co 6 | DOMAIN-SUFFIX,twimg.com 7 | DOMAIN-SUFFIX,twitpic.com 8 | DOMAIN-SUFFIX,twitter.com 9 | DOMAIN-SUFFIX,twitter.jp 10 | DOMAIN-SUFFIX,vine.co -------------------------------------------------------------------------------- /Surge/Ruleset/Guard/Hijacking.list: -------------------------------------------------------------------------------- 1 | # Internet Service Providers Hijacking 2 | DOMAIN-SUFFIX,17gouwuba.com 3 | DOMAIN-SUFFIX,186078.com 4 | DOMAIN-SUFFIX,189key.com 5 | DOMAIN-SUFFIX,189zj.cn 6 | DOMAIN-SUFFIX,285680.com 7 | DOMAIN-SUFFIX,3721zh.com 8 | DOMAIN-SUFFIX,4336wang.cn 9 | DOMAIN-SUFFIX,51chumoping.com 10 | DOMAIN-SUFFIX,51mld.cn 11 | DOMAIN-SUFFIX,51mypc.cn 12 | DOMAIN-SUFFIX,58mingri.cn 13 | DOMAIN-SUFFIX,58mingtian.cn 14 | DOMAIN-SUFFIX,5vl58stm.com 15 | DOMAIN-SUFFIX,6d63d3.com 16 | DOMAIN-SUFFIX,7gg.cc 17 | DOMAIN-SUFFIX,91veg.com 18 | DOMAIN-SUFFIX,9s6q.cn 19 | DOMAIN-SUFFIX,adsame.com 20 | DOMAIN-SUFFIX,akuai.top 21 | DOMAIN-SUFFIX,atplay.cn 22 | DOMAIN-SUFFIX,baiwanchuangyi.com 23 | DOMAIN-SUFFIX,beerto.cn 24 | DOMAIN-SUFFIX,beilamusi.com 25 | DOMAIN-SUFFIX,benshiw.net 26 | DOMAIN-SUFFIX,bianxianmao.com 27 | DOMAIN-SUFFIX,bkyhq.cn 28 | DOMAIN-SUFFIX,bryonypie.com 29 | DOMAIN-SUFFIX,cishantao.com 30 | DOMAIN-SUFFIX,cszlks.com 31 | DOMAIN-SUFFIX,cudaojia.com 32 | DOMAIN-SUFFIX,dafapromo.com 33 | DOMAIN-SUFFIX,daitdai.com 34 | DOMAIN-SUFFIX,dsaeerf.com 35 | DOMAIN-SUFFIX,dugesheying.com 36 | DOMAIN-SUFFIX,dv8c1t.cn 37 | DOMAIN-SUFFIX,echatu.com 38 | DOMAIN-SUFFIX,erdoscs.com 39 | DOMAIN-SUFFIX,fan-yong.com 40 | DOMAIN-SUFFIX,feih.com.cn 41 | DOMAIN-SUFFIX,fjlqqc.com 42 | DOMAIN-SUFFIX,fkku194.com 43 | DOMAIN-SUFFIX,freedrive.cn 44 | DOMAIN-SUFFIX,gclick.cn 45 | DOMAIN-SUFFIX,goufanli100.com 46 | DOMAIN-SUFFIX,goupaoerdai.com 47 | DOMAIN-SUFFIX,gouwubang.com 48 | DOMAIN-SUFFIX,gscxs.cn 49 | DOMAIN-SUFFIX,gzxnlk.com 50 | DOMAIN-SUFFIX,haoshengtoys.com 51 | DOMAIN-SUFFIX,hbssjd.cn 52 | DOMAIN-SUFFIX,hyunke.com 53 | DOMAIN-SUFFIX,ichaosheng.com 54 | DOMAIN-SUFFIX,ishop789.com 55 | DOMAIN-SUFFIX,jdkic.com 56 | DOMAIN-SUFFIX,jiubuhua.com 57 | DOMAIN-SUFFIX,jsncke.com 58 | DOMAIN-SUFFIX,junkucm.com 59 | DOMAIN-SUFFIX,jwg365.cn 60 | DOMAIN-SUFFIX,kawo77.com 61 | DOMAIN-SUFFIX,kualianyingxiao.cn 62 | DOMAIN-SUFFIX,kumihua.com 63 | DOMAIN-SUFFIX,ltheanine.cn 64 | DOMAIN-SUFFIX,lvehaisen.com 65 | DOMAIN-SUFFIX,maipinshangmao.com 66 | DOMAIN-SUFFIX,minisplat.cn 67 | DOMAIN-SUFFIX,mkitgfs.com 68 | DOMAIN-SUFFIX,mlnbike.com 69 | DOMAIN-SUFFIX,mobjump.com 70 | DOMAIN-SUFFIX,nbkbgd.cn 71 | DOMAIN-SUFFIX,newapi.com 72 | DOMAIN-SUFFIX,pinzhitmall.com 73 | DOMAIN-SUFFIX,poppyta.com 74 | DOMAIN-SUFFIX,qianchuanghr.com 75 | DOMAIN-SUFFIX,qichexin.com 76 | DOMAIN-SUFFIX,qinchugudao.com 77 | DOMAIN-SUFFIX,quanliyouxi.cn 78 | DOMAIN-SUFFIX,qutaobi.com 79 | DOMAIN-SUFFIX,ry51w.cn 80 | DOMAIN-SUFFIX,sg536.cn 81 | DOMAIN-SUFFIX,sifubo.cn 82 | DOMAIN-SUFFIX,sifuce.cn 83 | DOMAIN-SUFFIX,sifuda.cn 84 | DOMAIN-SUFFIX,sifufu.cn 85 | DOMAIN-SUFFIX,sifuge.cn 86 | DOMAIN-SUFFIX,sifugu.cn 87 | DOMAIN-SUFFIX,sifuhe.cn 88 | DOMAIN-SUFFIX,sifuhu.cn 89 | DOMAIN-SUFFIX,sifuji.cn 90 | DOMAIN-SUFFIX,sifuka.cn 91 | DOMAIN-SUFFIX,smgru.net 92 | DOMAIN-SUFFIX,taoggou.com 93 | DOMAIN-SUFFIX,tcxshop.com 94 | DOMAIN-SUFFIX,tjqonline.cn 95 | DOMAIN-SUFFIX,topitme.com 96 | DOMAIN-SUFFIX,tt3sm4.cn 97 | DOMAIN-SUFFIX,tuia.cn 98 | DOMAIN-SUFFIX,tuipenguin.com 99 | DOMAIN-SUFFIX,tuitiger.com 100 | DOMAIN-SUFFIX,urlaw.cn 101 | DOMAIN-SUFFIX,urlet.cn 102 | DOMAIN-SUFFIX,websd8.com 103 | DOMAIN-SUFFIX,wsgblw.com 104 | DOMAIN-SUFFIX,wx16999.com 105 | DOMAIN-SUFFIX,xchmai.com 106 | DOMAIN-SUFFIX,xiaohuau.xyz 107 | DOMAIN-SUFFIX,ygyzx.cn 108 | DOMAIN-SUFFIX,yinmong.com 109 | DOMAIN-SUFFIX,yitaopt.com 110 | DOMAIN-SUFFIX,yjqiqi.com 111 | DOMAIN-SUFFIX,yukhj.com 112 | DOMAIN-SUFFIX,zhaozecheng.cn 113 | DOMAIN-SUFFIX,zhenxinet.com 114 | DOMAIN-SUFFIX,zlne800.com 115 | DOMAIN-SUFFIX,zmlled.cn 116 | DOMAIN-SUFFIX,zunmi.cn 117 | DOMAIN-SUFFIX,zzd6.com 118 | IP-CIDR,39.107.15.115/32,no-resolve 119 | IP-CIDR,47.89.59.182/32,no-resolve 120 | IP-CIDR,103.49.209.27/32,no-resolve 121 | IP-CIDR,123.56.152.96/32,no-resolve 122 | # > ChinaTelecom 123 | IP-CIDR,61.160.200.223/32,no-resolve 124 | IP-CIDR,61.160.200.242/32,no-resolve 125 | IP-CIDR,61.160.200.252/32,no-resolve 126 | IP-CIDR,61.174.50.214/32,no-resolve 127 | IP-CIDR,111.175.220.163/32,no-resolve 128 | IP-CIDR,111.175.220.164/32,no-resolve 129 | IP-CIDR,122.229.8.47/32,no-resolve 130 | IP-CIDR,122.229.29.89/32,no-resolve 131 | IP-CIDR,124.232.160.178/32,no-resolve 132 | IP-CIDR,175.6.223.15/32,no-resolve 133 | IP-CIDR,183.59.53.237/32,no-resolve 134 | IP-CIDR,218.93.127.37/32,no-resolve 135 | IP-CIDR,221.228.17.152/32,no-resolve 136 | IP-CIDR,221.231.6.79/32,no-resolve 137 | IP-CIDR,222.186.61.91/32,no-resolve 138 | IP-CIDR,222.186.61.95/32,no-resolve 139 | IP-CIDR,222.186.61.96/32,no-resolve 140 | IP-CIDR,222.186.61.97/32,no-resolve 141 | # > ChinaUnicom 142 | IP-CIDR,106.75.231.48/32,no-resolve 143 | IP-CIDR,119.4.249.166/32,no-resolve 144 | IP-CIDR,220.196.52.141/32,no-resolve 145 | IP-CIDR,221.6.4.148/32,no-resolve 146 | # > ChinaMobile 147 | IP-CIDR,114.247.28.96/32,no-resolve 148 | IP-CIDR,120.240.95.37/32,no-resolve 149 | IP-CIDR,221.179.131.72/32,no-resolve 150 | IP-CIDR,221.179.140.145/32,no-resolve 151 | # > Dr.Peng 152 | # IP-CIDR,10.72.25.0/24,no-resolve 153 | IP-CIDR,115.182.16.79/32,no-resolve 154 | IP-CIDR,118.144.88.126/32,no-resolve 155 | IP-CIDR,118.144.88.215/32,no-resolve 156 | IP-CIDR,118.144.88.216/32,no-resolve 157 | IP-CIDR,120.76.189.132/32,no-resolve 158 | IP-CIDR,124.14.21.147/32,no-resolve 159 | IP-CIDR,124.14.21.151/32,no-resolve 160 | IP-CIDR,180.166.52.24/32,no-resolve 161 | IP-CIDR,211.161.101.106/32,no-resolve 162 | IP-CIDR,211.161.101.110/32,no-resolve 163 | IP-CIDR,220.115.251.25/32,no-resolve 164 | IP-CIDR,222.73.156.235/32,no-resolve 165 | 166 | # Malware 167 | # > Huawei AspiegelBot 168 | IP-CIDR,114.119.160.0/21,no-resolve 169 | # > KuaiZip 170 | # https://zhuanlan.zhihu.com/p/39534279 171 | DOMAIN-SUFFIX,kuaizip.com 172 | # > MacKeeper 173 | # https://www.lizhi.io/blog/40002904 174 | DOMAIN-SUFFIX,mackeeper.com 175 | DOMAIN-SUFFIX,zryydi.com 176 | # > Adobe Flash China Special Edition 177 | # https://www.zhihu.com/question/281163698/answer/441388130 178 | DOMAIN-SUFFIX,flash.cn 179 | DOMAIN,geo2.adobe.com 180 | # > C&J Marketing 181 | # https://www.zhihu.com/question/46746200 182 | DOMAIN-SUFFIX,4009997658.com 183 | DOMAIN-SUFFIX,abbyychina.com 184 | DOMAIN-SUFFIX,bartender.cc 185 | DOMAIN-SUFFIX,betterzip.net 186 | DOMAIN-SUFFIX,betterzipcn.com 187 | DOMAIN-SUFFIX,beyondcompare.cc 188 | DOMAIN-SUFFIX,bingdianhuanyuan.cn 189 | DOMAIN-SUFFIX,chemdraw.com.cn 190 | DOMAIN-SUFFIX,cjmakeding.com 191 | DOMAIN-SUFFIX,cjmkt.com 192 | DOMAIN-SUFFIX,codesoftchina.com 193 | DOMAIN-SUFFIX,coreldrawchina.com 194 | DOMAIN-SUFFIX,crossoverchina.com 195 | DOMAIN-SUFFIX,dongmansoft.com 196 | DOMAIN-SUFFIX,earmasterchina.cn 197 | DOMAIN-SUFFIX,easyrecoverychina.com 198 | DOMAIN-SUFFIX,ediuschina.com 199 | DOMAIN-SUFFIX,flstudiochina.com 200 | DOMAIN-SUFFIX,formysql.com 201 | DOMAIN-SUFFIX,guitarpro.cc 202 | DOMAIN-SUFFIX,huishenghuiying.com.cn 203 | DOMAIN-SUFFIX,hypersnap.net 204 | DOMAIN-SUFFIX,iconworkshop.cn 205 | DOMAIN-SUFFIX,imindmap.cc 206 | DOMAIN-SUFFIX,jihehuaban.com.cn 207 | DOMAIN-SUFFIX,keyshot.cc 208 | DOMAIN-SUFFIX,kingdeecn.cn 209 | DOMAIN-SUFFIX,logoshejishi.com 210 | DOMAIN-SUFFIX,luping.net.cn 211 | DOMAIN-SUFFIX,mairuan.cn 212 | DOMAIN-SUFFIX,mairuan.com 213 | DOMAIN-SUFFIX,mairuan.com.cn 214 | DOMAIN-SUFFIX,mairuan.net 215 | DOMAIN-SUFFIX,mairuanwang.com 216 | DOMAIN-SUFFIX,makeding.com 217 | DOMAIN-SUFFIX,mathtype.cn 218 | DOMAIN-SUFFIX,mindmanager.cc 219 | DOMAIN-SUFFIX,mindmanager.cn 220 | DOMAIN-SUFFIX,mindmapper.cc 221 | DOMAIN-SUFFIX,mycleanmymac.com 222 | DOMAIN-SUFFIX,nicelabel.cc 223 | DOMAIN-SUFFIX,ntfsformac.cc 224 | DOMAIN-SUFFIX,ntfsformac.cn 225 | DOMAIN-SUFFIX,overturechina.com 226 | DOMAIN-SUFFIX,passwordrecovery.cn 227 | DOMAIN-SUFFIX,pdfexpert.cc 228 | DOMAIN-SUFFIX,photozoomchina.com 229 | DOMAIN-SUFFIX,shankejingling.com 230 | DOMAIN-SUFFIX,ultraiso.net 231 | DOMAIN-SUFFIX,vegaschina.cn 232 | DOMAIN-SUFFIX,xitongqingli.com 233 | DOMAIN-SUFFIX,xmindchina.net 234 | DOMAIN-SUFFIX,xshellcn.com 235 | DOMAIN-SUFFIX,yihuifu.cn 236 | DOMAIN-SUFFIX,yuanchengxiezuo.com 237 | DOMAIN-SUFFIX,zbrushcn.com 238 | DOMAIN-SUFFIX,zhzzx.com -------------------------------------------------------------------------------- /Surge/Ruleset/Guard/Privacy.list: -------------------------------------------------------------------------------- 1 | # Privacy 2 | DOMAIN-SUFFIX,adjust.com 3 | DOMAIN-SUFFIX,airpr.com 4 | DOMAIN-SUFFIX,cr-nielsen.com 5 | DOMAIN-SUFFIX,hotjar.com 6 | DOMAIN-SUFFIX,hotjar.io 7 | DOMAIN-SUFFIX,hs-analytics.net 8 | DOMAIN-SUFFIX,kissmetrics.com 9 | DOMAIN-SUFFIX,kochava.com 10 | DOMAIN-SUFFIX,liadm.com 11 | DOMAIN-SUFFIX,marketo.com 12 | DOMAIN-SUFFIX,mobileapptracking.com 13 | DOMAIN-SUFFIX,nr-data.net 14 | DOMAIN-SUFFIX,pardot.com 15 | DOMAIN-SUFFIX,quantserve.com 16 | DOMAIN-SUFFIX,rtbasia.com 17 | DOMAIN-SUFFIX,scorecardresearch.com 18 | DOMAIN-SUFFIX,seewhy.com 19 | DOMAIN-SUFFIX,segment.com 20 | DOMAIN-SUFFIX,segment.io 21 | DOMAIN-SUFFIX,segmentify.com 22 | DOMAIN-SUFFIX,sentiance.com 23 | DOMAIN-SUFFIX,serverbid.com 24 | DOMAIN-SUFFIX,sessionm.com 25 | DOMAIN-SUFFIX,smartlook.com 26 | DOMAIN-SUFFIX,socdm.com 27 | DOMAIN-SUFFIX,socialannex.com 28 | DOMAIN-SUFFIX,socialbakers.com 29 | DOMAIN-SUFFIX,sociaplus.com 30 | DOMAIN-SUFFIX,stathat.com 31 | DOMAIN-SUFFIX,stats-locations.com 32 | DOMAIN-SUFFIX,tagcommander.com 33 | DOMAIN-SUFFIX,tailtarget.com 34 | DOMAIN-SUFFIX,tapad.com 35 | DOMAIN-SUFFIX,tapfiliate.com 36 | DOMAIN-SUFFIX,tapinfluence.com 37 | DOMAIN-SUFFIX,tapstream.com 38 | DOMAIN-SUFFIX,tend.io 39 | DOMAIN-SUFFIX,trackingio.com 40 | DOMAIN-SUFFIX,woopra.com 41 | DOMAIN-SUFFIX,wootric.com 42 | DOMAIN-SUFFIX,wowanalytics.co.uk 43 | DOMAIN-SUFFIX,zoomanalytics.co 44 | 45 | DOMAIN-SUFFIX,ads.linkedin.com 46 | DOMAIN,analytics.slashdotmedia.com 47 | DOMAIN,zgsdk.zhugeio.com 48 | 49 | # > 51.LA 50 | DOMAIN,js.users.51.la 51 | DOMAIN,mc.51.la 52 | DOMAIN,wc.51.la 53 | # > 58 54 | DOMAIN,track.58.com 55 | DOMAIN,tracklog.58.com 56 | # > Baidu 57 | DOMAIN,hm.baidu.com 58 | DOMAIN,hmma.baidu.com 59 | # > ByteDance 60 | DOMAIN,log.byteoversea.com 61 | DOMAIN,log.tiktokv.com 62 | DOMAIN,log-hl-ipv6.snssdk.com 63 | DOMAIN,log-lq.snssdk.com 64 | DOMAIN,log-va.tiktokv.com 65 | DOMAIN,xlog.snssdk.com 66 | # > Daum 67 | DOMAIN,track.tiara.daum.net 68 | DOMAIN,track.tiara.kakao.com 69 | # > Google 70 | DOMAIN-SUFFIX,googletagmanager.com 71 | DOMAIN-SUFFIX,google-analytics.com 72 | DOMAIN,safebrowsing.googleapis.com 73 | # > GozenData 74 | # https://www.v2ex.com/t/772523 75 | DOMAIN-SUFFIX,gozendata.com 76 | DOMAIN-SUFFIX,gzads.com 77 | DOMAIN-SUFFIX,gz-data.com 78 | # > GrowingIO 79 | DOMAIN-SUFFIX,giocdn.com 80 | DOMAIN-SUFFIX,growingio.com 81 | # > MI 82 | DOMAIN-SUFFIX,tracking.miui.com 83 | # DOMAIN,api.miwifi.com // 影响 ‎Mi Wi-Fi(id859962702),但建议注意 https://www.v2ex.com/t/746094 84 | DOMAIN,data.mistat.xiaomi.com 85 | DOMAIN,tracking.intl.miui.com 86 | # > TalkingData 87 | DOMAIN-SUFFIX,cpatrk.net 88 | DOMAIN-SUFFIX,talkingdata.com 89 | DOMAIN-SUFFIX,talkingdata.net 90 | DOMAIN-SUFFIX,udrig.com 91 | # > Tencent 92 | DOMAIN-SUFFIX,trace.qq.com 93 | DOMAIN,btrace.qq.com 94 | DOMAIN,btrace.video.qq.com 95 | DOMAIN,mtrace.qq.com 96 | DOMAIN,safebrowsing.urlsec.qq.com 97 | # > Tenjin 98 | DOMAIN,track.tenjin.com 99 | DOMAIN,track.tenjin.io -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Live/Twitch.list: -------------------------------------------------------------------------------- 1 | # > Twitch 2 | DOMAIN-SUFFIX,jtvnw.net 3 | DOMAIN-SUFFIX,ttvnw.net 4 | DOMAIN-SUFFIX,twitch.tv 5 | DOMAIN-SUFFIX,twitchcdn.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Music/Deezer.list: -------------------------------------------------------------------------------- 1 | # > Deezer 2 | USER-AGENT,Deezer* 3 | DOMAIN-SUFFIX,deezer.com 4 | DOMAIN-SUFFIX,dzcdn.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Music/Instagram.list: -------------------------------------------------------------------------------- 1 | # > Instagram Music 2 | DOMAIN-SUFFIX,cdninstagram.com 3 | DOMAIN-SUFFIX,instagram.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Music/JOOX.list: -------------------------------------------------------------------------------- 1 | # > JOOX 2 | USER-AGENT,JOOX* 3 | USER-AGENT,WeMusic* 4 | DOMAIN-SUFFIX,joox.com 5 | DOMAIN-KEYWORD,jooxweb-api -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Music/KKBOX.list: -------------------------------------------------------------------------------- 1 | # > KKBOX 2 | DOMAIN-SUFFIX,kkbox.com 3 | DOMAIN-SUFFIX,kkbox.com.tw 4 | DOMAIN-SUFFIX,kfs.io -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Music/Pandora.list: -------------------------------------------------------------------------------- 1 | # > Pandora 2 | USER-AGENT,Pandora* 3 | DOMAIN-SUFFIX,pandora.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Music/SoundCloud.list: -------------------------------------------------------------------------------- 1 | # > SoundCloud 2 | USER-AGENT,SoundCloud* 3 | DOMAIN-SUFFIX,p-cdn.us 4 | DOMAIN-SUFFIX,sndcdn.com 5 | DOMAIN-SUFFIX,soundcloud.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Music/Spotify.list: -------------------------------------------------------------------------------- 1 | # > Spotify 2 | USER-AGENT,Spotify* 3 | DOMAIN-SUFFIX,pscdn.co 4 | DOMAIN-SUFFIX,scdn.co 5 | DOMAIN-SUFFIX,spotify.com 6 | DOMAIN-SUFFIX,spoti.fi 7 | DOMAIN-KEYWORD,spotify.com 8 | DOMAIN-KEYWORD,-spotify-com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Music/TIDAL.list: -------------------------------------------------------------------------------- 1 | # > TIDAL 2 | USER-AGENT,TIDAL* 3 | DOMAIN-SUFFIX,tidal.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Music/YouTube-Music.list: -------------------------------------------------------------------------------- 1 | # > YouTubeMusic 2 | # ⚠️ 注意,需要放置在 YouTube.list 之前 3 | USER-AGENT,com.google.ios.youtubemusic* 4 | USER-AGENT,YouTubeMusic* -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Podcast/Himalaya.list: -------------------------------------------------------------------------------- 1 | # > Himalaya 2 | USER-AGENT,Himalaya* 3 | DOMAIN-SUFFIX,himalaya.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Region/HK.list: -------------------------------------------------------------------------------- 1 | # > myTV SUPER 2 | USER-AGENT,mytv* 3 | DOMAIN-SUFFIX,mytvsuper.com 4 | DOMAIN-SUFFIX,tvb.com 5 | 6 | # > Now E 7 | DOMAIN-SUFFIX,nowe.com 8 | DOMAIN-SUFFIX,nowestatic.com 9 | 10 | # > ViuTV 11 | USER-AGENT,Viu* 12 | DOMAIN-SUFFIX,viu.com 13 | DOMAIN-SUFFIX,viu.tv 14 | DOMAIN,api.viu.now.com 15 | DOMAIN,d1k2us671qcoau.cloudfront.net 16 | DOMAIN,d2anahhhmp1ffz.cloudfront.net 17 | DOMAIN,dfp6rglgjqszk.cloudfront.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Region/JP.list: -------------------------------------------------------------------------------- 1 | # > AbemaTV 2 | USER-AGENT,AbemaTV* 3 | DOMAIN-SUFFIX,abema.io 4 | DOMAIN-SUFFIX,abema.tv 5 | DOMAIN-SUFFIX,ameba.jp 6 | DOMAIN-SUFFIX,hayabusa.io 7 | DOMAIN-KEYWORD,abematv.akamaized.net 8 | 9 | # > DMM 10 | DOMAIN-SUFFIX,dmm.co.jp 11 | DOMAIN-SUFFIX,dmm.com 12 | DOMAIN-SUFFIX,dmm-extension.com 13 | 14 | # > Hulu / フールー 15 | DOMAIN-SUFFIX,happyon.jp 16 | DOMAIN-SUFFIX,hjholdings.jp 17 | DOMAIN-SUFFIX,hulu.jp 18 | 19 | # > niconico 20 | USER-AGENT,Niconico* 21 | DOMAIN-SUFFIX,dmc.nico 22 | DOMAIN-SUFFIX,nicovideo.jp 23 | DOMAIN-SUFFIX,nimg.jp 24 | 25 | # > TVer 26 | USER-AGENT,TVer-Release* 27 | DOMAIN-SUFFIX,tver.jp 28 | DOMAIN,edge.api.brightcove.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Region/KR.list: -------------------------------------------------------------------------------- 1 | # > Naver TV 2 | USER-AGENT,Naver%20TV* 3 | DOMAIN-SUFFIX,naver.com 4 | DOMAIN-SUFFIX,smartmediarep.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Region/README.md: -------------------------------------------------------------------------------- 1 | ## 说明 2 | 3 | 可以使用本目录下的流媒体分流文件按区域分流。 4 | 5 | 但需要注意的是,如 YouTube、Netflix、Amazon Prime Video 这类覆盖地区广泛或没有进行区域限制的流媒体服务并不在其中。 -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Region/TW.list: -------------------------------------------------------------------------------- 1 | # > Bahamut 2 | USER-AGENT,Anime* 3 | DOMAIN-SUFFIX,bahamut.com.tw 4 | DOMAIN-SUFFIX,gamer.com.tw 5 | DOMAIN,gamer-cds.cdn.hinet.net 6 | DOMAIN,gamer2-cds.cdn.hinet.net 7 | 8 | # > KKTV 9 | USER-AGENT,KKTV* 10 | USER-AGENT,com.kktv.ios.kktv* 11 | DOMAIN-SUFFIX,kktv.com.tw 12 | DOMAIN-SUFFIX,kktv.me 13 | DOMAIN,kktv-theater.kk.stream 14 | 15 | # > LINE TV 16 | USER-AGENT,LINE%20TV* 17 | DOMAIN-SUFFIX,linetv.tw 18 | DOMAIN,d3c7rimkq79yfu.cloudfront.net 19 | 20 | # > LiTV 21 | DOMAIN-SUFFIX,litv.tv 22 | DOMAIN,litvfreemobile-hichannel.cdn.hinet.net 23 | 24 | # > 台湾好 25 | USER-AGENT,TaiwanGood* 26 | DOMAIN-SUFFIX,skyking.com.tw 27 | DOMAIN,hamifans.emome.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Region/UK.list: -------------------------------------------------------------------------------- 1 | # > All 4 2 | USER-AGENT,All4* 3 | DOMAIN-SUFFIX,c4assets.com 4 | DOMAIN-SUFFIX,channel4.com 5 | 6 | # > BBC iPlayer 7 | USER-AGENT,BBCiPlayer* 8 | DOMAIN-SUFFIX,bbc.co.uk 9 | DOMAIN-SUFFIX,bbci.co.uk 10 | DOMAIN-KEYWORD,bbcfmt 11 | DOMAIN-KEYWORD,uk-live 12 | 13 | # > ITV 14 | USER-AGENT,ITV_Player* 15 | DOMAIN-SUFFIX,itv.com 16 | DOMAIN-SUFFIX,itvstatic.com 17 | DOMAIN,itvpnpmobile-a.akamaihd.net 18 | 19 | # > My5 20 | USER-AGENT,My5* 21 | DOMAIN-SUFFIX,channel5.com 22 | DOMAIN-SUFFIX,my5.tv 23 | DOMAIN,d349g9zuie06uo.cloudfront.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Region/US.list: -------------------------------------------------------------------------------- 1 | # > Disney+ 2 | USER-AGENT,Disney+* 3 | DOMAIN-SUFFIX,bamgrid.com 4 | DOMAIN-SUFFIX,disneyplus.com 5 | DOMAIN-SUFFIX,disney-plus.net 6 | DOMAIN-SUFFIX,disneystreaming.com 7 | DOMAIN-SUFFIX,dssott.com 8 | DOMAIN,cdn.registerdisney.go.com 9 | 10 | # > encoreTVB 11 | USER-AGENT,encoreTVB* 12 | DOMAIN-SUFFIX,encoretvb.com 13 | DOMAIN,edge.api.brightcove.com 14 | DOMAIN,bcbolt446c5271-a.akamaihd.net 15 | 16 | # > HBO NOW & Max 17 | USER-AGENT,HBO%20NOW* 18 | DOMAIN-SUFFIX,hbo.com 19 | DOMAIN-SUFFIX,hbogo.com 20 | DOMAIN-SUFFIX,hbonow.com 21 | USER-AGENT,HBOMAX* 22 | DOMAIN-SUFFIX,hbomax.com 23 | DOMAIN-SUFFIX,hbomaxcdn.com 24 | 25 | # > Hulu 26 | DOMAIN-SUFFIX,hulu.com 27 | DOMAIN-SUFFIX,huluim.com 28 | DOMAIN-SUFFIX,hulustream.com 29 | 30 | # > Paramount+ 31 | USER-AGENT,PPlus* 32 | DOMAIN-SUFFIX,cbsi.com 33 | DOMAIN-SUFFIX,cbsaavideo.com 34 | DOMAIN-SUFFIX,cbsivideo.com 35 | DOMAIN-SUFFIX,paramountplus.com 36 | DOMAIN-SUFFIX,pplusstatic.com 37 | DOMAIN,cbsi.live.ott.irdeto.com 38 | DOMAIN,cbsplaylistserver.aws.syncbak.com 39 | DOMAIN,cbsservice.aws.syncbak.com 40 | DOMAIN,link.theplatform.com 41 | 42 | # > PBS 43 | USER-AGENT,PBS* 44 | DOMAIN-SUFFIX,pbs.org -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/StreamingCN.list: -------------------------------------------------------------------------------- 1 | # (Video) 2 | # > Acfun 3 | DOMAIN-SUFFIX,acfun.cn 4 | DOMAIN-SUFFIX,aixifan.com 5 | # > bilibili 6 | DOMAIN-SUFFIX,biliapi.net 7 | DOMAIN-SUFFIX,bilibili.com 8 | DOMAIN-SUFFIX,bilivideo.com 9 | DOMAIN-SUFFIX,hdslb.com 10 | # > Tencent Video 11 | DOMAIN-SUFFIX,video.qq.com 12 | DOMAIN-SUFFIX,i.qq.com 13 | DOMAIN-SUFFIX,v.qq.com 14 | # > iQiyi 15 | DOMAIN-SUFFIX,iqiyi.com 16 | DOMAIN-SUFFIX,71edge.com 17 | # > Youku 18 | DOMAIN-SUFFIX,soku.com 19 | DOMAIN-SUFFIX,youku.com 20 | DOMAIN-SUFFIX,ykimg.com 21 | # > XiGua 22 | DOMAIN-SUFFIX,ixigua.com 23 | DOMAIN-SUFFIX,snssdk.com 24 | # > HunanTV 25 | DOMAIN-SUFFIX,hitv.com 26 | DOMAIN-SUFFIX,hunantv.com 27 | DOMAIN-SUFFIX,mgtv.com 28 | # > Le 29 | DOMAIN-SUFFIX,le.com 30 | # > PPLive 31 | DOMAIN-SUFFIX,pplive.cn 32 | DOMAIN-SUFFIX,pptv.com 33 | # > Sohu Video 34 | DOMAIN-SUFFIX,itc.cn 35 | DOMAIN-SUFFIX,sohu.com 36 | # > Migu Video 37 | DOMAIN-SUFFIX,cmvideo.cn 38 | DOMAIN-SUFFIX,miguvideo.com 39 | 40 | # (Music) 41 | # > QQ Music 42 | DOMAIN-SUFFIX,music.qq.com 43 | DOMAIN-SUFFIX,music.tc.qq.com 44 | DOMAIN-SUFFIX,qqmusic.qq.com 45 | DOMAIN-SUFFIX,tencentmusic.com 46 | DOMAIN-SUFFIX,y.qq.com 47 | DOMAIN,aqqmusic.tc.qq.com 48 | DOMAIN,moo.qq.com 49 | # > China Music Corp 50 | DOMAIN-SUFFIX,kuwo.cn 51 | DOMAIN-SUFFIX,kugou.com 52 | # > Netease Cloud Music 53 | DOMAIN-SUFFIX,music.163.com 54 | DOMAIN-SUFFIX,music.126.net 55 | DOMAIN,mam.netease.com 56 | DOMAIN,api.iplay.163.com 57 | # > Qianqian Music 58 | DOMAIN-SUFFIX,qianqian.com 59 | DOMAIN-SUFFIX,taihe.com 60 | # > Migu Music 61 | DOMAIN-SUFFIX,migu.cn 62 | # > Xiaomi 63 | DOMAIN-SUFFIX,ai.xiaomi.com 64 | DOMAIN-SUFFIX,music.xiaomi.com 65 | DOMAIN-SUFFIX,dmhmusic.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/StreamingSE.list: -------------------------------------------------------------------------------- 1 | # > bilibili 2 | DOMAIN-SUFFIX,biliapi.net 3 | DOMAIN-SUFFIX,bilibili.com 4 | DOMAIN,upos-hz-mirrorakam.akamaized.net 5 | DOMAIN-KEYWORD,cn-hk-eq-bcache- 6 | # > 愛奇藝台灣站 & iQIYI 7 | DOMAIN-SUFFIX,iq.com 8 | DOMAIN,cache.video.iqiyi.com 9 | DOMAIN,cache-video.iq.com 10 | DOMAIN,intl.iqiyi.com 11 | DOMAIN,intl-rcd.iqiyi.com 12 | DOMAIN,intl-subscription.iqiyi.com 13 | # (流媒体内容,非必须,省流量可注释) 14 | DOMAIN-KEYWORD,oversea-tw.inter.iqiyi.com 15 | DOMAIN-KEYWORD,oversea-tw.inter.ptqy.gitv.tv 16 | IP-CIDR,103.44.56.0/22,no-resolve 17 | IP-CIDR,118.26.32.0/23,no-resolve 18 | IP-CIDR,118.26.120.0/24,no-resolve 19 | IP-CIDR,223.119.62.225/28,no-resolve 20 | IP-CIDR,23.40.242.10/32,no-resolve 21 | IP-CIDR,23.40.241.251/32,no-resolve 22 | # > 芒果TV国际 23 | DOMAIN-SUFFIX,api.mgtv.com 24 | # > WeTV 25 | DOMAIN-SUFFIX,wetv.vip 26 | DOMAIN-SUFFIX,wetvinfo.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/AbemaTV.list: -------------------------------------------------------------------------------- 1 | # > AbemaTV 2 | USER-AGENT,AbemaTV* 3 | DOMAIN-SUFFIX,abema.io 4 | DOMAIN-SUFFIX,abema.tv 5 | DOMAIN-SUFFIX,ameba.jp 6 | DOMAIN-SUFFIX,hayabusa.io 7 | DOMAIN-KEYWORD,abematv.akamaized.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/All-4.list: -------------------------------------------------------------------------------- 1 | # > All 4 2 | USER-AGENT,All4* 3 | DOMAIN-SUFFIX,c4assets.com 4 | DOMAIN-SUFFIX,channel4.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/BBC-iPlayer.list: -------------------------------------------------------------------------------- 1 | # > BBC iPlayer 2 | USER-AGENT,BBCiPlayer* 3 | DOMAIN-SUFFIX,bbc.co.uk 4 | DOMAIN-SUFFIX,bbci.co.uk 5 | DOMAIN-KEYWORD,bbcfmt 6 | DOMAIN-KEYWORD,uk-live -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/Bahamut.list: -------------------------------------------------------------------------------- 1 | # > Bahamut 2 | USER-AGENT,Anime* 3 | DOMAIN-SUFFIX,bahamut.com.tw 4 | DOMAIN-SUFFIX,gamer.com.tw 5 | DOMAIN,gamer-cds.cdn.hinet.net 6 | DOMAIN,gamer2-cds.cdn.hinet.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/DAZN.list: -------------------------------------------------------------------------------- 1 | # > DAZN 2 | USER-AGENT,DAZN* 3 | DOMAIN-SUFFIX,dazn.com 4 | DOMAIN-SUFFIX,dazn-api.com 5 | DOMAIN-SUFFIX,dazndn.com 6 | DOMAIN-SUFFIX,indazn.com 7 | DOMAIN,d151l6v8er5bdm.cloudfront.net 8 | DOMAIN-KEYWORD,voddazn -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/DMM.list: -------------------------------------------------------------------------------- 1 | # > DMM 2 | DOMAIN-SUFFIX,dmm.co.jp 3 | DOMAIN-SUFFIX,dmm.com 4 | DOMAIN-SUFFIX,dmm-extension.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/DisneyPlus.list: -------------------------------------------------------------------------------- 1 | # > Disney+ 2 | USER-AGENT,Disney+* 3 | DOMAIN-SUFFIX,bamgrid.com 4 | DOMAIN-SUFFIX,disneyplus.com 5 | DOMAIN-SUFFIX,disney-plus.net 6 | DOMAIN-SUFFIX,disneystreaming.com 7 | DOMAIN-SUFFIX,dssott.com 8 | DOMAIN,cdn.registerdisney.go.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/HBO-Asia.list: -------------------------------------------------------------------------------- 1 | # > HBO Asia 2 | USER-AGENT,HBO%20GO%20PROD* 3 | DOMAIN-SUFFIX,hbogoasia.com 4 | DOMAIN-SUFFIX,hbogoasia.hk 5 | DOMAIN-KEYWORD,.hbogoasia. 6 | DOMAIN,44wilhpljf.execute-api.ap-southeast-1.amazonaws.com 7 | DOMAIN,bcbolthboa-a.akamaihd.net 8 | DOMAIN,cf-images.ap-southeast-1.prod.boltdns.net 9 | DOMAIN,dai3fd1oh325y.cloudfront.net 10 | DOMAIN,hboasia1-i.akamaihd.net 11 | DOMAIN,hboasia2-i.akamaihd.net 12 | DOMAIN,hboasia3-i.akamaihd.net 13 | DOMAIN,hboasia4-i.akamaihd.net 14 | DOMAIN,hboasia5-i.akamaihd.net 15 | DOMAIN,hboasialive.akamaized.net 16 | DOMAIN,hbogoprod-vod.akamaized.net 17 | DOMAIN,hbolb.onwardsmg.com 18 | DOMAIN,hbounify-prod.evergent.com 19 | DOMAIN,players.brightcove.net 20 | DOMAIN,s3-ap-southeast-1.amazonaws.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/HBO.list: -------------------------------------------------------------------------------- 1 | # > HBO NOW & Max 2 | USER-AGENT,HBO%20NOW* 3 | DOMAIN-SUFFIX,hbo.com 4 | DOMAIN-SUFFIX,hbogo.com 5 | DOMAIN-SUFFIX,hbonow.com 6 | USER-AGENT,HBOMAX* 7 | DOMAIN-SUFFIX,hbomax.com 8 | DOMAIN-SUFFIX,hbomaxcdn.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/HWTV.list: -------------------------------------------------------------------------------- 1 | # > 华文电视 2 | USER-AGENT,HWTVMobile* 3 | DOMAIN-SUFFIX,5itv.tv 4 | DOMAIN-SUFFIX,ocnttv.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/Hulu-JPN.list: -------------------------------------------------------------------------------- 1 | # > Hulu / フールー 2 | DOMAIN-SUFFIX,happyon.jp 3 | DOMAIN-SUFFIX,hjholdings.jp 4 | DOMAIN-SUFFIX,hulu.jp -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/Hulu.list: -------------------------------------------------------------------------------- 1 | # > Hulu 2 | DOMAIN-SUFFIX,hulu.com 3 | DOMAIN-SUFFIX,huluim.com 4 | DOMAIN-SUFFIX,hulustream.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/ITV.list: -------------------------------------------------------------------------------- 1 | # > ITV 2 | USER-AGENT,ITV_Player* 3 | DOMAIN-SUFFIX,itv.com 4 | DOMAIN-SUFFIX,itvstatic.com 5 | DOMAIN,itvpnpmobile-a.akamaihd.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/KKTV.list: -------------------------------------------------------------------------------- 1 | # > KKTV 2 | USER-AGENT,KKTV* 3 | USER-AGENT,com.kktv.ios.kktv* 4 | DOMAIN-SUFFIX,kktv.com.tw 5 | DOMAIN-SUFFIX,kktv.me 6 | DOMAIN,kktv-theater.kk.stream -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/LINE-TV.list: -------------------------------------------------------------------------------- 1 | # > LINE TV 2 | USER-AGENT,LINE%20TV* 3 | DOMAIN-SUFFIX,linetv.tw 4 | DOMAIN,d3c7rimkq79yfu.cloudfront.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/LiTV.list: -------------------------------------------------------------------------------- 1 | # > LiTV 2 | DOMAIN-SUFFIX,litv.tv 3 | DOMAIN,litvfreemobile-hichannel.cdn.hinet.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/My5.list: -------------------------------------------------------------------------------- 1 | # > My5 2 | USER-AGENT,My5* 3 | DOMAIN-SUFFIX,channel5.com 4 | DOMAIN-SUFFIX,my5.tv 5 | DOMAIN,d349g9zuie06uo.cloudfront.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/Naver-TV.list: -------------------------------------------------------------------------------- 1 | # > Naver TV 2 | USER-AGENT,Naver%20TV* 3 | DOMAIN-SUFFIX,naver.com 4 | DOMAIN-SUFFIX,smartmediarep.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/Netflix.list: -------------------------------------------------------------------------------- 1 | # > Netflix 2 | USER-AGENT,Argo* 3 | DOMAIN-SUFFIX,netflix.com 4 | DOMAIN-SUFFIX,netflix.net 5 | DOMAIN-SUFFIX,nflxext.com 6 | DOMAIN-SUFFIX,nflximg.com 7 | DOMAIN-SUFFIX,nflximg.net 8 | DOMAIN-SUFFIX,nflxso.net 9 | DOMAIN-SUFFIX,nflxvideo.net 10 | DOMAIN-SUFFIX,netflixdnstest0.com 11 | DOMAIN-SUFFIX,netflixdnstest1.com 12 | DOMAIN-SUFFIX,netflixdnstest2.com 13 | DOMAIN-SUFFIX,netflixdnstest3.com 14 | DOMAIN-SUFFIX,netflixdnstest4.com 15 | DOMAIN-SUFFIX,netflixdnstest5.com 16 | DOMAIN-SUFFIX,netflixdnstest6.com 17 | DOMAIN-SUFFIX,netflixdnstest7.com 18 | DOMAIN-SUFFIX,netflixdnstest8.com 19 | DOMAIN-SUFFIX,netflixdnstest9.com 20 | DOMAIN-KEYWORD,dualstack.apiproxy- 21 | DOMAIN-KEYWORD,dualstack.ichnaea-web- 22 | IP-CIDR,23.246.0.0/18,no-resolve 23 | IP-CIDR,37.77.184.0/21,no-resolve 24 | IP-CIDR,45.57.0.0/17,no-resolve 25 | IP-CIDR,64.120.128.0/17,no-resolve 26 | IP-CIDR,66.197.128.0/17,no-resolve 27 | IP-CIDR,108.175.32.0/20,no-resolve 28 | IP-CIDR,192.173.64.0/18,no-resolve 29 | IP-CIDR,198.38.96.0/19,no-resolve 30 | IP-CIDR,198.45.48.0/20,no-resolve 31 | IP-CIDR,34.210.42.111/32,no-resolve 32 | IP-CIDR,52.89.124.203/32,no-resolve 33 | IP-CIDR,54.148.37.5/32,no-resolve -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/Now-E.list: -------------------------------------------------------------------------------- 1 | # > Now E 2 | DOMAIN-SUFFIX,nowe.com 3 | DOMAIN-SUFFIX,nowestatic.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/PBS.list: -------------------------------------------------------------------------------- 1 | # > PBS 2 | USER-AGENT,PBS* 3 | DOMAIN-SUFFIX,pbs.org -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/ParamountPlus.list: -------------------------------------------------------------------------------- 1 | # > Paramount+ 2 | USER-AGENT,PPlus* 3 | DOMAIN-SUFFIX,cbsi.com 4 | DOMAIN-SUFFIX,cbsaavideo.com 5 | DOMAIN-SUFFIX,cbsivideo.com 6 | DOMAIN-SUFFIX,paramountplus.com 7 | DOMAIN-SUFFIX,pplusstatic.com 8 | DOMAIN,cbsi.live.ott.irdeto.com 9 | DOMAIN,cbsplaylistserver.aws.syncbak.com 10 | DOMAIN,cbsservice.aws.syncbak.com 11 | DOMAIN,link.theplatform.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/Pornhub.list: -------------------------------------------------------------------------------- 1 | # > Pornhub 2 | DOMAIN-SUFFIX,phncdn.com 3 | DOMAIN-SUFFIX,phprcdn.com 4 | DOMAIN-SUFFIX,pornhub.com 5 | DOMAIN-SUFFIX,pornhubpremium.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/Prime-Video.list: -------------------------------------------------------------------------------- 1 | # > Amazon Prime Video 2 | USER-AGENT,InstantVideo.US* 3 | USER-AGENT,Prime%20Video* 4 | DOMAIN-SUFFIX,aiv-cdn.net 5 | DOMAIN-SUFFIX,aiv-delivery.net 6 | DOMAIN-SUFFIX,amazonvideo.com 7 | DOMAIN-SUFFIX,primevideo.com 8 | DOMAIN-SUFFIX,media-amazon.com 9 | DOMAIN,atv-ps.amazon.com 10 | DOMAIN,fls-na.amazon.com 11 | DOMAIN,avodmp4s3ww-a.akamaihd.net 12 | DOMAIN,d25xi40x97liuc.cloudfront.net 13 | DOMAIN,dmqdd6hw24ucf.cloudfront.net 14 | DOMAIN,dmqdd6hw24ucf.cloudfront.net 15 | DOMAIN,d22qjgkvxw22r6.cloudfront.net 16 | DOMAIN,d1v5ir2lpwr8os.cloudfront.net 17 | DOMAIN,d27xxe7juh1us6.cloudfront.net 18 | DOMAIN-KEYWORD,avoddashs -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/TVer.list: -------------------------------------------------------------------------------- 1 | # > TVer 2 | USER-AGENT,TVer-Release* 3 | DOMAIN-SUFFIX,tver.jp 4 | DOMAIN,edge.api.brightcove.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/TaiwanGood.list: -------------------------------------------------------------------------------- 1 | # > 台湾好 2 | USER-AGENT,TaiwanGood* 3 | DOMAIN-SUFFIX,skyking.com.tw 4 | DOMAIN,hamifans.emome.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/TikTok.list: -------------------------------------------------------------------------------- 1 | # > TikTok 2 | USER-AGENT,TikTok* 3 | DOMAIN-SUFFIX,byteoversea.com 4 | DOMAIN-SUFFIX,ibytedtos.com 5 | DOMAIN-SUFFIX,ipstatp.com 6 | DOMAIN-SUFFIX,muscdn.com 7 | DOMAIN-SUFFIX,musical.ly 8 | DOMAIN-SUFFIX,tiktok.com 9 | DOMAIN-SUFFIX,tik-tokapi.com 10 | DOMAIN-SUFFIX,tiktokcdn.com 11 | DOMAIN-SUFFIX,tiktokv.com 12 | DOMAIN-KEYWORD,-tiktokcdn-com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/ViuTV.list: -------------------------------------------------------------------------------- 1 | # > ViuTV 2 | USER-AGENT,Viu* 3 | DOMAIN-SUFFIX,viu.com 4 | DOMAIN-SUFFIX,viu.tv 5 | DOMAIN,api.viu.now.com 6 | DOMAIN,d1k2us671qcoau.cloudfront.net 7 | DOMAIN,d2anahhhmp1ffz.cloudfront.net 8 | DOMAIN,dfp6rglgjqszk.cloudfront.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/YouTube.list: -------------------------------------------------------------------------------- 1 | # > YouTube 2 | USER-AGENT,com.google.ios.youtube* 3 | USER-AGENT,YouTube* 4 | DOMAIN-SUFFIX,googlevideo.com 5 | DOMAIN-SUFFIX,youtube.com 6 | DOMAIN-SUFFIX,ytimg.com 7 | DOMAIN,youtubei.googleapis.com 8 | DOMAIN,yt3.ggpht.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/bilibili-Intl.list: -------------------------------------------------------------------------------- 1 | # > bilibili Intl 2 | DOMAIN-SUFFIX,app.biliintl.com 3 | DOMAIN,upos-bstar-mirrorakam.akamaized.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/encoreTVB.list: -------------------------------------------------------------------------------- 1 | # > encoreTVB 2 | USER-AGENT,encoreTVB* 3 | DOMAIN-SUFFIX,encoretvb.com 4 | DOMAIN,edge.api.brightcove.com 5 | DOMAIN,bcbolt446c5271-a.akamaihd.net -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/myTV-SUPER.list: -------------------------------------------------------------------------------- 1 | # > myTV SUPER 2 | USER-AGENT,mytv* 3 | DOMAIN-SUFFIX,mytvsuper.com 4 | DOMAIN-SUFFIX,tvb.com -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/niconico.list: -------------------------------------------------------------------------------- 1 | # > niconico 2 | USER-AGENT,Niconico* 3 | DOMAIN-SUFFIX,dmc.nico 4 | DOMAIN-SUFFIX,nicovideo.jp 5 | DOMAIN-SUFFIX,nimg.jp -------------------------------------------------------------------------------- /Surge/Ruleset/StreamingMedia/Video/‎DiscoveryPlus.list: -------------------------------------------------------------------------------- 1 | # > discovery+ 2 | USER-AGENT,DPlus* 3 | USER-AGENT,discovery+* 4 | DOMAIN-SUFFIX,disco-api.com 5 | DOMAIN-SUFFIX,discoveryplus.co.uk 6 | DOMAIN-SUFFIX,discoveryplus.com 7 | DOMAIN-SUFFIX,discoveryplus.in 8 | DOMAIN-SUFFIX,dnitv.com -------------------------------------------------------------------------------- /Surge/Ruleset/Unbreak.list: -------------------------------------------------------------------------------- 1 | # Unbreak 2 | # > General 3 | USER-AGENT,archero* 4 | USER-AGENT,coffeecorp* 5 | USER-AGENT,Coffee%20Corp* 6 | USER-AGENT,restaurant-mobile* 7 | DOMAIN,app.adjust.com 8 | DOMAIN,bdtj.tagtic.cn 9 | # > Alibaba 10 | DOMAIN,log.mmstat.com 11 | DOMAIN,sycm.mmstat.com 12 | # > Google 13 | DOMAIN-SUFFIX,blog.google // Google Blog 14 | DOMAIN-SUFFIX,googletraveladservices.com // Google Flights 15 | DOMAIN,clientservices.googleapis.com 16 | DOMAIN,dl.google.com 17 | DOMAIN,dl.l.google.com 18 | DOMAIN,update.googleapis.com 19 | DOMAIN,translate.googleapis.com 20 | # >> Google Fonts API 21 | DOMAIN,fonts.googleapis.com 22 | DOMAIN,fonts.gstatic.com 23 | # >> Firebase Cloud Messaging 24 | DOMAIN,mtalk.google.com 25 | DOMAIN,alt1-mtalk.google.com 26 | DOMAIN,alt2-mtalk.google.com 27 | DOMAIN,alt3-mtalk.google.com 28 | DOMAIN,alt4-mtalk.google.com 29 | DOMAIN,alt5-mtalk.google.com 30 | DOMAIN,alt6-mtalk.google.com 31 | DOMAIN,alt7-mtalk.google.com 32 | DOMAIN,alt8-mtalk.google.com 33 | # >> Paramount+ 34 | # AND,((OR,((USER-AGENT,mediaserverd*), (USER-AGENT,com.apple.WebKit.Networking*))), (DOMAIN,pubads.g.doubleclick.net)) 35 | DOMAIN,pubads.g.doubleclick.net 36 | # > Tencent 37 | DOMAIN,fairplay.l.qq.com 38 | DOMAIN,livew.l.qq.com 39 | DOMAIN,vd.l.qq.com 40 | # > Strava 41 | DOMAIN,analytics.strava.com 42 | # > Umeng 43 | DOMAIN,msg.umeng.com 44 | DOMAIN,msg.umengcloud.com -------------------------------------------------------------------------------- /Surge/Shortcuts/hostname.txt: -------------------------------------------------------------------------------- 1 | api.21jingji.com,service.4gtv.tv,app.58.com,pic?.ajkimg.com,gw.alicdn.com,heic.alicdn.com,acs.m.taobao.com,m*.amap.com,api-new.app.acfun.cn,api.bjxkhc.com,issuecdn.baidupcs.com,pan.baidu.com,newclient.map.baidu.com,mime.baidu.com,act.vip.iqiyi.com,intl.iqiyi.com,app.bilibili.com,manga.bilibili.com,channel.beitaichufang.com,iapi.bishijie.com,app.api.ke.com,www.bodivis.com.cn,yxyapi*.drcuiyutao.com,clientaccess.10086.cn,m.client.10010.com,cloud.189.cn,api.chelaile.net.cn,web.chelaile.net.cn,cap.caocaokeji.cn,api.caijingmobile.com,gw.csdn.net,m.ctrip.com,app.poizon.com,api.douban.com,rtbapi.douyucdn.cn,e.dangdang.com,daoyu.sdo.com,*.daydaycook.com,maicai.api.ddxq.mobi,mobile-api2011.elong.com,123.59.31.1,119.18.193.135,i.ys7.com,www.flyertea.com,dsa-mfp.fengshows.cn,api.feng.com,*-release.wuta-cam.com,www.youtube.com,s.youtube.com,gateway.shouqiev.com,dl.app.gtja.com,smkmp.96225.com,api.huomao.com,business.msstatic.com,imeclient.openspeech.cn,api.intsig.net,ih2.ireader.com,nnapp.cloudbae.cn,ib-soft.net,www.inoreader.com,list-app-m.i4.cn,icc.one,jxd524.github.io,api.m.jd.com,ms.jr.jd.com,img*.360buyimg.com,api.jxedt.com,*.kakamobi.cn,app-api.jinse.com,ios.wps.cn,*.kingsoft-office-service.com,api.gotokeep.com,api.kkmh.com,122.14.246.33,175.102.178.52,api.club.lenovo.cn,api.jr.mi.com,api-mifit*.huami.com,api.mgzf.com,cdn.moji.com,img.meituan.net,p*.meituan.net,s3plus.meituan.net,flowplus.meituan.net,capi.mwee.cn,mapi.mafengwo.cn,app.mixcapp.com,appconf.mail.163.com,c.m.163.com,client.mail.163.com,interface*.music.163.com,sp.kaola.com,support.you.163.com,p.du.163.com,app-api.niu.com,gfp.veta.naver.com,slapi.oray.net,pss.txffp.com,api.yangkeduo.com,api.pinduoduo.com,mrobot.pconline.com.cn,mrobot.pcauto.com.cn,open.qyer.com,media.qyer.com,api.qbb6.com,mage.if.qidian.com,msspjh.emarbox.com,api.rr.tv,app.relxtech.com,*.uve.weibo.com,weibointl.api.weibo.cn,tqt.weibo.cn,*.k.sohu.com,*.tv.sohu.com,ap*.smzdm.com,gw-passenger.01zhuanche.com,mpcs.suning.com,ccsp-egmas.sf-express.com,consumer.fcbox.com,g.cdn.pengpengla.com,snailsleep.net,api*.futunn.com,ssl.kohsocialapp.qq.com,4gimg.map.qq.com,r.inews.qq.com,news.ssp.qq.com,mp.weixin.qq.com,m.tuniu.com,mob.mddcloud.com,img*.10101111cdn.com,msg.umengcloud.com,api.vuevideo.net,app.variflight.com,api.cdmcaac.com,api.vistopia.com.cn,app.wy.guahao.com,thor.weidian.com,api.wallstcn.com,api.xiachufang.com,api.psy-1.com,portal-xunyou.qingcdn.com,api.xueqiu.com,promo.xueqiu.com,182.92.251.113,101.201.175.228,www.xiaohongshu.com,app.yinxiang.com,restapi.iyunmai.com,api.yizhibo.com,www.zhihu.com,api.zhihu.com,a.qiumibao.com,*.zhuishushenqi.com,www.zybang.com,api.izuiyou.com,tiku.zhan.com,webboot.zhangyue.com,saad.ms.zhangyue.net -------------------------------------------------------------------------------- /Surge/Sub_info.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Surge 网络信息面板 3 | * @author: Peng-YM 4 | */ 5 | const $ = API("NetInfoPanel", true); 6 | const $http = HTTP(); 7 | 8 | const { wifi, v4 } = $network; 9 | const v4IP = v4.primaryAddress; 10 | 11 | !(async () => { 12 | // No network connection 13 | if (!v4IP) { 14 | $.done({ 15 | title: "未连接网络", 16 | content: "请检查网络连接", 17 | icon: "airplane" 18 | }); 19 | return; 20 | } 21 | const ip = v4IP; 22 | const router = wifi.ssid ? v4.primaryRouter : undefined; 23 | 24 | const resp = await $http.get("https://api.my-ip.io/ip"); 25 | const externalIP = resp.body; 26 | 27 | const body = { 28 | title: wifi.ssid || "蜂窝数据", 29 | content: `IP:${ip} \n` 30 | + (wifi.ssid ? `路由器地址:${router}\n` : "") 31 | + `外部 IP:${externalIP}`, 32 | icon: wifi.ssid ? "wifi" : "antenna.radiowaves.left.and.right" 33 | }; 34 | $.done(body); 35 | })(); 36 | 37 | // OpenAPI 38 | // prettier-ignore 39 | function ENV() { const e = "undefined" != typeof $task, t = "undefined" != typeof $loon, s = "undefined" != typeof $httpClient && !t, n = "function" == typeof require && "undefined" != typeof $jsbox, i = "function" == typeof require && !n, o = "undefined" != typeof $request, r = "undefined" != typeof importModule; return { isQX: e, isLoon: t, isSurge: s, isNode: i, isJSBox: n, isRequest: o, isScriptable: r } } function HTTP(e = { baseURL: "" }) { function t(t, u) { u = "string" == typeof u ? { url: u } : u; const c = e.baseURL; c && !a.test(u.url || "") && (u.url = c ? c + u.url : u.url), u.body && u.headers && !u.headers["Content-Type"] && (u.headers["Content-Type"] = "application/x-www-form-urlencoded"), u = { ...e, ...u }; const h = u.timeout, l = { onRequest: () => { }, onResponse: e => e, onTimeout: () => { }, ...u.events }; let f, d; if (l.onRequest(t, u), s) f = $task.fetch({ method: t, ...u }); else if (n || i || r) f = new Promise((e, s) => { const n = r ? require("request") : $httpClient; n[t.toLowerCase()](u, (t, n, i) => { t ? s(t) : e({ statusCode: n.status || n.statusCode, headers: n.headers, body: i }) }) }); else if (o) { const e = new Request(u.url); e.method = t, e.headers = u.headers, e.body = u.body, f = new Promise((t, s) => { e.loadString().then(s => { t({ statusCode: e.response.statusCode, headers: e.response.headers, body: s }) }).catch(e => s(e)) }) } const p = h ? new Promise((e, s) => { d = setTimeout(() => (l.onTimeout(), s(`${t} URL: ${u.url} exceeds the timeout ${h} ms`)), h) }) : null; return (p ? Promise.race([p, f]).then(e => (clearTimeout(d), e)) : f).then(e => l.onResponse(e)) } const { isQX: s, isLoon: n, isSurge: i, isScriptable: o, isNode: r } = ENV(), u = ["GET", "POST", "PUT", "DELETE", "HEAD", "OPTIONS", "PATCH"], a = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/, c = {}; return u.forEach(e => c[e.toLowerCase()] = (s => t(e, s))), c } function API(e = "untitled", t = !1) { const { isQX: s, isLoon: n, isSurge: i, isNode: o, isJSBox: r, isScriptable: u } = ENV(); return new class { constructor(e, t) { this.name = e, this.debug = t, this.http = HTTP(), this.env = ENV(), this.node = (() => { if (o) { const e = require("fs"); return { fs: e } } return null })(), this.initCache(); const s = (e, t) => new Promise(function (s) { setTimeout(s.bind(null, t), e) }); Promise.prototype.delay = function (e) { return this.then(function (t) { return s(e, t) }) } } initCache() { if (s && (this.cache = JSON.parse($prefs.valueForKey(this.name) || "{}")), (n || i) && (this.cache = JSON.parse($persistentStore.read(this.name) || "{}")), o) { let e = "root.json"; this.node.fs.existsSync(e) || this.node.fs.writeFileSync(e, JSON.stringify({}), { flag: "wx" }, e => console.log(e)), this.root = {}, e = `${this.name}.json`, this.node.fs.existsSync(e) ? this.cache = JSON.parse(this.node.fs.readFileSync(`${this.name}.json`)) : (this.node.fs.writeFileSync(e, JSON.stringify({}), { flag: "wx" }, e => console.log(e)), this.cache = {}) } } persistCache() { const e = JSON.stringify(this.cache, null, 2); s && $prefs.setValueForKey(e, this.name), (n || i) && $persistentStore.write(e, this.name), o && (this.node.fs.writeFileSync(`${this.name}.json`, e, { flag: "w" }, e => console.log(e)), this.node.fs.writeFileSync("root.json", JSON.stringify(this.root, null, 2), { flag: "w" }, e => console.log(e))) } write(e, t) { if (this.log(`SET ${t}`), -1 !== t.indexOf("#")) { if (t = t.substr(1), i || n) return $persistentStore.write(e, t); if (s) return $prefs.setValueForKey(e, t); o && (this.root[t] = e) } else this.cache[t] = e; this.persistCache() } read(e) { return this.log(`READ ${e}`), -1 === e.indexOf("#") ? this.cache[e] : (e = e.substr(1), i || n ? $persistentStore.read(e) : s ? $prefs.valueForKey(e) : o ? this.root[e] : void 0) } delete(e) { if (this.log(`DELETE ${e}`), -1 !== e.indexOf("#")) { if (e = e.substr(1), i || n) return $persistentStore.write(null, e); if (s) return $prefs.removeValueForKey(e); o && delete this.root[e] } else delete this.cache[e]; this.persistCache() } notify(e, t = "", a = "", c = {}) { const h = c["open-url"], l = c["media-url"]; if (s && $notify(e, t, a, c), i && $notification.post(e, t, a + `${l ? "\n多媒体:" + l : ""}`, { url: h }), n) { let s = {}; h && (s.openUrl = h), l && (s.mediaUrl = l), "{}" === JSON.stringify(s) ? $notification.post(e, t, a) : $notification.post(e, t, a, s) } if (o || u) { const s = a + (h ? `\n点击跳转: ${h}` : "") + (l ? `\n多媒体: ${l}` : ""); if (r) { const n = require("push"); n.schedule({ title: e, body: (t ? t + "\n" : "") + s }) } else console.log(`${e}\n${t}\n${s}\n\n`) } } log(e) { this.debug && console.log(`[${this.name}] LOG: ${this.stringify(e)}`) } info(e) { console.log(`[${this.name}] INFO: ${this.stringify(e)}`) } error(e) { console.log(`[${this.name}] ERROR: ${this.stringify(e)}`) } wait(e) { return new Promise(t => setTimeout(t, e)) } done(e = {}) { s || n || i ? $done(e) : o && !r && "undefined" != typeof $context && ($context.headers = e.headers, $context.statusCode = e.statusCode, $context.body = e.body) } stringify(e) { if ("string" == typeof e || e instanceof String) return e; try { return JSON.stringify(e, null, 2) } catch (e) { return "[object Object]" } } }(e, t) } 40 | -------------------------------------------------------------------------------- /Surge/Surge.config: -------------------------------------------------------------------------------- 1 | #!MANAGED-CONFIG https:// 2 | [General] 3 | # > 日志级别 4 | loglevel = notify 5 | show-error-page-for-reject = true 6 | # > 增强版 Wi-Fi 助理 7 | allow-wifi-access = false 8 | # > All Hybrid 网络并发 9 | all-hybrid = false 10 | # > IPv6 支持(默认关闭) 11 | ipv6 = false 12 | # > 测试超时(秒) 13 | test-timeout = 5 14 | # > Internet 测试 URL 15 | internet-test-url = http://www.baidu.com 16 | # > 代理测速 URL 17 | proxy-test-url = http://1.1.1.1/generate_204 18 | # > GeoIP数据库 19 | geoip-maxmind-url = https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb 20 | # > 排除简单主机名 21 | exclude-simple-hostnames = true 22 | # > DNS 服务器 23 | dns-server = 223.5.5.5, 119.29.29.29 24 | hijack-dns = 8.8.8.8:53, 8.8.4.4:53 25 | # > 从 /etc/hosts 读取 DNS 记录 26 | read-etc-hosts = true 27 | # > 远程控制器 28 | http-api-web-dashboard = false 29 | use-default-policy-if-wifi-not-primary = false 30 | # > 跳过代理 31 | skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8, localhost, *.local, *.crashlytics.com 32 | # Surge VIF 33 | tun-excluded-routes = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 34 | tun-included-routes = 192.168.1.12/32 35 | # > Always Real IP Hosts 36 | always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com*.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.battlenet.com.cn, *.battlenet.com, *.blzstatic.cn, *.battle.net 37 | 38 | [Replica] 39 | # > 隐藏 Apple 请求 40 | hide-apple-request = false 41 | # > 隐藏崩溃追踪器请求 42 | hide-crash-reporter-request = true 43 | # > 隐藏 UDP 会话 44 | hide-udp = false 45 | # > 关键词过滤器 46 | keyword-filter-type = false 47 | 48 | [Proxy] 49 | 🌐 全球直连 = direct 50 | 51 | [Proxy Group] 52 | # > 策略组(下面的节点信息需与外部节点对应,若删除了外部节点里的节点,那么在策略组里也要删除。) 53 | ✈️ 节点选择 = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, 🚀 手动选择 54 | 📲 电报信息 = select, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 55 | 🎥 奈飞视频 = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 56 | 🎬 迪士尼+ = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 57 | 📹 油管视频 = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 58 | 📽 哔哩哔哩 = select, 🌐 全球直连, 🇭🇰 香港节点, 🇯🇵 日本节点 59 | 🍿 国外媒体 = select, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 60 | 🍔 国内媒体 = select, 🌐 全球直连, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 61 | 🍟 新浪微博 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 62 | Ⓜ️ 微软服务 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 63 | 🍎 苹果服务 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 64 | 🎮 游戏平台 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 65 | # > 外部节点 66 | 🇭🇰 香港节点 = fallback, policy-path=订阅地址, update-interval=0, policy-regex-filter=(🇭🇰)|(港)|(Hong)|(HK) 67 | 🇨🇳 台湾节点 = fallback, policy-path=订阅地址, update-interval=0, policy-regex-filter=(🇨🇳)|(台)|(Tai)|(TW) 68 | 🇺🇲 美国节点 = fallback, policy-path=订阅地址, update-interval=0, policy-regex-filter=(🇺🇸)|(美)|(States)|(US) 69 | 🇯🇵 日本节点 = fallback, policy-path=订阅地址, update-interval=0, policy-regex-filter=(🇯🇵)|(日)|(Japan)|(JP) 70 | 🇸🇬 新加坡节点 = fallback, policy-path=订阅地址, update-interval=0, policy-regex-filter=(🇸🇬)|(新)|(Singapore)|(SG) 71 | 🚀 手动选择 = select, policy-path=订阅地址, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0 72 | 73 | [Rule] 74 | # > 本地/局域网地址 75 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Lan/Lan.list,🌐 全球直连 76 | # > 微软服务 77 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Microsoft/Microsoft.list,Ⓜ️ 微软服务 78 | # > 苹果服务 79 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple.list,🍎 苹果服务 80 | # > 社交平台 81 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Telegram/Telegram.list,📲 电报信息 82 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Weibo/Weibo.list,🍟 新浪微博 83 | # > 游戏平台 84 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Epic/Epic.list,🎮 游戏平台 85 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Sony/Sony.list,🎮 游戏平台 86 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Steam/Steam.list,🎮 游戏平台 87 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Nintendo/Nintendo.list,🎮 游戏平台 88 | # > 流媒体 89 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/YouTube/YouTube.list,📹 油管视频 90 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Netflix/Netflix.list,🎥 奈飞视频 91 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Disney/Disney.list,🎬 迪士尼+ 92 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/BiliBili/BiliBili.list,📽 哔哩哔哩 93 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMedia/ChinaMedia.list,🍔 国内媒体 94 | RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list,🍿 国外媒体 95 | # > Proxy 96 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy.list,✈️ 节点选择 97 | DOMAIN-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy_Domain.list,✈️ 节点选择 98 | # > China 99 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/China/China.list,🌐 全球直连 100 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Download/Download.list,🌐 全球直连 101 | # > GeoIP China 102 | GEOIP,CN,🌐 全球直连 103 | # > DNS 查询失败走 Final 规则 104 | FINAL,✈️ 节点选择 105 | -------------------------------------------------------------------------------- /sub_info.js: -------------------------------------------------------------------------------- 1 | /* 2 | Surge配置参考注释,感谢@asukanana,感谢@congcong. 3 | 4 | 示例↓↓↓ 5 | ---------------------------------------- 6 | 7 | [Proxy Group] 8 | AmyInfo = select, policy-path=http://sub.info?url=机场节点链接&reset_day=1&alert=1, update-interval=3600 9 | 10 | [Script] 11 | Sub_info = type=http-request,pattern=http://sub\.info,script-path=https://raw.githubusercontent.com/mieqq/mieqq/master/sub_info.js,timeout=10 12 | ---------------------------------------- 13 | 14 | 脚本不用修改,直接配置就好。 15 | 16 | 先将带有流量信息的节点订阅链接encode,用encode后的链接替换"url="后面的[机场节点链接] 17 | 18 | 可选参数 &reset_day,后面的数字替换成流量每月重置的日期,如1号就写1,8号就写8。如"&reset_day=8",不加该参数不显示流量重置信息。 19 | 20 | 可选参数 &expire,机场链接不带expire信息的,可以手动传入expire参数,如"&expire=2022-02-01",注意一定要按照yyyy-MM-dd的格式。 21 | 22 | 可选参数 &alert,流量用量超过80%、流量重置2天前、流量重置、套餐快到期,这四种情况会发送通知,参数"title=xxx" 可以自定义通知的标题。如"&alert=1&title=AmyInfo",多个机场信息,且需要通知的情况,一定要加 title 参数,不然通知判断会出现问题 23 | ---------------------------------------- 24 | */ 25 | 26 | let now = new Date(); 27 | let today = now.getDate(); 28 | let month = now.getMonth(); 29 | let year = now.getFullYear(); 30 | let args = getArgs($request.url); 31 | let resetDay = parseInt(args["due_day"] || args["reset_day"]); 32 | let resetDayLeft = getRmainingDays(resetDay); 33 | 34 | (async () => { 35 | let is_enhanced = await is_enhanced_mode(); 36 | if (is_enhanced) await sleep(2000) 37 | let usage = await getDataInfo(args.url); 38 | if (!usage) { 39 | $done({}) 40 | return; 41 | } 42 | let used = usage.download + usage.upload; 43 | let total = usage.total; 44 | let expire = usage.expire || args.expire; 45 | let localProxy = "=http, localhost, 6152"; 46 | let infoList = [`${bytesToSize(used)} | ${bytesToSize(total)}`]; 47 | 48 | if (resetDayLeft) { 49 | infoList.push(`流量重置:剩余${resetDayLeft}天`); 50 | } 51 | if (expire) { 52 | if (/^[\d]+$/.test(expire)) expire *= 1000; 53 | infoList.push(`套餐到期:${formatTime(expire)}`); 54 | } 55 | sendNotification(used / total, expire, infoList); 56 | let body = infoList.map((item) => item + localProxy).join("\n"); 57 | $done({ response: { body } }); 58 | })(); 59 | 60 | function getArgs(url) { 61 | return Object.fromEntries( 62 | url 63 | .slice(url.indexOf("?") + 1) 64 | .split("&") 65 | .map((item) => item.split("=")) 66 | .map(([k, v]) => [k, decodeURIComponent(v)]) 67 | ); 68 | } 69 | 70 | function getUserInfo(url) { 71 | let request = { headers: { "User-Agent": "Quantumult%20X" }, url }; 72 | return new Promise((resolve, reject) => 73 | $httpClient.head(request, (err, resp) => { 74 | if (err != null) { 75 | reject(err); 76 | return; 77 | } 78 | if (resp.status !== 200) { 79 | reject("Not Available"); 80 | return; 81 | } 82 | let header = Object.keys(resp.headers).find( 83 | (key) => key.toLowerCase() === "subscription-userinfo" 84 | ); 85 | if (header) { 86 | resolve(resp.headers[header]); 87 | return; 88 | } 89 | reject("链接响应头不带有流量信息"); 90 | }) 91 | ); 92 | } 93 | 94 | async function getDataInfo(url) { 95 | const [err, data] = await getUserInfo(url) 96 | .then((data) => [null, data]) 97 | .catch((err) => [err, null]); 98 | if (err) { 99 | console.log(err); 100 | return; 101 | } 102 | 103 | return Object.fromEntries( 104 | data 105 | .match(/\w+=\d+/g) 106 | .map((item) => item.split("=")) 107 | .map(([k, v]) => [k, parseInt(v)]) 108 | ); 109 | } 110 | 111 | function getRmainingDays(resetDay) { 112 | if (!resetDay) return 0; 113 | let daysInMonth = new Date(year, month + 1, 0).getDate(); 114 | if (resetDay > today) daysInMonth = 0; 115 | 116 | return daysInMonth - today + resetDay; 117 | } 118 | 119 | function bytesToSize(bytes) { 120 | if (bytes === 0) return "0B"; 121 | let k = 1024; 122 | sizes = ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"]; 123 | let i = Math.floor(Math.log(bytes) / Math.log(k)); 124 | return (bytes / Math.pow(k, i)).toFixed(2) + " " + sizes[i]; 125 | } 126 | 127 | function formatTime(time) { 128 | let dateObj = new Date(time); 129 | let year = dateObj.getFullYear(); 130 | let month = dateObj.getMonth() + 1; 131 | let day = dateObj.getDate(); 132 | return year + "年" + month + "月" + day + "日"; 133 | } 134 | 135 | function sendNotification(usageRate, expire, infoList) { 136 | if (!args.alert) return; 137 | let title = args.title || "Sub Info"; 138 | let subtitle = infoList[0]; 139 | let body = infoList.slice(1).join("\n"); 140 | usageRate = usageRate * 100; 141 | 142 | if (resetDay <= today) month += 1; 143 | let resetTime = new Date(year, month, resetDay); 144 | //通知计数器,每月重置日重置 145 | let notifyCounter = JSON.parse($persistentStore.read(title) || "{}"); 146 | if (!notifyCounter[resetTime]) { 147 | notifyCounter = { 148 | [resetTime]: { usageRate: 80, resetDayLeft: 3, expire: 31, resetDay: 1 }, 149 | }; 150 | } 151 | 152 | let count = notifyCounter[resetTime]; 153 | 154 | if (usageRate > count.usageRate && resetDay != today) { 155 | $notification.post( 156 | `${title} | 剩余流量不足${Math.ceil(100 - usageRate)}%`, 157 | subtitle, 158 | body 159 | ); 160 | while (usageRate > count.usageRate) { 161 | if (count.usageRate < 95) { 162 | count.usageRate += 5; 163 | } else { 164 | count.usageRate += 4; 165 | } 166 | } 167 | } 168 | if (resetDayLeft && resetDayLeft < count.resetDayLeft && resetDay != today) { 169 | $notification.post( 170 | `${title} | 流量将在${resetDayLeft}天后重置`, 171 | subtitle, 172 | body 173 | ); 174 | count.resetDayLeft = resetDayLeft; 175 | } 176 | if (resetDay == today && count.resetDay && usageRate < 5) { 177 | $notification.post(`${title} | 流量已重置`, subtitle, body); 178 | count.resetDay = 0; 179 | } 180 | if (expire) { 181 | let diff = (new Date(expire) - now) / (1000 * 3600 * 24); 182 | if (diff < count.expire) { 183 | $notification.post( 184 | `${title} | 套餐剩余时间不足${Math.ceil(diff)}天`, 185 | subtitle, 186 | body 187 | ); 188 | count.expire -= 5; 189 | } 190 | } 191 | $persistentStore.write(JSON.stringify(notifyCounter), title); 192 | } 193 | 194 | function is_enhanced_mode() { 195 | return new Promise((resolve) => 196 | $httpAPI("GET", "v1/features/enhanced_mode", null, (data) => { 197 | resolve(data.enabled); 198 | }) 199 | ); 200 | } 201 | 202 | function sleep(ms) { 203 | return new Promise(resolve => setTimeout(resolve, ms)) 204 | } 205 | -------------------------------------------------------------------------------- /涌/Panel.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Surge 网络信息面板 3 | * @author: Peng-YM 4 | */ 5 | const $ = API("NetInfoPanel", true); 6 | const $http = HTTP(); 7 | 8 | const { wifi, v4 } = $network; 9 | const v4IP = v4.primaryAddress; 10 | 11 | !(async () => { 12 | // No network connection 13 | if (!v4IP) { 14 | $.done({ 15 | title: "未连接网络", 16 | content: "请检查网络连接", 17 | icon: "airplane" 18 | }); 19 | return; 20 | } 21 | const ip = v4IP; 22 | const router = wifi.ssid ? v4.primaryRouter : undefined; 23 | 24 | const resp = await $http.get("https://api.my-ip.io/ip"); 25 | const externalIP = resp.body; 26 | 27 | const body = { 28 | title: wifi.ssid || "蜂窝数据", 29 | content: `IP:${ip} \n` 30 | + (wifi.ssid ? `路由器地址:${router}\n` : "") 31 | + `外部 IP:${externalIP}`, 32 | icon: wifi.ssid ? "wifi" : "antenna.radiowaves.left.and.right" 33 | }; 34 | $.done(body); 35 | })(); 36 | 37 | // OpenAPI 38 | // prettier-ignore 39 | function ENV() { const e = "undefined" != typeof $task, t = "undefined" != typeof $loon, s = "undefined" != typeof $httpClient && !t, n = "function" == typeof require && "undefined" != typeof $jsbox, i = "function" == typeof require && !n, o = "undefined" != typeof $request, r = "undefined" != typeof importModule; return { isQX: e, isLoon: t, isSurge: s, isNode: i, isJSBox: n, isRequest: o, isScriptable: r } } function HTTP(e = { baseURL: "" }) { function t(t, u) { u = "string" == typeof u ? { url: u } : u; const c = e.baseURL; c && !a.test(u.url || "") && (u.url = c ? c + u.url : u.url), u.body && u.headers && !u.headers["Content-Type"] && (u.headers["Content-Type"] = "application/x-www-form-urlencoded"), u = { ...e, ...u }; const h = u.timeout, l = { onRequest: () => { }, onResponse: e => e, onTimeout: () => { }, ...u.events }; let f, d; if (l.onRequest(t, u), s) f = $task.fetch({ method: t, ...u }); else if (n || i || r) f = new Promise((e, s) => { const n = r ? require("request") : $httpClient; n[t.toLowerCase()](u, (t, n, i) => { t ? s(t) : e({ statusCode: n.status || n.statusCode, headers: n.headers, body: i }) }) }); else if (o) { const e = new Request(u.url); e.method = t, e.headers = u.headers, e.body = u.body, f = new Promise((t, s) => { e.loadString().then(s => { t({ statusCode: e.response.statusCode, headers: e.response.headers, body: s }) }).catch(e => s(e)) }) } const p = h ? new Promise((e, s) => { d = setTimeout(() => (l.onTimeout(), s(`${t} URL: ${u.url} exceeds the timeout ${h} ms`)), h) }) : null; return (p ? Promise.race([p, f]).then(e => (clearTimeout(d), e)) : f).then(e => l.onResponse(e)) } const { isQX: s, isLoon: n, isSurge: i, isScriptable: o, isNode: r } = ENV(), u = ["GET", "POST", "PUT", "DELETE", "HEAD", "OPTIONS", "PATCH"], a = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/, c = {}; return u.forEach(e => c[e.toLowerCase()] = (s => t(e, s))), c } function API(e = "untitled", t = !1) { const { isQX: s, isLoon: n, isSurge: i, isNode: o, isJSBox: r, isScriptable: u } = ENV(); return new class { constructor(e, t) { this.name = e, this.debug = t, this.http = HTTP(), this.env = ENV(), this.node = (() => { if (o) { const e = require("fs"); return { fs: e } } return null })(), this.initCache(); const s = (e, t) => new Promise(function (s) { setTimeout(s.bind(null, t), e) }); Promise.prototype.delay = function (e) { return this.then(function (t) { return s(e, t) }) } } initCache() { if (s && (this.cache = JSON.parse($prefs.valueForKey(this.name) || "{}")), (n || i) && (this.cache = JSON.parse($persistentStore.read(this.name) || "{}")), o) { let e = "root.json"; this.node.fs.existsSync(e) || this.node.fs.writeFileSync(e, JSON.stringify({}), { flag: "wx" }, e => console.log(e)), this.root = {}, e = `${this.name}.json`, this.node.fs.existsSync(e) ? this.cache = JSON.parse(this.node.fs.readFileSync(`${this.name}.json`)) : (this.node.fs.writeFileSync(e, JSON.stringify({}), { flag: "wx" }, e => console.log(e)), this.cache = {}) } } persistCache() { const e = JSON.stringify(this.cache, null, 2); s && $prefs.setValueForKey(e, this.name), (n || i) && $persistentStore.write(e, this.name), o && (this.node.fs.writeFileSync(`${this.name}.json`, e, { flag: "w" }, e => console.log(e)), this.node.fs.writeFileSync("root.json", JSON.stringify(this.root, null, 2), { flag: "w" }, e => console.log(e))) } write(e, t) { if (this.log(`SET ${t}`), -1 !== t.indexOf("#")) { if (t = t.substr(1), i || n) return $persistentStore.write(e, t); if (s) return $prefs.setValueForKey(e, t); o && (this.root[t] = e) } else this.cache[t] = e; this.persistCache() } read(e) { return this.log(`READ ${e}`), -1 === e.indexOf("#") ? this.cache[e] : (e = e.substr(1), i || n ? $persistentStore.read(e) : s ? $prefs.valueForKey(e) : o ? this.root[e] : void 0) } delete(e) { if (this.log(`DELETE ${e}`), -1 !== e.indexOf("#")) { if (e = e.substr(1), i || n) return $persistentStore.write(null, e); if (s) return $prefs.removeValueForKey(e); o && delete this.root[e] } else delete this.cache[e]; this.persistCache() } notify(e, t = "", a = "", c = {}) { const h = c["open-url"], l = c["media-url"]; if (s && $notify(e, t, a, c), i && $notification.post(e, t, a + `${l ? "\n多媒体:" + l : ""}`, { url: h }), n) { let s = {}; h && (s.openUrl = h), l && (s.mediaUrl = l), "{}" === JSON.stringify(s) ? $notification.post(e, t, a) : $notification.post(e, t, a, s) } if (o || u) { const s = a + (h ? `\n点击跳转: ${h}` : "") + (l ? `\n多媒体: ${l}` : ""); if (r) { const n = require("push"); n.schedule({ title: e, body: (t ? t + "\n" : "") + s }) } else console.log(`${e}\n${t}\n${s}\n\n`) } } log(e) { this.debug && console.log(`[${this.name}] LOG: ${this.stringify(e)}`) } info(e) { console.log(`[${this.name}] INFO: ${this.stringify(e)}`) } error(e) { console.log(`[${this.name}] ERROR: ${this.stringify(e)}`) } wait(e) { return new Promise(t => setTimeout(t, e)) } done(e = {}) { s || n || i ? $done(e) : o && !r && "undefined" != typeof $context && ($context.headers = e.headers, $context.statusCode = e.statusCode, $context.body = e.body) } stringify(e) { if ("string" == typeof e || e instanceof String) return e; try { return JSON.stringify(e, null, 2) } catch (e) { return "[object Object]" } } }(e, t) } 40 | -------------------------------------------------------------------------------- /涌/Surge.config: -------------------------------------------------------------------------------- 1 | [General] 2 | # > 日志级别 3 | loglevel = notify 4 | show-error-page-for-reject = true 5 | # > 增强版 Wi-Fi 助理 6 | allow-wifi-access = false 7 | # > All Hybrid 网络并发 8 | all-hybrid = false 9 | # > IPv6 支持(默认关闭) 10 | ipv6 = false 11 | # > 测试超时(秒) 12 | test-timeout = 5 13 | # > Internet 测试 URL 14 | internet-test-url = http://www.baidu.com 15 | # > 代理测速 URL 16 | proxy-test-url = http://1.1.1.1/generate_204 17 | # > GeoIP数据库 18 | geoip-maxmind-url = https://github.com/Hackl0us/GeoIP2-CN/raw/release/Country.mmdb 19 | # > 排除简单主机名 20 | exclude-simple-hostnames = true 21 | # > DNS 服务器 22 | dns-server = 223.5.5.5, 119.29.29.29 23 | hijack-dns = 8.8.8.8:53, 8.8.4.4:53 24 | # > 从 /etc/hosts 读取 DNS 记录 25 | read-etc-hosts = true 26 | # > 远程控制器 27 | http-api-web-dashboard = false 28 | use-default-policy-if-wifi-not-primary = false 29 | # > 跳过代理 30 | skip-proxy = 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8, localhost, *.local, *.crashlytics.com 31 | # Surge VIF 32 | tun-excluded-routes = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 33 | tun-included-routes = 192.168.1.12/32 34 | # > Always Real IP Hosts 35 | always-real-ip = *.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com*.srv.nintendo.net, *.stun.playstation.net, xbox.*.microsoft.com, *.xboxlive.com, *.battlenet.com.cn, *.battlenet.com, *.blzstatic.cn, *.battle.net 36 | 37 | [Replica] 38 | # > 隐藏 Apple 请求 39 | hide-apple-request = false 40 | # > 隐藏崩溃追踪器请求 41 | hide-crash-reporter-request = true 42 | # > 隐藏 UDP 会话 43 | hide-udp = false 44 | # > 关键词过滤器 45 | keyword-filter-type = false 46 | 47 | [Proxy] 48 | 🌐 全球直连 = direct 49 | 50 | [Proxy Group] 51 | # > 策略组(下面的节点信息需与外部节点对应,若删除了外部节点里的节点,那么在策略组里也要删除。) 52 | ✈️ 节点选择 = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点, 🚀 手动选择 53 | 📲 电报信息 = select, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 54 | 🎥 奈飞视频 = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 55 | 🎬 迪士尼+ = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 56 | 📹 油管视频 = select, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 57 | 📽 哔哩哔哩 = select, 🌐 全球直连, 🇭🇰 香港节点, 🇯🇵 日本节点 58 | 🍿 国外媒体 = select, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 59 | 🍔 国内媒体 = select, 🌐 全球直连, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 60 | 🍟 新浪微博 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 61 | Ⓜ️ 微软服务 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 62 | 🍎 苹果服务 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 63 | 🎮 游戏平台 = select, 🌐 全球直连, ✈️ 节点选择, 🇭🇰 香港节点, 🇺🇲 美国节点, 🇸🇬 新加坡节点, 🇯🇵 日本节点, 🇨🇳 台湾节点 64 | # > 外部节点 65 | 🇭🇰 香港节点 = fallback, policy-path=订阅地址, update-interval=0, policy-regex-filter=(🇭🇰)|(港)|(Hong)|(HK) 66 | 🇨🇳 台湾节点 = fallback, policy-path=订阅地址, update-interval=0, policy-regex-filter=(🇨🇳)|(台)|(Tai)|(TW) 67 | 🇺🇲 美国节点 = fallback, policy-path=订阅地址, update-interval=0, policy-regex-filter=(🇺🇸)|(美)|(States)|(US) 68 | 🇯🇵 日本节点 = fallback, policy-path=订阅地址, update-interval=0, policy-regex-filter=(🇯🇵)|(日)|(Japan)|(JP) 69 | 🇸🇬 新加坡节点 = fallback, policy-path=订阅地址, update-interval=0, policy-regex-filter=(🇸🇬)|(新)|(Singapore)|(SG) 70 | 🚀 手动选择 = select, policy-path=订阅地址, update-interval=0, no-alert=0, hidden=0, include-all-proxies=0 71 | 72 | [Rule] 73 | # > 本地/局域网地址 74 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Lan/Lan.list,🌐 全球直连 75 | # > 微软服务 76 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Microsoft/Microsoft.list,Ⓜ️ 微软服务 77 | # > 苹果服务 78 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Apple/Apple.list,🍎 苹果服务 79 | # > 社交平台 80 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Telegram/Telegram.list,📲 电报信息 81 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Weibo/Weibo.list,🍟 新浪微博 82 | # > 游戏平台 83 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Epic/Epic.list,🎮 游戏平台 84 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Sony/Sony.list,🎮 游戏平台 85 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Steam/Steam.list,🎮 游戏平台 86 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Nintendo/Nintendo.list,🎮 游戏平台 87 | # > 流媒体 88 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/YouTube/YouTube.list,📹 油管视频 89 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Netflix/Netflix.list,🎥 奈飞视频 90 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Disney/Disney.list,🎬 迪士尼+ 91 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/BiliBili/BiliBili.list,📽 哔哩哔哩 92 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/ChinaMedia/ChinaMedia.list,🍔 国内媒体 93 | RULE-SET,https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/ProxyMedia.list,🍿 国外媒体 94 | # > Proxy 95 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy.list,✈️ 节点选择 96 | DOMAIN-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Proxy/Proxy_Domain.list,✈️ 节点选择 97 | # > China 98 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/China/China.list,🌐 全球直连 99 | RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Download/Download.list,🌐 全球直连 100 | # > GeoIP China 101 | GEOIP,CN,🌐 全球直连 102 | # > DNS 查询失败走 Final 规则 103 | FINAL,✈️ 节点选择 104 | -------------------------------------------------------------------------------- /涌/模块/Task.sgmodule: -------------------------------------------------------------------------------- 1 | #!name=Cron Task 2 | #!desc=薅他! 3 | 4 | [Script] 5 | # 签到 6 | 腾讯视频 = type=cron,cronexp="10 0 0 * * *",wake-system=1,script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/videoqq/videoqq.js 7 | 8 | 喜马拉雅 = type=cron,cronexp="10 0 0 * * *",wake-system=1,script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/ximalaya/ximalaya.js 9 | 10 | 爱奇艺 = type=cron,cronexp="20 9 * * *",wake-system=1,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/iQIYI-DailyBonus/iQIYI.js 11 | 12 | 京东 = type=cron,cronexp="5 0 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/JD-DailyBonus/JD_DailyBonus.js 13 | 14 | # 京东活动 15 | 东东农场 = type=cron,cronexp="5 6-18/6 * * *",wake-system=1,timeout=120,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_fruit.js 16 | 17 | 东东萌宠 = type=cron,cronexp="15 6-18/6 * * *",wake-system=1,timeout=120,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_pet.js 18 | 19 | 种豆得豆 = type=cron,cronexp="1 7-21/2 * * *",wake-system=1,timeout=120,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_plantBean.js 20 | 21 | 天天加速 = type=cron,cronexp="8 */3 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_speed.js 22 | 23 | 摇钱树 = type=cron,cronexp="3 */2 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_moneyTree.js 24 | 25 | 取关店铺商品 = type=cron,cronexp="55 23 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_unsubscribe.js 26 | 27 | 东东超市 = type=cron,cronexp="11 1-23/5 * * *",wake-system=1,timeout=320,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_superMarket.js 28 | 29 | 京小超兑换奖品 = type=cron,cronexp="0 0 0 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_blueCoin.js 30 | 31 | 进店领豆 = type=cron,cronexp="10 0 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_shop.js 32 | 33 | 摇京豆 = type=cron,cronexp="5 0 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_club_lottery.js 34 | 35 | 京东全民开红包 = type=cron,cronexp="1 1 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_redPacket.js 36 | 37 | 京东赚赚 = type=cron,cronexp="0 0 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_jdzz.js 38 | 39 | 京豆变动通知 = type=cron,cronexp="2 9 * * *",wake-system=1,timeout=440,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_bean_change.js 40 | 41 | 京喜工厂 = type=cron,cronexp="10 * * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_dreamFactory.js 42 | 43 | 东东小窝 = type=cron,cronexp="16 0 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_small_home.js 44 | 45 | 东东工厂 = type=cron,cronexp="10 * * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_jdfactory.js 46 | 47 | 点点券 = type=cron,cronexp="10 0,20 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_necklace.js 48 | 49 | 赚京豆 = type=cron,cronexp="10 7 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_syj.js 50 | 51 | 领京豆额外奖励 = type=cron,cronexp="10 7 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_bean_home.js 52 | 53 | 京东汽车 = type=cron,cronexp="10 7 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_car.js 54 | 55 | 京东汽车兑换 = type=cron,cronexp="0 0 * * *",wake-system=1,timeout=2000,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_car_exchange.js 56 | 57 | 京东快递签到 = type=cron,cronexp="10 0 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_kd.js 58 | 59 | 京东金融-天天提鹅 = type=cron,cronexp="0 */3 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_daily_egg.js 60 | 61 | 京东金融-养猪猪 = type=cron,cronexp="12 * * * *",wake-system=1,timeout=100,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_pigPet.js 62 | 63 | CrazyJoy任务 = type=cron,cronexp="10 7 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_crazy_joy.js 64 | 65 | 口袋书店 = type=cron,cronexp="1 8,12,18 * * *",wake-system=1,timeout=1120,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_bookshop.js 66 | 67 | 签到领现金 = type=cron,cronexp="0 2 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_cash.js 68 | 69 | 东东健康社区 = type=cron,cronexp="10 0,23 * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_health.js 70 | 71 | 东东健康社区收集能量 = type=cron,cronexp="5-45/20 * * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_health_collect.js 72 | 73 | 幸运大转盘 = type=cron,cronexp="4 10 * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_market_lottery.js 74 | 75 | 领金贴 = type=cron,cronexp="10 * * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_jin_tie.js 76 | 77 | 金榜创造营 = type=cron,cronexp="13 1,22 * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_gold_creator.js 78 | 79 | 京喜领88元红包 = type=cron,cronexp="4 10 * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_jxlhb.js 80 | 81 | 省钱大赢家之翻翻乐 = type=cron,cronexp="20 * * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_big_winner.js 82 | 83 | 京喜牧场 = type=cron,cronexp="20 0-23/3 * * *",wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_jxmc.js 84 | 85 | 获取互助码 = type=cron,cronexp="20 13 * * 6",wake-system=1,timeout=120,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_get_share_code.js 86 | 87 | 小米运动 = type=cron,cronexp="15 19 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/backUp/xmSports.js 88 | 89 | 京东秒秒币 = type=cron,cronexp="10 7 * * *",wake-system=1,timeout=200,script-path=https://raw.githubusercontent.com/ChuheGit/1/main/Script/jd_scripts/jd_ms.js 90 | 91 | 抽奖机 = type=cron,cronexp="11 1 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/yangtingxiao/QuantumultX/master/scripts/jd/jd_lotteryMachine.js 92 | 93 | 京喜工厂plus = type=cron,cronexp="0 1,18 * * *",wake-system=1,timeout=20,script-path=https://raw.githubusercontent.com/whyour/hundun/master/quanx/jx_factory_component.js 94 | 95 | # 薅 96 | 中青看点极速版 = type=cron,cronexp="*/14 5-23 * * *",wake-system=1,timeout=360,script-path=https://raw.githubusercontent.com/Sunert/Script/master/Task/youth.js 97 | 98 | 中青看点浏览赚 = type=cron,cronexp="20 5 10 * * *",wake-system=1,timeout=1800,script-path=https://raw.githubusercontent.com/Sunert/Script/master/Task/youth_gain.js 99 | 100 | 中青看点阅读 = type=cron,cronexp=35 */30 */2 * * *,wake-system=1,timeout=3600,script-path=https://raw.githubusercontent.com/Sunert/Script/master/Task/Youth_Read.js 101 | --------------------------------------------------------------------------------