AdguardTeam / AdguardFilters

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

www.tyla.com #161263

Closed adguard-bot closed 1 year ago

adguard-bot commented 1 year ago

Issue URL (Annoyance)

https://www.tyla.com/news/apple-iphone-leave-phone-on-charge-sleep-warning-809546-20230814

Comment

Username: @arturstat

Screenshots

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

System configuration

Information value
Platform: Android 33
AdGuard product: AdGuard for Android v4.1.101;4.1.101
Browser: Chrome
AdGuard mode: VPN
Filtering quality: High-quality
HTTPS filtering: enabled
Stealth mode options: Hide your search queries,
Send Do-Not-Track header,
Remove X-Client-Data header from HTTP requests,
Block third-party Authorization header,
Self-destructing first-party cookies (4320),
Self-destructing third-party cookies (180),
Disable cache for third-party requests,
Hide your Referrer from third-parties (),
Hide your Referrer from third-parties,
Hide your User-Agent ()
DNS filtering: server: quic://dns.nextdns.io
filters: https://filters.adtidy.org/android/filters/15_optimized.txt
Filters: Ad Blocking:
AdGuard Base,
AdGuard Mobile Ads

Privacy:
AdGuard URL Tracking,
AdGuard Tracking Protection

Social Widgets:
AdGuard Social Media

Annoyances:
AdGuard Cookie Notices,
AdGuard Other Annoyances,
AdGuard Widgets,
AdGuard Popups,
AdGuard Mobile App Banners

Security:
Online Malicious URL Blocklist,
NoCoin Filter List

Language-specific:AdGuard Chinese,
AdGuard Ukrainian,
AdGuard German,
AdGuard Dutch,
AdGuard Russian,
AdGuard French,
AdGuard Japanese,
AdGuard Turkish,
AdGuard Spanish/Portuguese,
Bulgarian list,
EasyList Hebrew,
EasyList Italy,
Adblock List for Finland,
AdBlockID,
Latvian List,
EasyList Lithuania,
Frellwit's Swedish Filter,
Estonian List,
Polish Anti Adblock Filters,
IndianList,
Macedonian adBlock Filters,
EasyList Czech and Slovak,
Hungarian,
EasyList Thailand,
Persian Blocker,
ABPVN List,
Liste AR,
List-KR,
Official Polish filters for AdBlock, uBlock Origin & AdGuard,
Dandelion Sprout's Nordic Filters
Userscripts: https://userscripts.adtidy.org/release/adguard-extra/1.0/adguard-extra.meta.js,
https://userscripts.adtidy.org/release/disable-amp/1.0/disable-amp.meta.js
arturstat commented 1 year ago

@Alex-302 To reproduce try clearing browser data first. Thank you.

Alex-302 commented 1 year ago

I open in private tabs. I did not visit this site before. Where do you live or which VPN location do you use?

arturstat commented 1 year ago

@Alex-302 I live in Portugal.

Alex-302 commented 1 year ago

I see this message only with disabled AdGuard. Please test in user rules: tyla.com#%#alert('adg js rule'); Expected result- the popup with adg js rule text.

arturstat commented 1 year ago

@Alex-302 Yes, I see a pop-up twice.

Screenshot_20230914_194249_Chrome Screenshot_20230914_194303_Chrome

Alex-302 commented 1 year ago

Replaced by another rule. Please check for updats after an hour.

arturstat commented 1 year ago

@Alex-302 Now It works. Thank you.

adguard-bot commented 1 year ago

Issue URL (Incorrect Blocking)

https://www.tyla.com/news/apple-iphone-leave-phone-on-charge-sleep-warning-809546-20230814

Comment

Username: @arturstat

Can't play videos. Must accept cookies first. Additionally, the videos are blocked by the following filters: AdGuard base filter; Korean filter; French filter; Polish filter; AdGuard DNS filter.

Screenshots

