privacy-protection-tools / anti-AD

致力于成为中文区命中率最高的广告过滤列表,实现精确的广告屏蔽和隐私保护。anti-AD现已支持AdGuardHome,dnsmasq, Surge,Pi-Hole,smartdns等网络组件。完全兼容常见的广告过滤工具所支持的各种广告过滤列表格式
https://anti-ad.net
MIT License
8.41k stars 727 forks source link

[误杀] Rosetta Code #769

Closed neoOpus closed 1 year ago

neoOpus commented 1 year ago

域名:Rosetta_Code(极其重要,没有域名基本无法排查误杀,提交了也大概率无法解决你的问题) 发生时间:Today 使用的列表: anti-AD 20230308023923(具体的文件,例如/anti-ad-domains.txt, /anti-ad-easylist.txt等等) 使用的工具:uBlock Origin 1.47.4(例如AdGuard Home, dnsmasq, smartDNS,surge等) 问题描述:

image image

welcome[bot] commented 1 year ago

Thank you for opening your first issue in this repo. It’s people like you who make anti-AD better!

terrytw commented 1 year ago
  1. I can't reproduce this, with anti-ad enabled, the site looks fine to me.
  2. https://rosettacode.org/wiki/Rosetta_Code is the URL you are visiting, not the domain that is blocked. For example, when you visit youtube.com, that webpage will connect to analytics.google.com which is a tracking service. anti-ad will try to block analytics.google.com, but it will never block youtube.com itself. rosettacode.org is obviously not blocked, since you can visit it. So you need to figure out which domain is being blocked that is causing trouble for you. You can use chrome's F12 tool, or something like the wireshark.
neoOpus commented 1 year ago

@terrytw commented on Mar 25, 2023, 1:18 AM EDT:

  1. I can't reproduce this, with anti-ad enabled, the site looks fine to me.
  2. https://rosettacode.org/wiki/Rosetta_Code is the URL you are visiting, not the domain that is blocked.
    For example, when you visit youtube.com, that webpage will connect to analytics.google.com which is a tracking service. anti-ad will try to block analytics.google.com, but it will never block youtube.com itself.
    rosettacode.org is obviously not blocked, since you can visit it. So you need to figure out which domain is being blocked that is causing trouble for you. You can use chrome's F12 tool, or something like the wireshark.

I flushed my cache and cookies and tried in Edge / Chrome but it is the same issue... I don't know how it is not reproducible for you.

image

neoOpus commented 1 year ago

adjusting it to Allow make the page show normally

image

/^(\S+\.)?widgets?\./

terrytw commented 1 year ago

anti-ad is a DNS-based filter list, I don't think you should use it in ublock. They are 2 different adblock solutions on different dimensions. You should put anti-ad filter in pi-hole or adguardhome or dnsmasq.