AdguardTeam / AdguardFilters

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

manhuaren.com #21078

Closed adguard-bot closed 5 years ago

adguard-bot commented 6 years ago

Issue URL (Incorrect Blocking)

https://www.manhuaren.com

Comment

這是漫畫人App,試過使用各種內建的阻擋器還是會顯示廣告 可以用自訂的黑名單 但過一段時間後就失效了 而且必須加入非常多黑名單才能發揮作用,如此一來有些網頁也會被影響到

Screenshots

Screenshot 1 ![Screenshot 1](https://reports-img.adguard.com/1UuRJtq.jpg)

System configuration

Information value
Platform: iOS
AdGuard version: 2.1.1
Browser: App
System wide filtering: disabled
Simplified filters: enabled
AdGuard DNS: Default
Filters: EasyList,
EasyList China,
Mobile Ads,
EasyPrivacy,
Safari,
Annoyances,
Simplified domain names,
English,
Spyware,
Experimental
lancelot-moon commented 6 years ago

It's a comic app. Actually he wants to report missed ads in app. You can see the Simplified Chinese: "广告"(= advertisement) in the screenshot.

Android app: http://www.manhuaren.com/download/android/dm5hw-2-2-5/

iOS app: https://itunes.apple.com/cn/app/man-hua-ren-wei-ai-man-hua/id940347474?l=zh&ls=1&mt=8

Please make rules for its Android app and iOS app. Thanks.

Alex-302 commented 6 years ago

In iOS we can block this ad with Facebook only: ||graph.facebook.com^

Alex-302 commented 6 years ago

On Android I see only empty placeholder.

Alex-302 commented 6 years ago

Please check on Android ||mangaapi.manhuaren.com/*/public/getMultiAdsStrategy

lancelot-moon commented 6 years ago

@Alex-302 @AdamWr

In iOS we can block this ad with Facebook only: ||graph.facebook.com^

No, it doesn't use ads from graph.facebook.com. I suggest that you try more...

Some ad requests are from: mangaapi.manhuaren.com/v1/public/getStartPageAds mangaapi.manhuaren.com/v1/public/getMultiAdsStrategy mangaapi.manhuaren.com/v1/public/getAditem mangaapi.manhuaren.com/v1/public/getAds <- This is blocked by rule "/getads" in AdGuard Base filter.

I had checked that the images from by218us.cdndm5.com/25 are all ad images. However, there are other general images under by218us.cdndm5.com/xx/xxxx.

So we can't add both mangaapi.manhuaren.com and by218us.cdndm5.com in the filter. When clicking ad images from by218us.cdndm5.com/25, it will lead to app store for downloading games.

We can first add rules for its Android app. Before testing my under rules, please first clear manhuaren app's data in Android's app setting. Please add under rules. For Android app: @ameshkov Please add them in AdGuard Base filter, not in Mobile Ads filter. /getStartPageAds /getMultiAdsStrategy /getAditem ||www.dm5.com/wxhfm.html^ ||by218us.cdndm5.com/25^ ||by218us.cdndm5.com/29^ ||jdd01.198game.net^$empty,important

Please add them in AdGuard Spyware filter. ||ulogs.umeng.com^ ||ulogs.umengcloud.com^ ||m.adtiming.com^ (Maybe there are other trackers or loggers. You can add rules for spyware by yourself.)

Please add them in Mobile Ads filter. (Update rules.) ||mangaapi.manhuaren.com/*/public/getGlobalConfig^$replace=/"(splashAdConfig|adConfig)"/"__\$1"/ ||mangaapi.manhuaren.com/*/public/getBaseurl^$replace=/"adsBaseurl"/"__adsBaseurl"/ ||mangaapi.manhuaren.com/*/public/getHome^$replace=/"bannerAd"/"__bannerAd"/ ||mangaapi.manhuaren.com/*/manga/getRank^$replace=/"(topAd|comicListAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/manga/getComment^$replace=/"(commentAd|hotCommentAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/manga/getHotComment^$replace=/"(commentAd|hotCommentAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/manga/getCategoryMangas^$replace=/"(topAd|comicListAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/book/getCategoryBooks^$replace=/"(topAd|bookListAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/book/getHome^$replace=/"bannerAd"/"__bannerAd"/ ||mangaapi.manhuaren.com/*/manga/getCommentByChapter^$replace=/"(commentAd|hotCommentAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/book/getCommentByChapter^$replace=/"(commentAd|hotCommentAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/public/getRecommendedGame^ ||mangaapi.manhuaren.com/*/manga/getRelease^$replace=/"comicListAd"/"__comicListAd"/ ||mangaapi.manhuaren.com/*/manga/getUpdate^$replace=/"comicListAd"/"__comicListAd"/ ||mangaapi.manhuaren.com/*/public/getBanner^$replace=/"(isShowAdSign|showAdSignUrl|ads)"/"__\$1"/ ||mangaapi.manhuaren.com/*/book/getRank^$replace=/"(topAd|bookListAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/book/getRelease^$replace=/"bookListAd"/"__bookListAd"/ ||mangaapi.manhuaren.com/*/book/getUpdate^$replace=/"bookListAd"/"__bookListAd"/ ||mangaapi.manhuaren.com/*/book/getComment^$replace=/"(commentAd|hotCommentAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/book/getHotComment^$replace=/"(commentAd|hotCommentAd)"/"__\$1"/ ||app.adjust.com^$empty,app=com.ilike.cartoon,important ||adsapi.manhuaren.com^ ||euadsapi.manhuaren.com^

Please add them in SDN filter. ||jdd01.198game.net^ ||sitemaji.com^ ||ulogs.umeng.com^ ||ulogs.umengcloud.com^ ||m.adtiming.com^ ||adsapi.manhuaren.com^ ||euadsapi.manhuaren.com^

Thanks.

lancelot-moon commented 6 years ago

For its iOS app, it's impossible to block all ads in app. We can maybe try to make some rules for blocking some trackers or loggers.

iOS users can add by218us.cdndm5.com in themselves blacklist, which can block the ad images from by218us.cdndm5.com/25, but other some general images can't be loaded. (So we don't add ||by218us.cdndm5.com^ in official filters.)

The app provides the function of clearing cache. It's Simplified Chinese interface. If you are unable to find where the function of clearing cache is, I can tell you. iOS users need to first clear its cache before testing rules.

lancelot-moon commented 6 years ago

@Alex-302 The rules for its Android app there: https://github.com/AdguardTeam/AdguardFilters/issues/21078#issuecomment-413593319

For its iOS app: Please add them in SDN filter. ||h5.wannaplay.cn^ and below...

( Please first check the under doubtful domains and then decide if adding into SDN filter. Some of them are added in other popular hosts files. ex: http://1hosts.cf/ )

umeng.com or umengcloud.com is from a Chinese ad provider.

uop.umeng.com <- Some sub-domains of umeng.com in other popular hosts files k.l.bytedns.net <- It seems that it's related to Chinese DNS service... d.mob.com <- many sub-domains of mob.com in other popular hosts files init.sms.mob.com <- many sub-domains of mob.com in other popular hosts files api.share.mob.com <- in other popular hosts files ip-api.com <- Geolocation API, in other popular hosts files i.snssdk.com <- sub-domain: temai.snssdk.com in other popular hosts files settings.crashlytics.com <- in other popular hosts files

lancelot-moon commented 6 years ago

@Alex-302 I already made rules for you. Recently, I added $replace rules for hiding some space of ad banners. Ex: ||mangaapi.manhuaren.com/*/public/getHome^$replace=/"bannerAd"/"__bannerAd"/ The above rule can fully remove the ad banners on top. (Other banners on top are NOT ad banners.) Not just ad banners' images. No space of ad banners left on top.

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

`||mangaapi.manhuaren.com/*/manga/getRank^$replace=/"(topAd|comicListAd)"/"__\$1"/` The above rule can fully remove the ad banners in the category of hot rank. Not just ad banners' images. No space of ad banners left in hot rank.
Screenshots: ![image](https://i.imgur.com/ydBfiOS.png) ![image](https://i.imgur.com/M2tUmvV.png)

`||mangaapi.manhuaren.com/*/manga/getComment^$replace=/"commentAd"/"__commentAd"/` `||mangaapi.manhuaren.com/*/manga/getHotComment^$replace=/"hotCommentAd"/"__hotCommentAd"/` The above rule can fully remove the ad banners in the comments. Not just ad banners' images. No space of ad banners left in the comments.
Screenshot: ![image](https://i.imgur.com/Oz0jYdE.png)

But I only can't make a rule for hiding the big ad banner in the home page of app. Its ad image is from by218us.cdndm5.com/25. (**Other big banners whose images are NOT from by218us.cdndm5.com/25 are not ad banners! You can first clear its data in Android's app setting. Add ||by218us.cdndm5.com/25^ in the user filter of AdGuard and then enable AdGuard protection. Open the comic app. The big banner without an image is the ad banner. Its location is above "日漫大佬". Please see the screenshots.**) I can simply block the image but leave the space. Can you use $replace or any adblock rule syntax for hiding the space?
Screenshots: ![image](https://i.imgur.com/CVtlbFW.jpg) ![image](https://i.imgur.com/boAgyyq.jpg)

May you early deal with it? Thank you very much! For iOS users, they can add keywords in their router's URL filter. Router's URL filter can filter HTTP requests. Only ad images from by218us.cdndm5.com/25 won't be blocked. Almost all ads in the app can be blocked!
Screenshot: ![image](https://i.imgur.com/RqDQyII.png)

**AG Pro for iOS can block other ads in the app, except for below.** AG Pro for iOS can't block some ad banners which will lead to app store on top. AG Pro for iOS can't block ad images from by218us.cdndm5.com/25. AG Pro for iOS can't block an ad banner in the category of hot rank but can block it to lead to an ad page which asks if going to app store. AG Pro for iOS can't remove the 2 ad frames at the end when reading a comic. AG Pro for iOS can't block the 2 ad banners in my page. (One of the 2 ad banners will lead to an ad page on www.manhuaren.com. But we can't block www.manhuaren.com.)
lancelot-moon commented 6 years ago

@ameshkov @BlazDT @Alex-302 @AdamWr

We know the rule syntax of $replace for 1 keyword. For example, only 1 keyword: Replace "adNews" with "adNews". ||example.com/test/$replace=/"adNews"/"adNews"/

How can I use $replace if I want to replace several keywords in the same script? For example: I want to replace both "adNews" and "adbanners" in the same script. "adNews" -> "adNews" "adbanners" -> "adbanners"

What's the rule syntax? Thanks.

The 2 are in the same script. I don't know how to combine them. ||mangaapi.manhuaren.com/*/public/getGlobalConfig^$replace=/"splashAdConfig"/"__splashAdConfig"/ ||mangaapi.manhuaren.com/*/public/getGlobalConfig^$replace=/"adConfig"/"__adConfig"/

The 2 are in the same script. I don't know how to combine them. ||mangaapi.manhuaren.com/*/manga/getRank^$replace=/"topAd"/"__topAd"/ ||mangaapi.manhuaren.com/*/manga/getRank^$replace=/"comicListAd"/"__comicListAd"/

lancelot-moon commented 6 years ago

Nobody is here... ... ...

BlazDT commented 6 years ago

There is someone here. Can you post the content of the request of mangaapi... where you want those applied. We have to check with regex in this case. There is an open task to allow to apply two $replace rules.

lancelot-moon commented 6 years ago

You want to know the content of requests of manhuaren app. Why not install its Android and iOS app by yourself? https://github.com/AdguardTeam/AdguardFilters/issues/21078#issuecomment-412828928

  1. Without rules, run manhuaren app. Check where the ads are.

  2. For its Android app, clear its data in Android's app setting. For its iOS app, clear its cache in app and then reopen app. Need to refresh page in app.

  3. My rules are above. For its Android app: https://github.com/AdguardTeam/AdguardFilters/issues/21078#issuecomment-413593319

For its iOS app: https://github.com/AdguardTeam/AdguardFilters/issues/21078#issuecomment-414244822

The 2 are in the same script. Please combine them. I don't know how to do. ||mangaapi.manhuaren.com/*/public/getGlobalConfig^$replace=/"splashAdConfig"/"__splashAdConfig"/ ||mangaapi.manhuaren.com/*/public/getGlobalConfig^$replace=/"adConfig"/"__adConfig"/

The 2 are in the same script. Please combine them. ||mangaapi.manhuaren.com/*/manga/getRank^$replace=/"topAd"/"__topAd"/ ||mangaapi.manhuaren.com/*/manga/getRank^$replace=/"comicListAd"/"__comicListAd"/

  1. Add my rules in AG first, and then view filtering log after running manhuaren app. It's more convenient because I have made rules for you.

  2. If you don't believe my rules, you can check filtering log by yourself. As a developer of filters, do you not need to install apps? The issue is not opened by me. I'm just very enthusiastic.

  3. My rules almost cover all ads in the app. But I can't solve the space of a big ad banner above "日漫大佬". I only wish AdGuard team to please make a rule for hiding the space.

    Screenshot:

image

I can only block all ad banners' images (||by218us.cdndm5.com/25^ and ||by218us.cdndm5.com/29^) and forbid an ad page being opened (||jdd01.198game.net^$empty) when clicking the big ad banner. But there is an ad banner's space left in the home page of manhuaren app. I don't know where its script is. You're more professional than me. Please make a rule for hiding the space by yourself.

Other big banners are NOT ad banners. (Some other ad banners are on top banners or in the category of hot rank. I already use $replace rules for hiding them, otherwise space of ad banners is left.) https://github.com/AdguardTeam/AdguardFilters/issues/21078#issuecomment-414729779

lancelot-moon commented 6 years ago

I don't want to install the Chinese app in my now Android phone. I test it on my old device. Android v4.4.2.

Must first clear data and then refresh page in the app before testing rules!

On Android device, clear its data in Android's app setting.

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

It provides the function of clearing cache. The same location is for its Android and iOS app. Only for its iOS app, clear cache. For its Android app, it's better to clear data, not just clear cache.
Screenshots: ![image](https://i.imgur.com/E7nK2QI.png) ![image](https://i.imgur.com/rsxH3F4.png)

How to refresh page in app? On top, constantly press the screen, drop down the page and then loosen for refreshing page.
Screenshot: ![image](https://i.imgur.com/Hlza1mh.jpg)

lancelot-moon commented 6 years ago

The locations of ads in the app. (AdGuard is disabled.) You should know that ads are not from graph.facebook.com. And 1 rule is not enough.

When opening the app, jump a big ad image and a counter.

Screenshot: ![image](https://i.imgur.com/EV69SGk.jpg)

**During the process of starting the app, it has several ad sources. sitemaji.com is just one of them.** That's why I ask to add ||sitemaji.com^ in SDN filter. And also block www.dm5.com/wxhfm.html.
Screenshot: ![image](https://i.imgur.com/BLcPaWt.png)

1~3 ad banners on top, which will lead to google play (or app store).
Screenshot: ![image](https://i.imgur.com/rkcG9pN.jpg)

Click the button for entering the category of hot rank. An ad banner in hot rank.
Screenshot: ![image](https://i.imgur.com/F9c52FO.png)

The location of big ad banner is above "日漫大佬". I can only block all ad banners' images (||by218us.cdndm5.com/25^ and ||by218us.cdndm5.com/29^) and forbid an ad page being opened (||jdd01.198game.net^$empty) when clicking the big ad banner. But there is an ad banner's space left in the home page of manhuaren app. Please make a rule for hiding the space.
Screenshot: ![image](https://i.imgur.com/OvOtOPU.jpg)

An ad banner under "TOP 10".
Screenshot: ![image](https://i.imgur.com/epHzYXJ.jpg)

After entering a comic's category, an ad banner is randomly in the "detail" or "list". Several ads in "comment".
Screenshots: ![image](https://i.imgur.com/ZEwMUXB.jpg) ![image](https://i.imgur.com/EZf3M1e.jpg) ![image](https://i.imgur.com/JkSu658.png)

When reading any comics' content, 2 ad frames are at the end.
Screenshots: ![image](https://i.imgur.com/r1gHrBF.png) ![image](https://i.imgur.com/EGHj3jn.jpg)

After entering "novels", an ad banner is randomly in the "detail" or "list". Several ads in "comment".
Screenshots: ![image](https://i.imgur.com/QrR7rfc.png) ![image](https://i.imgur.com/tiyWASh.jpg)

After entering "my page", there are 2 ad banners.
Screenshot: ![image](https://i.imgur.com/mFYHHZ6.png)

lancelot-moon commented 6 years ago

@BlazDT

Hi, When could you install its Android and iOS app for testing my rules? I have listed all the locations of ads in the app. https://github.com/AdguardTeam/AdguardFilters/issues/21078#issuecomment-415283308

When you use my rules, you can check if the ads disappear.

Because I already solve almost all ads in the app, AdGuard team only need to make 1 rule for hiding the space of the big ad banner above "日漫大佬" and check the doubtful domains which were found when using its iOS app. Decide to add those doubtful domains in SDN filter or not. https://github.com/AdguardTeam/AdguardFilters/issues/21078#issuecomment-414244822

(Now the big ad banner above "日漫大佬" was recently disabled in its iOS app, but you can still find it in its Android app.)

Screenshot: ![image](https://i.imgur.com/OvOtOPU.jpg)

The 2 are in the same script. Please combine them if possible. I don't know how to do. `||mangaapi.manhuaren.com/*/public/getGlobalConfig^$replace=/"splashAdConfig"/"__splashAdConfig"/` `||mangaapi.manhuaren.com/*/public/getGlobalConfig^$replace=/"adConfig"/"__adConfig"/` The 2 are in the same script. Please combine them if possible. `||mangaapi.manhuaren.com/*/manga/getRank^$replace=/"topAd"/"__topAd"/` `||mangaapi.manhuaren.com/*/manga/getRank^$replace=/"comicListAd"/"__comicListAd"/`
BlazDT commented 6 years ago

I will try to check it tomorrow morning GMT+1.

lancelot-moon commented 6 years ago

Хорошо, спасибо!

The rules are ready there. It helps you to fast check and make rules for the issue. (ゝ∀・)

It's better to modify the label. He wanted to report missed ads in app, not incorrect blocking.

lancelot-moon commented 6 years ago

Today, it moved the big ad banner from above "日漫大佬" to above "好作大集結" in its Android app.

Screenshot: ![image](https://i.imgur.com/WjUK2ti.jpg)

BlazDT commented 6 years ago

App is stuck here, only reproduced first url which I added a commit:

https://ibb.co/far92p

Without knowing the language it is difficult to know what it wants from me.

lancelot-moon commented 6 years ago

Why do you only add 1 rule??? I already tell you about the location of ads in the app.

Sometimes it doesn't smoothly load page. Simply reopen the app.

Have you really see my screenshots? https://github.com/AdguardTeam/AdguardFilters/issues/21078#issuecomment-415283308

You said you can enter home page of the app. You must see ads somewhere. Those are Simplified Chinese interface. You need to see my screenshots. I have noted English in my screenshots, which helps you to know the locations of ads!

lancelot-moon commented 6 years ago

In your screenshot, it stuck in the category of novels.

I have taught you how to refresh page or simply reopen app. Try for several times. Everything will be fine.

lancelot-moon commented 6 years ago

First, do not enable AdGuard to check the locations of ads.

Can you open the home page?

Screenshot: ![image](https://i.imgur.com/rkcG9pN.jpg)

5 banners on top. Only 1~3 banners are ads, and others are comic photos. Enter hot rank. You'll see an ad banner there. Choose any comics there. 1 ad banner randomly appear in detail or list. Several ads banners in comments. Start to read a comic. Read the last vol. Drop down the page when reading comic. At the end, there are 2 ad frames. Go back to home page. Drop down the page. You'll see a big ad banner above "好作大集結". In novels, read any novels. 1 ad banner randomly appear in detail or list. Several ads banners in comments. Go to my page. There are 2 ad banners. (AdGuard's rule /getAds already blocked them.) Please see my screenshots. You'll know how to operate. We talk on telegram or skype if you still don't know the locations of ads!
ameshkov commented 6 years ago

@lancelot-moon could you please post the final set of rules you made? I guess we can combine them in one, but we need to see them all first.

ameshkov commented 6 years ago

Besides the replace rules, post the regular rules as well (i saw you mentioned a couple of ad domains there)

Regarding combining them, its done like this: example$replace=/(substr1|substr2)/__\$1/

BlazDT commented 6 years ago

I freshly installed the app and opened it several times (with clearing cache after a few tries) and never got to the homepage in their app. That is without AdGuard too. I only added one rule as I could only see that request.

As you know the app well (as we can't reproduce all requests and they are definitly are ad requests), I will add the rules when you post the final set.

lancelot-moon commented 6 years ago

Is it because you're in Europe? GDPR? When I run the app, I can see the request. adsapi.manhuaren.com.

But you live in Europe. Maybe that app will do the request to euadsapi.manhuaren.com. Does it maybe not allow European using it?

May you try Asain or US ip?

BlazDT commented 6 years ago

Yes, I'm in Europe.

Is this the full list without replace rules?

/getMultiAdsStrategy /getAditem ||www.dm5.com/wxhfm.html^ ||by218us.cdndm5.com/25^ ||by218us.cdndm5.com/29^ ||jdd01.198game.net^$empty

Please add them in AdGuard Spyware filter. ||ulogs.umeng.com^ ||ulogs.umengcloud.com^ ||m.adtiming.com^ (Maybe there are other trackers or loggers. You can add rules for spyware by yourself.)

"/ ||app.adjust.com^$empty,app=com.ilike.cartoon,important ||adsapi.manhuaren.com^ ||euadsapi.manhuaren.com^

Please add them in SDN filter. ||jdd01.198game.net^ ||sitemaji.com^ ||ulogs.umeng.com^ ||ulogs.umengcloud.com^ ||m.adtiming.com^ ||adsapi.manhuaren.com^ ||euadsapi.manhuaren.com^

lancelot-moon commented 6 years ago

Hi,

For its Android app, I updated the $replace rules. @ameshkov just taught me how to separately replace 2 keywords in the same script. https://github.com/AdguardTeam/AdguardFilters/issues/21078#issuecomment-413593319

For its iOS app, hope that you can decide if adding the doubtful domains into SDN filter. https://github.com/AdguardTeam/AdguardFilters/issues/21078#issuecomment-414244822

lancelot-moon commented 6 years ago

I use VPN for German ip. I can still normally open the app. I don't understand what happened with you.

Please try to solve the big ad banner above "好作大集結" in its Android app if possible.

Screenshot: ![image](https://i.imgur.com/WjUK2ti.jpg)

BTW, you can first add my rules in filters. I already give new $replace rules. Thanks.
BlazDT commented 6 years ago

Meanwhile added the rules you gave, SDN filter should update after a while after other filters were updated. I hope I didn't miss a rule.

lancelot-moon commented 6 years ago

Hi,

I saw that you additionally added 4 domains in filter. Duplication of ||settings.crashlytics.com^. I also didn't see client-api.matchinguu.com in the DNS requests when I used manhuaren app for iOS.

I see ||app.adjust.com^ and ||app.adjust.com^$empty,app=com.ilike.cartoon,important in Mobile Ads filter. Afterwards, I think... Is it better if only adding ||app.adjust.com^$empty? We delete ||app.adjust.com^ and ||app.adjust.com^$empty,app=com.ilike.cartoon,important. Usually app.adjust.com will lead to a page which asks if going to google play or app store after clicking the ad banner. So I think it's better to add ||app.adjust.com^$empty.

Honestly, ||app.adjust.com^ is in most hosts files. But maybe you don't want to block app.adjust.com on DNS level. So it's not in SDN filter.

https://github.com/AdguardTeam/AdguardFilters/issues/8900 @@||app.adjust.com^$domain=dawanda.com

Thanks.

BlazDT commented 6 years ago

Thanks for the notice regarding duplication. I found matchinguu.com request a while ago on some app (can't remember which one) and while checking my file for not-added rules yet I googled the request and it is a tracking request.

I'm not sure if SDN/DNS filter is converting ^$empty to ^ - therefore I added it that way. Maybe @Alex-302 can shed a bit of light here.

Please note "||app.adjust.com^" is currently excluded for the following platforms: ios, ext_safari, ext_android_cb

So adding it to SDN/DNS filter will very likely break something.

lancelot-moon commented 6 years ago

May you delete ||app.adjust.com^ and ||app.adjust.com^$empty,app=com.ilike.cartoon,important from Mobile Ads filter? I think that simply adding ||app.adjust.com^$empty in Mobile Ads filter is better.

Yes, maybe someone wants to go to google play or app store when clicking banners. We don't block app.adjust.com on DNS level.

Thanks.

lancelot-moon commented 6 years ago
  1. https://github.com/vokins/yhosts/blob/master/hosts.txt api.share.mob.com is in yhosts and other hosts files.

  2. Is it possible to remove the space of the big ad banner above "畅销热漫" in its Android app? (Sometimes the big ad banner changed its location. Now, the ad banner's image is about fake One-Punch Man. Chinese people made the infringing game of One-Punch Man. I think you can easy find the big ad banner in the home page of manhuaren Android app. When clicking it, it will lead to jdd01.198game.net. That's why I made the rule, ||jdd01.198game.net^$empty,important.)

    Screenshot:

image

My rules which you have added. For blocking the ad banner's image: ||by218us.cdndm5.com/25^ For forbidding leading to an ad page when clicking it: ||jdd01.198game.net^$empty,important But I only don't know how to remove the space of the big ad banner above "畅销热漫". May you try to solve it?

  1. Please modify the 2 rules in Mobile Ads filter. ||mangaapi.manhuaren.com/*/manga/getComment^$replace=/"commentAd"/"__commentAd"/ -> ||mangaapi.manhuaren.com/*/manga/getComment^$replace=/"(commentAd|hotCommentAd)"/"__\$1"/

||mangaapi.manhuaren.com/*/manga/getHotComment^$replace=/"hotCommentAd"/"__hotCommentAd"/ ->||mangaapi.manhuaren.com/*/manga/getHotComment^$replace=/"(commentAd|hotCommentAd)"/"__\$1"/

  1. Please additionally add the rules in Mobile Ads filter. ||mangaapi.manhuaren.com/*/manga/getCategoryMangas^$replace=/"(topAd|comicListAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/book/getCategoryBooks^$replace=/"(topAd|bookListAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/book/getHome^$replace=/"bannerAd"/"__bannerAd"/ ||mangaapi.manhuaren.com/*/manga/getCommentByChapter^$replace=/"(commentAd|hotCommentAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/book/getCommentByChapter^$replace=/"(commentAd|hotCommentAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/public/getRecommendedGame^ ||mangaapi.manhuaren.com/*/manga/getRelease^$replace=/"comicListAd"/"__comicListAd"/ ||mangaapi.manhuaren.com/*/manga/getUpdate^$replace=/"comicListAd"/"__comicListAd"/ ||mangaapi.manhuaren.com/*/public/getBanner^$replace=/"(isShowAdSign|showAdSignUrl|ads)"/"__\$1"/ ||mangaapi.manhuaren.com/*/book/getRank^$replace=/"(topAd|bookListAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/book/getRelease^$replace=/"bookListAd"/"__bookListAd"/ ||mangaapi.manhuaren.com/*/book/getUpdate^$replace=/"bookListAd"/"__bookListAd"/ ||mangaapi.manhuaren.com/*/book/getComment^$replace=/"(commentAd|hotCommentAd)"/"__\$1"/ ||mangaapi.manhuaren.com/*/book/getHotComment^$replace=/"(commentAd|hotCommentAd)"/"__\$1"/

Thanks.

lancelot-moon commented 6 years ago

@BlazDT

Excuse me. I modified and added some rules. https://github.com/AdguardTeam/AdguardFilters/issues/21078#issuecomment-415905821 May you deal with it? Thanks.

BlazDT commented 6 years ago

Done. Regarding the big banner I will try later if the app will finally connect.

lancelot-moon commented 6 years ago

Hi, really thank that you added my rules in filters.

I tried my VPN for a German IP. I could normally visit pages in the app with a German IP. I have no idea for your situation.

Screenshots: ![image](https://i.imgur.com/bOmq9FE.png) ![image](https://i.imgur.com/gJ3Gk8S.jpg)

Its cache will let us misunderstand that rules are not valid. It's necessary to first clear its data in Android's app setting. And then open it under AdGuard protection. With AG enabled, the ad image is blocked but leave space. The location of big ad banner is in its home page.
Screenshot: ![image](https://i.imgur.com/xbzMzXk.jpg)

Manhuaren app released v3.0.7 yesterday. My rules are still valid.
lancelot-moon commented 6 years ago

@BlazDT Do you enable "Do not filter websites with EV certificate" in HTTPS filtering of AG? That's maybe why manhuaren app couldn't normally open its pages. If yes, you can try to disable "Do not filter websites with EV certificate".

I don't know if your Android device's traffic is through a proxy server which is filtered by AG for Windows... When I enable "Do not filter websites with EV certificate" in HTTPS filtering of AG for Windows, manhuaren app couldn't normally open its pages. https://github.com/AdguardTeam/AdguardForWindows/issues/2326#issuecomment-419713366

adguard-bot commented 5 years ago

Issue URL (Ads)

http://www.manhuaren.com/

Comment

Username: @ooggininder

Download the app from web, enter the app show ads like last pic, choose any comic,table of contents page has ads, every chapter end page or between chapters have ads, Adguard did work but not show at statusbar

Screenshots

Screenshot 1 ![Screenshot 1](https://reports-img.adguard.com/WM2K4SJ.jpg)
Screenshot 2 ![Screenshot 2](https://reports-img.adguard.com/2nBKS1b.jpg)
Screenshot 3 ![Screenshot 3](https://reports-img.adguard.com/HhY8vGV.jpg)
Screenshot 4 ![Screenshot 4](https://reports-img.adguard.com/rEKA1Ou.jpg)

System configuration

Information value
Platform: And 8.1.0
AdGuard version: 2.12.247
Browser: Chrome
AdGuard mode: VPN
Filtering quality: High-quality
HTTPS filtering: enabled
DNS requests blocking: disabled
Filters: Filter unblocking search ads and self-promotion,
AdGuard Mobile Ads,
AdGuard Annoyances,
AdGuard Simplified domain names,
AdGuard Base,
(Obsolete) Anti-Adblock Killer
Reek,
AdGuard Spyware,
AdGuard Social Media
Other extensions used: 漫畫人
lancelot-moon commented 5 years ago

No ad in the latest manhuaren app v3.1.2. My rules still work well.

Screenshot: ![image](https://i.imgur.com/igH75El.jpg)

About the screenshot, it's the app's promotion notification, not an ad.
Screenshot: ![image](https://camo.githubusercontent.com/e2727134c5b0cb27209f0ab8fa923446bea1ad26/68747470733a2f2f7265706f7274732d696d672e616467756172642e636f6d2f72454b41314f752e6a7067)

It's not frequent as long as click "Don't show the content in 3 days." Other paid users may wish the promotion for paid service. We shouldn't block it. **That user's AG VPN didn't normally work.** He should disable airplane mode and check AG VPN status in the VPN of Android settings. @AdamWr By the way, after clicking the big banner (The ad photo is blocked by my rule. Empty.), it had changed to use other ad.
Screenshots: ![image](https://i.imgur.com/LzIKhHy.png) ![image](https://i.imgur.com/ElA53Kz.jpg)

Please add `||cr01.178online.com^$empty,important` in Base filter. Thanks.
adguard-bot commented 5 years ago

Issue URL (Annoyance)

http://www.manhuaren.com

Comment

Username: @lancelot-moon

@AdamWr

When visiting the website, show the popup for downloading its app.

May you hide the annoyance? Thanks.

Screenshots

Screenshot 1 ![Screenshot 1](https://reports-img.adguard.com/HSklBeT.jpg)

System configuration

Information value
Platform: And 8.0
AdGuard version: v3.0.310η (1.3.261cl)
Browser: Chrome
AdGuard mode: VPN
Filtering quality: High-quality
HTTPS filtering: enabled
DNS requests blocking: disabled
Filters: EasyList China,
AdGuard Mobile Ads,
EasyPrivacy,
Fanboy's Annoyances,
AdGuard Annoyances,
AdGuard Simplified domain names,
AdGuard Base,
Adblock Warning Removal List,
Malware Domains,
Spam404,
Fanboy's Enhanced Tracking List,
CJX's Annoyance List,
I don't care about cookies,
NoCoin Filter List,
AdGuard Tracking Protection,
AdGuard Social Media,
AdGuard Japanese
AdamWr commented 5 years ago

When visiting the website, show the popup for downloading its app.

Fixed.