app2smile / rules

iOS App去广告
MIT License
3.19k stars 212 forks source link

贴吧去广告 #132

Closed spirytuslove closed 11 months ago

spirytuslove commented 12 months ago

大佬我翻了下贴吧去广告的失效情况 好像去广告失效是得看下有没有冲突的规则对吧 我现在的日志能不能帮忙分析下为啥会失败。。。

spirytuslove commented 12 months ago

IMG_7230

spirytuslove commented 12 months ago

IMG_7232 IMG_7231

app2smile commented 12 months ago

没看到你的sync接口 你这个不是贴吧的sync接口

spirytuslove commented 12 months ago

大佬你在看下是不是这个最近请求 IMG_7261 IMG_7260

app2smile commented 12 months ago

最下面的那俩sync 你可能加载的有其他的规则把它屏蔽了。不能屏蔽

spirytuslove commented 12 months ago

感谢回复 这要怎么排查啊

spirytuslove commented 12 months ago

而且我mitm 180这个域名一直显示的是失败 把贴吧缓存清了再进去第一次会有点效果 一刷新前面横幅广告都出来了

app2smile commented 11 months ago

180无需mitm,只要你正常引入模块是没问题的。因为模块会屏蔽180请求

第一次有效后续无效是因为sync被屏蔽了导致后续无效

spirytuslove commented 11 months ago

感谢回复 大佬我用的surge 之前圈叉没问题 现在surge要怎么排查冲突规则啊

app2smile commented 11 months ago

点开sync这条请求,会显示这个请求匹配到了哪个规则或者脚本。

spirytuslove commented 11 months ago

IMG_7302 这是匹配了拒绝的规则吗 要搜索重写里面哪一条

app2smile commented 11 months ago

你只能把你加载的规则链接一个个在电脑打开,然后查看

spirytuslove commented 11 months ago

我刚试了把重写里面规则都删了 然后再开贴吧 发现还是里面的贴片广告没去掉

app2smile commented 11 months ago

行不行 看日志的

spirytuslove commented 11 months ago

大佬有一个奇怪现象 我把重写开关关了 立马贴吧就没广告了 开了重写开关 就算把里面规则都删了还是会有广告 只有把重写开关关了才没有

app2smile commented 11 months ago

这说明是你加载的别人有个重写有问题

spirytuslove commented 11 months ago

那这我要怎么处理 是换个配置吗 还是现在原有配置也可以改

spirytuslove commented 11 months ago

解决了 把我一个引用的模块换了就可以了 感谢