Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

作者你好,请教一个问题 #3

Open
ghost opened this issue Jan 26, 2019 · 8 comments
Open

作者你好,请教一个问题 #3

ghost opened this issue Jan 26, 2019 · 8 comments

Comments

@ghost
Copy link

ghost commented Jan 26, 2019

作者你好,我把easylistchina+easylist.txt从项目中删除,更新至最新版本的规则后,发现某个网站的广告旧规则能拦截新的反而不行了,请问如果我想使用最新的规则,是不是我还得更新项目中adblock相关的js文件呢?或者我应该怎么做。
还有我到https://adblockplus.org 里面没有找到项目中adp.bundle里面的js文件,请问我该从哪里下载呢,谢谢

@luowei
Copy link
Owner

luowei commented Jan 27, 2019

js文件是参考adblockplus的js自己写的。规则文件我现在也已经很久没有维护更新了,记得新的规则文件是做了一些精简。

@ghost
Copy link
Author

ghost commented Jan 28, 2019

感谢。。是这样子的我详细测试了一下发现我从

https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt
更新最新的规则后,浏览器就不能拦截任何广告了(旧规则可以),请问这可能是什么原因,我该如何解决这个问题呢
ps:我只所以想解决这个问题是因为旧规则也有很多广告拦截不了

@vaintwyt
Copy link

vaintwyt commented Mar 3, 2019

请问这个问题是怎么解决的?

@ghost
Copy link
Author

ghost commented Mar 4, 2019

我推测是js文件不能解析新的规则文件导致的,目前作者应该还没有空解决这个问题。。

@vaintwyt
Copy link

vaintwyt commented Mar 5, 2019

我发现项目run起来,打开这个网址:http://www.360doc.com/content/18/1119/10/45163544_795837266.shtml

也不能拦截广告,请问你那边也有这个情况吗?

@ghost
Copy link
Author

ghost commented Mar 5, 2019

@vaintwyt 能不能拦截你自己可以通过调试项目源码确定,项目中有个统计拦截了多少条广告功能,每拦截一条广告都会回调一次

@7280423
Copy link

7280423 commented Jul 16, 2019

新的规则中 teleservices.mu###adv_"146" 这一行变成了 teleservices.mu###adv_'146' 导致替换后js无法执行 所以无法过滤广告

@ghost
Copy link
Author

ghost commented Jul 25, 2019

@7280423 厉害了老哥,规则这么长你是怎么发现的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants