uBlockOrigin / uAssets

Resources for uBlock Origin, uMatrix: static filter lists, ready-to-use rulesets, etc.
GNU General Public License v3.0
4.2k stars 776 forks source link

trtizle.com: ads #21326

Closed byfrok closed 11 months ago

byfrok commented 11 months ago

Prerequisites

URL address of the web page

https://www.trtizle.com/canli/tv/trt-1

Category

ads

Description

in video tv ads

Other extensions used

Problems with in video ads appearing.

Screenshot(s)

Screenshot(s) ![Ekran Görüntüsü (6)](https://github.com/uBlockOrigin/uAssets/assets/141265987/8d1c8791-b9c5-4954-ad8b-3b507e90c55c)

Configuration

```yaml uBlock Origin: 1.54.0 Chromium: 120 filterset (summary): network: 106027 cosmetic: 54535 scriptlet: 21097 html: 0 listset (total-discarded, last-updated): default: user-filters: 5-0, never TUR-0: 13865-9, now easylist: 75311-37, now easyprivacy: 33075-71, now plowe-0: 3777-1138, now ublock-badware: 7601-138, now ublock-filters: 35848-189, now ublock-privacy: 929-12, now ublock-quick-fixes: 182-9, now ublock-unbreak: 2157-32, now urlhaus-1: 10690-0, now filterset (user): [array of 5 redacted] trustedset: removed: chrome-extension-scheme chrome-scheme hostRuleset: added: [array of 2 redacted] userSettings: advancedUserEnabled: true hiddenSettings: [none] supportStats: allReadyAfter: 1973 ms maxAssetCacheWait: 606 ms popupPanel: blocked: 38 network: ads-twitter.com: 1 bitmovin.com: 5 doubleclick.net: 10 facebook.net: 1 googleoptimize.com: 1 googletagmanager.com: 4 hotjar.com: 1 imasdk.googleapis.com: 2 netmera-web.com: 1 scorecardresearch.com: 10 serving-sys.com: 2 extended: ###daion-overlay-container ###daion-overlay ##.adLink ```
punisher018 commented 11 months ago

i can reproduce it with default settings too. About a minute after the video starts, an ad plays. Maybe geo-specific. That filter seems to have solved the problem. Try it @byfrok

||trt-live.daioncdn.net/trt1/ad/$xhr,domain=trtizle.com

byfrok commented 11 months ago

@punisher018 Thanks!

mapx- commented 11 months ago

@Yuki2718 for turkish list

byfrok commented 11 months ago

@punisher018 This happened about 2 hours after trying the filter, black screen and pixel dropping occurs after playing the video. Situations such as live broadcast freezing occur. Ekran Görüntüsü (8)

Yuki2718 commented 11 months ago

@byfrok Can you test ||trt-live.daioncdn.net/trt1/ad/$xhr,redirect=nooptext,domain=trtizle.com ?

byfrok commented 11 months ago

@Yuki2718 I tested the site. Filters work but video playback is paused when another window is opened. There maybe a problem with the site.

byfrok commented 11 months ago

After 20 minutes, I tried it in two tabs. The one on the left is without filter, the one on the right is with filter. Even though there is a filter, there is only no visual and ads are shown in the background, there are pauses. Ekran Görüntüsü (9)

Yuki2718 commented 11 months ago

Hmm, as I can't reproduce, IDK how to fix that. Does trtizle.com##+js(no-fetch-if, trt1/ad/) or trtizle.com##+js(no-xhr-if, trt1/ad/) work better?

byfrok commented 11 months ago

If it works on Twitch, maybe it will work here too.

byfrok commented 11 months ago

Here's everything I do, the site could crash at any moment... Ekran Görüntüsü (10)

punisher018 commented 11 months ago

this one works perfectly for me. Thanks @Yuki2718

trtizle.com##+js(no-xhr-if, trt1/ad/)

@byfrok delete all filters and add only this.

byfrok commented 11 months ago

@punisher018 Ok. Thanks!

byfrok commented 11 months ago

@punisher018 trtizle.com##+js(no-xhr-if, trt1/ad/) Ekran Görüntüsü (12) I tried this filter but it didn't work.

byfrok commented 11 months ago

The ads shown on the right tab are extra ads shown outside the live broadcast stream. This causes the live broadcast to go back 1-2 minutes. Ekran Görüntüsü (14)

punisher018 commented 11 months ago

@byfrok I'm a total amateur at this stuff. (As a Turkish citizen, I wanted to help when i saw a Turkish website 😄 ) But I can say that something is changing on the website side when the commercials start on TV broadcast.

I guess things get complicated when there are commercial breaks between programs on a TV channel. While you can watch programs, series, etc. without ads with the current filter (without the ad that comes out after about 1 minute), when there is a program break or ends, they offer different links to customize the ad (different links appear in the log) on the internet side and to advertise the "tabii" platform, which causes a black screen or freezes. If series trailers are playing during commercial breaks, the streaming works again (maybe have to refresh the page on here idk), but when the trailer ends and the commercial continues, the video freezes or goes back to black screen. When the show started, I watched it uninterrupted with the current filter. (even though I don't like this series😄 )

@Yuki2718 Have you tried to connect to this website with Turkey vpn?

Yuki2718 commented 11 months ago

Have you tried to connect to this website with Turkey vpn?

Sure, but the video never starts with my VPN.

kodiakhub commented 11 months ago

Hi @Yuki2718 for the Daioncdn ads the filter rule are exist, see:

Screenshot

![image](https://github.com/uBlockOrigin/uAssets/assets/56846906/71a635bc-6576-4e48-ae0c-07981e55450b)

punisher018 commented 11 months ago

@gorhill Could you look into it?

https://github.com/AdguardTeam/AdguardFilters/issues/146814#issuecomment-1855527821

gorhill commented 11 months ago

I use Mozilla VPN, it does not have Turkish servers.

uBO's m3u-prune scriptlet requires using m regex flag to properly target lines in the m3u file. Could the issue be that the filter is missing the m flag? The point of specifying that flag was to keep compatibility with the scriptlet's old behavior, but if the old behavior is no longer in use, I can wholly drop it and make the m flag behavior the default one.


If I can see the m3u file which contains the ads, I can step into the code with the content of that file to find out what is happening.

punisher018 commented 11 months ago

I don't know if you have done it before, but you can access my computer using teamviewer or a similar program if you want. Or if there's another way I can help, I'm open to suggestions. Note: Windscribe has free Turkiye proxy, ad displayed on website when I connect to this Turkiye proxy.

Yuki2718 commented 11 months ago

Did you test trtizle.com##+js(m3u-prune, /daioncdn\.net\/.*\/ad\//m, /daioncdn\.net\/.*\.m3u8/)?

kodiakhub commented 11 months ago

Did you test trtizle.com##+js(m3u-prune, /daioncdn\.net\/.*\/ad\//m, /daioncdn\.net\/.*\.m3u8/)?

Still not working, see:

Screenshot

![image](https://github.com/uBlockOrigin/uAssets/assets/56846906/8e8bd556-9a8e-413f-94d4-159975bf9dc9)

gorhill commented 11 months ago

If you see the m38 resource in the logger, you can click the link when hovering the URL to open that resource in a viewer. Maybe find the one with the ad/ one somewhere in a URL then share that content here.

byfrok commented 10 months ago

Trt izle site now redirects to Tabii site. Ads continue to appear on the site. www.tabii.com##.daion-ad.video-container-shaka I used this code. It gives a black screen during live broadcast. Ads continue to play in the background. Ekran Görüntüsü (16)

kodiakhub commented 10 months ago

@byfrok 👍 reported here https://github.com/AdguardTeam/AdguardFilters/issues/169327 maybe @Yuki2718 can update filter.


I don't have code technical knowledge, but if that helps, seems the source code of these ads exposed.

See: daion-static.ercdn.net/sdk/shaka/daion-shaka.min.js