mirror of
https://github.com/fmz200/wool_scripts.git
synced 2025-12-19 13:41:18 +08:00
26 lines
1.5 KiB
Plaintext
26 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/BaiduTieba.lpx
|
||
#!tg-channel=https://t.me/inaisi
|
||
#!date=
|
||
#############################################
|
||
|
||
[Argument]
|
||
bddutpba_enable = switch,true,false,tag=百度贴吧-脚本开关
|
||
|
||
[Rule]
|
||
# 屏蔽域名dns查询, REJECT
|
||
IP-CIDR, 180.76.76.200/32, REJECT, no-resolve
|
||
DOMAIN-KEYWORD,api.sobot.com, REJECT
|
||
DOMAIN-SUFFIX,cm.ad.bilibili.com, REJECT
|
||
DOMAIN-SUFFIX,cm.adcommon.bilibili.com, REJECT
|
||
DOMAIN-SUFFIX,cm.game.bilibili.com, REJECT
|
||
DOMAIN-SUFFIX,cm.track.biligame.bilibili.com, REJECT
|
||
|
||
|
||
[Script]
|
||
http-response ^http(s:\/\/tiebac|:\/\/c\.tieba)\.baidu\.com\/(c\/f\/(frs\/(page|threadlist|generalTabList)|pb\/page|excellent\/personalized)$|tiebaads\/commonbatch|c\/s\/sync$) script-path=https://raw.githubusercontent.com/app2smile/rules/master/js/tieba-json.js, requires-body=true, timeout=60, tag=百度贴吧广告, enable={bddutpba_enable}
|
||
http-response ^http(s:\/\/tiebac|:\/\/c\.tieba)\.baidu\.com\/c\/f\/(frs\/(page|threadlist|generalTabList)|pb\/page|excellent\/personalized)\?cmd script-path=https://raw.githubusercontent.com/app2smile/rules/master/js/tieba-proto.js, requires-body=true, binary-body-mode=true, timeout=60, tag=百度贴吧广告, enable={bddutpba_enable} |