Screenshot 1 ![Screenshot 1](https://cdn.adguard.info/sitereports/sj8go9bia28skwgcwoc00ksgksck80wclpga3gks7k.jpg?nc=1)
Screenshot 2 ![Screenshot 2](https://cdn.adguard.info/sitereports/dlqk0ywbyc08s44kokcggkgwcocgg8w25fccoc3p6z.jpg?nc=1)

System configuration

Information value
Platform: Android 33
AdGuard product: AdGuard for Android v4.1.101;4.1.101
Browser: Chrome
AdGuard mode: VPN
Filtering quality: High-quality
HTTPS filtering: enabled
Stealth mode options: Hide your search queries,
Send Do-Not-Track header,
Remove X-Client-Data header from HTTP requests,
Block third-party Authorization header,
Self-destructing first-party cookies (4320),
Self-destructing third-party cookies (180),
Disable cache for third-party requests,
Hide your Referrer from third-parties (),
Hide your Referrer from third-parties,
Hide your User-Agent ()
DNS filtering: server: https://dns.cloudflare.com/dns-query
Filters: Ad Blocking:
AdGuard Mobile Ads

Privacy:
AdGuard URL Tracking,
AdGuard Tracking Protection

Social Widgets:
AdGuard Social Media

Annoyances:
AdGuard Other Annoyances,
AdGuard Widgets,
AdGuard Popups,
AdGuard Mobile App Banners

Security:
Online Malicious URL Blocklist,
NoCoin Filter List

Language-specific:AdGuard Chinese,
AdGuard Ukrainian,
AdGuard German,
AdGuard Dutch,
AdGuard Russian,
AdGuard Japanese,
AdGuard Turkish,
AdGuard Spanish/Portuguese,
Bulgarian list,
EasyList Hebrew,
EasyList Italy,
Adblock List for Finland,
AdBlockID,
Latvian List,
EasyList Lithuania,
Frellwit's Swedish Filter,
Estonian List,
IndianList,
Macedonian adBlock Filters,
EasyList Czech and Slovak,
Hungarian,
EasyList Thailand,
Persian Blocker,
ABPVN List,
Liste AR,
Dandelion Sprout's Nordic Filters
Userscripts: https://userscripts.adtidy.org/release/adguard-extra/1.0/adguard-extra.meta.js,
https://userscripts.adtidy.org/release/disable-amp/1.0/disable-amp.meta.js
arturstat commented 1 year ago

Issue https://github.com/AdguardTeam/AdguardFilters/issues/161220 is similar to this one.

Alex-302 commented 1 year ago

Add @@||micro.rubiconproject.com^ to DNS user rules.

arturstat commented 1 year ago

@Alex-302 It is not working because one must accept cookies first. After disabling cookies filter and accepting cookies, it works! Can we add a rule to accept cookies? Thank you.

arturstat commented 1 year ago

@Alex-302 Can't we find an alternative solution? One which does not involve unblocking micro.rubiconproject.com? @AdamWr proposed a rule to workaround the DNS blocking here https://github.com/AdguardTeam/AdguardFilters/issues/161220#issuecomment-1712820914 Maybe we can use something similar here.

AdamWr commented 1 year ago

These rules:

tyla.com#%#//scriptlet('set-constant', 'pbjs.rp', 'noopFunc')
tyla.com#%#//scriptlet('set-constant', 'pbjs.rp.requestVideoBids', 'noopFunc')
tyla.com#%#//scriptlet('prevent-element-src-loading', 'script', 'adsafeprotected')
tyla.com#%#//scriptlet('adjust-setTimeout', 'e()', '3500', '0.001')
tyla.com#%#(()=>{const c=function(){[...arguments].forEach((c=>{if("function"==typeof c)try{c(!0)}catch(c){console.debug(c)}}))},n=[];n.push=c,window.PQ={cmd:n,getTargeting:c}})();

work fine on my end, though sometimes it may take few seconds until video player will be loaded.

arturstat commented 1 year ago

@AdamWr Your suggestion also works for me! However, we still need to accept cookies. Can you suggest a rule to deal with this?

AdamWr commented 1 year ago

We already have a rule:

consent.tyla.com,consent.gamingbible.com,consent.ladbible.com#%#//scriptlet('trusted-click-element', '.message-component > button[title="Accept 🍪"]')

to close cookie notice automatically and it works fine on my end.

arturstat commented 1 year ago

@AdamWr After clearing browser data, the videos do not play. I have to disable cookies filter, and manually accept cookies. After this, the videos play. Something is wrong here!

AdamWr commented 1 year ago

I have checked it out few times on Android and Windows in incognito mode and every time cookie notice was closed automatically and video worked correctly, so I cannot reproduce this issue on my end.

arturstat commented 1 year ago

@AdamWr On desktop Edge browser, everything works fine. The issue is on Android. Can we try alternatives?

AdamWr commented 1 year ago

I don't know, because I cannot reproduce it on my Android device.

After clearing browser data, the videos do not play. I have to disable cookies filter, and manually accept cookies.

As far as I understand, something is blocking a cookie notice, but it's not the case on my end, so I don't have idea what causes a problem.

arturstat commented 1 year ago

We already have a rule:

consent.tyla.com,consent.gamingbible.com,consent.ladbible.com#%#//scriptlet('trusted-click-element', '.message-component > button[title="Accept 🍪"]')

to close cookie notice automatically and it works fine on my end.

@AdamWr After more testing, I conclude that the cookie rule is not working for me. If I disable the cookies filter, I can accept cookies manually, and the video plays. Would a user rule to override the existing cookie rule be possible? Otherwise I will have to disable the cookies filter alltogether.

AdamWr commented 1 year ago

To disable the automatically closing cookie notice rule, you can add this rule:

consent.tyla.com#@%#//scriptlet('trusted-click-element', '.message-component > button[title="Accept 🍪"]')

to user rules.

arturstat commented 1 year ago

@AdamWr It works! Thank you.

arturstat commented 1 year ago

@AdamWr I need user rules to override these rules:

consent.unilad.com,consent.tyla.com,consent.gamingbible.com,consent.ladbible.com#%#//scriptlet('trusted-click-element', '.message-component > button[title="Accept 🍪"]') consent.sportbible.com#%#//scriptlet('trusted-click-element', '.message-component > button[aria-label$="Settings"]') consent.sportbible.com#%#//scriptlet('trusted-click-element', '.message-component > button.sp_choice_type_SAVE_AND_EXIT')

These rules are working perfectly on the desktop browser. However, they are not working as intended on android. I have to manually accept cookies, otherwise videos won't play. For the other websites, I tried rules similar to the one above, but wasn't able to get them working. Can you help? Please. Thank you.

AdamWr commented 1 year ago

These rules should work:

consent.unilad.com,consent.tyla.com,consent.gamingbible.com,consent.ladbible.com#@%#//scriptlet('trusted-click-element', '.message-component > button[title="Accept 🍪"]')
consent.sportbible.com#@%#//scriptlet('trusted-click-element', '.message-component > button[aria-label$="Settings"]')
consent.sportbible.com#@%#//scriptlet('trusted-click-element', '.message-component > button.sp_choice_type_SAVE_AND_EXIT')

By the way, to disable a #%# rule, it's necessary to add @ after first # -> #@%#.

arturstat commented 1 year ago

@AdamWr Thanks a lot for the tip. Added the rules, however these two websites are not working as expected:

sportbible.com gamingbible.com

The first appears to have the cookie popup blocked somewhere, possibly AdGuard DNS filter. In the second, the cookie popup appears and disappears almost instantly.

All five websites work perfectly under desktop browser, no user rules needed. The filters are same, except I dont use AdGuard DNS filter on desktop browser.

Please help. Thank you.

arturstat commented 1 year ago

@AdamWr The gamingbible.com rule is duplicated here:

https://github.com/AdguardTeam/AdguardFilters/blob/711bfa51233903841bfb5f10ee9c8503949bacfb/AnnoyancesFilter/Cookies/sections/cookies_specific.txt#L211C1-L211C4

this is most likely the reason, the user rule is not working. Would you like to delete the duplicated rule? Please advise on how we should proceed. Thank you.

AdamWr commented 1 year ago

Does it work if you disable AdGuard Cookie Notices filter/AdGuard Annoyances filter?

The gamingbible.com rule is duplicated here:

What do you mean that it's duplicated? There are few rules for this website, but all seems to be different (might be required for different cases, I guess). To disable it, please try to add:

consent.gamingbible.com#@%#//scriptlet('trusted-click-element', 'button.sp_choice_type_11')

to user rules.

arturstat commented 1 year ago

@AdamWr After adding that rule it works. Added that rule to the desktop browser extension, and it still deals with the cookie. This suggests that the rule is duplicated. But I cannot say for sure.

As regards sportbible.com, disabled AdGuard DNS filter without any difference in results. This suggests AdGuard DNS filter is not the culprit. But sportbible.com is also referenced here:

https://github.com/AdguardTeam/AdguardFilters/blob/124772b3a2b7505f4ea22fcd6c88d4a65f97351d/AnnoyancesFilter/Cookies/sections/cookies_specific.txt#L206

Unfortunately, I dont know what this code means.

arturstat commented 1 year ago

@AdamWr Disabling AdGuard Cookie Notices filter shows the cookie popup on sportbible.com.

arturstat commented 1 year ago

@AdamWr After adding rule @@/wrapperMessagingWithoutDetection.js$script,domain=sportbible.com it now works as intended. Thanks for the tips.

AdamWr commented 1 year ago

Okay, I can reproduce issue on sportbible.com, so I have changed the rule (filters update should be available in 1-2 hours). Thank you for pointing this out and sorry for late reply.