mirror of
https://github.com/fmz200/wool_scripts.git
synced 2025-12-19 13:41:18 +08:00
35 lines
1.5 KiB
Plaintext
35 lines
1.5 KiB
Plaintext
#!name=百度地图
|
||
#!desc=某些APP要清除缓存或者重新安装拦截广告才会生效!
|
||
#!author=奶思
|
||
#!homepage=https://github.com/fmz200/wool_scripts
|
||
#!icon=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/gif/naisi-01.gif
|
||
#!raw-url=https://github.com/fmz200/wool_scripts/raw/main/Loon/plugin/split/partB/BaiduMaps.lpx
|
||
#!tg-channel=https://t.me/inaisi
|
||
#!date=
|
||
#############################################
|
||
|
||
[Argument]
|
||
bdduditu_enable = switch,true,false,tag=百度地图-脚本开关
|
||
|
||
[Rule]
|
||
DOMAIN, afd.baidu.com, REJECT
|
||
DOMAIN, afdconf.baidu.com, REJECT
|
||
DOMAIN, httpdns.baidubce.com, REJECT
|
||
DOMAIN, lc.map.baidu.com, REJECT
|
||
|
||
|
||
[Rewrite]
|
||
^https?:\/\/dss0\.bdstatic\.com\/-0U0bnSm1A5BphGlnYG\/ reject-200
|
||
^https?:\/\/dss0\.bdstatic\.com\/.+/tam-ogel\/.+\.(jpg|mp4) reject
|
||
^https?:\/\/tb1\.bdstatic\.com\/tb\/cms\/ngmis\/adsense\/*.jpg reject
|
||
^https?:\/\/tb2\.bdstatic\.com\/tb\/mobile\/spb\/widget\/jump reject-img
|
||
^https?:\/\/ss0\.bdstatic\.com/.+?_\d{3}_\d{4}\.jpg reject-200
|
||
^https?:\/\/gss0\.bdstatic\.com\/.+?\/static\/wiseindex\/img\/bd_red_packet\.png reject-img
|
||
|
||
|
||
[Script]
|
||
http-response ^https?:\/\/newclient\.map\.baidu\.com\/client\/phpui2\/\?qt=ads script-path=https://raw.githubusercontent.com/fmz200/wool_scripts/main/Scripts/baidumap.js, requires-body=true, timeout=60, tag=百度地图广告, enable={bdduditu_enable}
|
||
|
||
|
||
[MITM]
|
||
hostname = dss0.bdstatic.com, tb1.bdstatic.com, tb2.bdstatic.com, ss0.bdstatic.com, gss0.bdstatic.com, newclient.map.baidu.com |