AdguardTeam / AdguardForiOS

The most advanced ad blocker for iOS
https://adguard.com/
GNU General Public License v3.0
1.39k stars 200 forks source link

URL unblocking rule does not work #2337

Closed adguard-bot closed 1 week ago

adguard-bot commented 1 month ago

Issue URL (Anti Adblock Script)

https://www.bilinovel.com/novel/3095/catalog

Comment

Once you open https://www.bilinovel.com/novel/3095/catalog, the website will say it has detected an adblocker and prevents further access. Username: @zwchen7

Environment

iPhone XR, iOS 15.7.1 iPhone XS, iOS 17.5.1

Screenshots

Screenshot 1 ![Screenshot 1](https://cdn.adguard.info/sitereports/h2j4vkgay08o08c0ck0wkk8woogcgkkpfnf363cmio.png?nc=1)

How to reproduce

Expected result

Request to pagead2.googlesyndication.com/pagead/js/adsbygoogle.js is bypassed by AdGuard due to unblocking rule @@||pagead2.googlesyndication.com/pagead/js/adsbygoogle.js$domain=bilinovel.com in AdGuard Chinese filter (https://filters.adtidy.org/ios/filters/224_optimized.txt)

Actual result

Request to pagead2.googlesyndication.com/pagead/js/adsbygoogle.js is blocked by AdGuard

Original configuration ### System configuration Information | Value --- | --- AdGuard product: | AdGuard for iOS v4.5.3 System version: | Iphone 12, iOS 17 License type: | paid DNS filtering: | disabled Filters: | Ad Blocking:
AdGuard Base,
AdGuard Mobile Ads,
EasyList

Privacy:
AdGuard Tracking Protection

Annoyances:
AdGuard Annoyances,
AdGuard Cookie Notices,
AdGuard Popups,
AdGuard Mobile App Banners,
AdGuard Other Annoyances,
AdGuard Widgets,
Fanboy's Annoyances,
Adblock Warning Removal List,
EasyList Cookie List,
Dandelion Sprout's Annoyances List

Security:
Phishing URL Blocklist,
Scam Blocklist by DurableNapkin,
uBlock Origin – Badware risks

Language-specific:
AdGuard Japanese,
AdGuard Chinese,
EasyList China,
xinggsf
Alex-302 commented 4 weeks ago

@@||pagead2.googlesyndication.com/pagead/js/adsbygoogle.js$domain=bilinovel.com from https://filters.adtidy.org/ios/filters/224_optimized.txt is not applied by AdGuard for iOS.

Reproduced only on iOS with Base + AdGuard Chinese filters. Not reproduced in Safari for Mac - there used the same rule. Not reproduced with EasyList + AdGuard Chinese filter. Maybe related to low limit of the filter size?

Alex-302 commented 1 week ago

Another case

image

! https://github.com/AdguardTeam/AdguardFilters/issues/96832
g-pc.info#%#//scriptlet('set-constant', 'adsbygoogle.loaded', 'true')
!+ PLATFORM(ios, ext_android_cb, ext_safari)
@@||pagead2.googlesyndication.com/pagead/js/adsbygoogle.js$domain=g-pc.info

Not reproduced with AdGuard for Safari.

Alex-302 commented 1 week ago

Another problem https://github.com/AdguardTeam/AdguardFilters/issues/181976#issuecomment-2191897033

@@||challenges.cloudflare.com/turnstile/$script is not applied

image

NOTE: Check this issue with $third-party,script,domain=readcomiconline.li in the User Filter.

Versty commented 1 week ago

This issue is specific to iOS 17 and is reproducible on our side as well. When AdGuard Base and AdGuard Chinese filters are enabled, the 10MB size limit for the general content blocker is exceeded. In this case, rules over the limit are ignored and do not appear in the content blocker.

We limited the size of content blockers to 10MB exclusively for iOS 17 due to Apple's bug mentioned in AdGuard for iOS 4.5.1 release notes. Once the bug is fixed, we will remove the limit.