AdguardTeam / AdguardFilters

AdGuard Content Blocking Filters
https://adguard.com/
GNU General Public License v3.0
3.09k stars 623 forks source link

the videos on ani.gamer.com.tw - Anti Adblock Script #7596

Closed lancelot-moon closed 6 years ago

lancelot-moon commented 6 years ago

@ameshkov @AdamWr

Issue URL: https://ani.gamer.com.tw/index.php — Anti Adblock Issue Type: Anti Adblock Script Comment: The website detected AdGuard. It asked to add gamer.com.tw in the whitelist or disable adblockers. Otherwise, we are unable to watch anime online. I tried to add gamer.com.tw in HTTPS exclusions. But it's useless. I was still unable to watch anime. The only way is disabling AdGuard.

Screenshot:

Screenshot: ![image](https://i.imgur.com/g7FAKnH.png)

***Steps to reproduce the problem***: May AdGuard solve it? Let us watch anime there with AdGuard enabled and no ad. Thanks a lot! [//]: # (Substitute this line with a step-by-step instruction how to reproduce the issue) ***System configuration*** **Filters:** [//]: # (Substitute this line with the list of your active filters, separated by commas) [//]: # (Please enter the correct values for your case to the table below) Information | Value --- | --- Operating system: | Windows 10 Adguard driver: | WFP Browser: | Google Chrome v61.0.3163.100 AdGuard version: | AdGuard for Windows v6.2.433.2167 Filters enabled: | English filter, Spyware filter, Social media filter, Annoyances filter, Mobile ads filter and EasyList China filter Stealth mode options (Windows only) | Enable Stealth mode, Hide your search queries, Send Do-Not-Track header, Remove X-Client-Data header from HTTP requests, Self-destructing third-party cookies, Disable cache for third-party requests, Block WebRTC, Block Location API Helpdesk ID (if exists): | ? [//]: # (This template is meant for missed ad/false positive reports, for other type of reports edit it accordingly) [//]: # (If this is a crash report, include the crashlog with https://gist.github.com/)
lancelot-moon commented 6 years ago

@ameshkov @Alex-302 @AdamWr

Hi, ani.gamer.com.tw recently knew that AdGuard updated the rules for solving anti-adblock. Anime on ani.gamer.com.tw can't be played again if enabling Mobile ads filter. https://github.com/AdguardTeam/AdguardFilters/issues/1742 This rule, ||bahamut.com.tw/JS/ad/, affects too much, which blocks everything under the path. In the past, you added ||bahamut.com.tw/JS/ad/ for blocking ads in 巴哈姆特 app. I think it's maybe better to remove ||bahamut.com.tw/JS/ad/ from Mobile ads filter. https://github.com/AdguardTeam/AdguardFilters/issues/8000 As what we discussed with AdamWr, the ad path of 巴哈姆特 app is api.gamer.com.tw/mobile_app/ad. We don't need to specially add the rule, ||api.gamer.com.tw/mobile_app/ad^, in filter. The ad path can be blocked by the rule syntax in English filter. https://github.com/AdguardTeam/AdguardFilters/issues/8000#issuecomment-349012184

(For Android v7/v8 without root access, AdGuard is unable to block ads in 巴哈姆特 app. Move Certs!: https://goo.gl/UfRqXG ameshkov taught us that AdGuard can block ads in 巴哈姆特 app if having root access and moving AdGuard Personal CA to system store for Android v7/v8 users.)

Now, if you don't remove ||bahamut.com.tw/JS/ad/ from Mobile ads filter, we need to additionally add the new rule for normally watching anime on ani.gamer.com.tw: @@||i2.bahamut.com.tw/JS/ad/animeLogo.js^$domain=ani.gamer.com.tw

Alex-302 commented 6 years ago

Added @@||i2.bahamut.com.tw/JS/ad/animeLogo.js^$domain=ani.gamer.com.tw

lancelot-moon commented 6 years ago

Hi, thanks! Although we can add new rules for unblocking some anti-adblock JS, the rule, ||bahamut.com.tw/JS/ad/, in Mobile ads filter blocks everything under that ad path. This time, we solved the anti-adblock on ani.gamer.com.tw. However, next time, ani.gamer.com.tw maybe uses other anti-adblock JS under that ad path, which lets us need to frequently add new rules.

The ads in 巴哈姆特 app can be blocked by the rule syntax in English filter. https://github.com/AdguardTeam/AdguardFilters/issues/8000#issuecomment-349012184 This rule, ||bahamut.com.tw/JS/ad/, is unnecessary. So I think that removing ||bahamut.com.tw/JS/ad/ from Mobile ads filter is better.

Alex-302 commented 6 years ago

||bahamut.com.tw/JS/ad/

removed