Skip to content

Commit 98306e3

Browse files
committed
pref(template): 添加新的拒绝规则以增强可用性
1 parent c4891f7 commit 98306e3

4 files changed

Lines changed: 4 additions & 1 deletion

File tree

template/loon.handlebars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
[Rule]
1717
DOMAIN,weather-analytics-events.apple.com,REJECT-DROP
1818
DOMAIN-SUFFIX,tthr.apple.com,REJECT-DROP
19+
DOMAIN,tether.edge.apple,REJECT-DROP
1920

2021
[Script]
2122
http-response ^https?:\/\/weatherkit\.apple\.com\/api\/v1\/availability\/ requires-body=1, script-path=https://github.com/NSRingo/WeatherKit/releases/download/v{{@package 'version'}}/response.bundle.js, tag=🌤 WeatherKit.api.v1.availability.response, argument={{{scriptParams}}}

template/quantumultx.handlebars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@
1919
^https?:\/\/weather-analytics-events\.apple\.com\/ url reject
2020

2121
#[mitm]
22-
hostname = weatherkit.apple.com, weather-analytics-events.apple.com, *.tthr.apple.com
22+
hostname = weatherkit.apple.com, weather-analytics-events.apple.com, *.tthr.apple.com, tether.edge.apple

template/stash.handlebars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ version: "{{@package 'version'}}"
1717
rules:
1818
- DOMAIN,weather-analytics-events.apple.com,REJECT-DROP
1919
- DOMAIN-SUFFIX,tthr.apple.com,REJECT-DROP
20+
- DOMAIN,tether.edge.apple,REJECT-DROP
2021

2122
http:
2223
mitm:

template/surge.handlebars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
[Rule]
1414
DOMAIN,weather-analytics-events.apple.com,REJECT-DROP
1515
DOMAIN-SUFFIX,tthr.apple.com,REJECT-DROP,extended-matching
16+
DOMAIN,tether.edge.apple,REJECT-DROP,extended-matching
1617

1718
[Script]
1819
🌤 WeatherKit.api.v1.availability.response = type=http-response, pattern=^https?:\/\/weatherkit\.apple\.com\/api\/v1\/availability\/, requires-body=1, engine=webview, script-path=https://github.com/NSRingo/WeatherKit/releases/download/v{{@package 'version'}}/response.bundle.js, argument={{{scriptParams}}}

0 commit comments

Comments
 (0)