forked from VirgilClyne/iRingo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Maps.srmodule
30 lines (27 loc) · 2.32 KB
/
Maps.srmodule
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!name= iRingo: 🗺️ Maps
#!desc=全面自定义「地图」的功能。
#!openUrl=http://boxjs.com/#/app/iRingo.Maps
#!author=VirgilClyne[https://github.com/VirgilClyne]
#!homepage=https://github.com/NSRingo
#!manual=https://github.com/NSRingo/GeoServices/wiki/🗺-地图
#!icon=https://developer.apple.com/assets/elements/icons/maps/maps-128x128.png
#!category= iRingo
[Rule]
# 🗺️ Amap
DOMAIN-SUFFIX,is.autonavi.com,DIRECT
# 🗺️ Traffic
DOMAIN,gspe12-cn-ssl.ls.apple.com,DIRECT
# 🗺️ Tiles
DOMAIN,gspe19-cn-ssl.ls.apple.com,DIRECT
[Script]
# 🗺️ Network Defaults
🗺️ Maps.config.defaults.request = type=http-request, pattern=^https?:\/\/configuration\.ls\.apple\.com\/config\/defaults, requires-body=0, script-path=https://github.com/NSRingo/GeoServices/releases/latest/download/request.js, argument=
🗺️ Maps.config.defaults.response = type=http-response, pattern=^https?:\/\/configuration\.ls\.apple\.com\/config\/defaults, requires-body=1, script-path=https://raw.githubusercontent.com/NSRingo/GeoServices/main/archive/js/response.js, argument=
# 🗺️ Announcements
🗺️ Maps.config.announcements.request = type=http-request, pattern=^https?:\/\/gspe35-ssl\.ls\.apple\.(com|cn)\/config\/announcements, requires-body=0, script-path=https://github.com/NSRingo/GeoServices/releases/latest/download/request.js, argument=
🗺️ Maps.config.announcements.response = type=http-response, pattern=^https?:\/\/gspe35-ssl\.ls\.apple\.(com|cn)\/config\/announcements, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://raw.githubusercontent.com/NSRingo/GeoServices/main/archive/js/response.js, argument=
# 🗺️ Resource Manifest
🗺️ Maps.geo_manifest.dynamic.config.request = type=http-request, pattern=^https?:\/\/gspe35-ssl\.ls\.apple\.(com|cn)\/geo_manifest\/dynamic\/config, requires-body=0, script-path=https://github.com/NSRingo/GeoServices/releases/latest/download/request.js, argument=
🗺️ Maps.geo_manifest.dynamic.config.response = type=http-response, pattern=^https?:\/\/gspe35-ssl\.ls\.apple\.(com|cn)\/geo_manifest\/dynamic\/config, requires-body=1, binary-body-mode=1, engine=webview, script-path=https://raw.githubusercontent.com/NSRingo/GeoServices/main/archive/js/response.js, argument=
[MITM]
hostname = %APPEND% configuration.ls.apple.com, gspe35-ssl.ls.apple.com