uBlockOrigin / uAssets

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

br.noticias.yahoo.com #9504

Closed ghost closed 3 years ago

ghost commented 3 years ago

Prerequisites

URL(s) where the issue occurs

https://br.noticias.yahoo.com/ministerio-publico-pf-vao-investigar-esquema-da-covaxin-213345377.html

Describe the issue

Video ad on Brazilian version of Yahoo News ### Screenshot(s)

image

Versions

Settings

Notes

liamengland1 commented 3 years ago

blocked with ||edgecast-vod.yimg.com/$media,redirect-rule=noopmp3-0.1s,domain=yahoo.com on my end (from uBlock filters)

ghost commented 3 years ago

https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#redirect-rule says that

The above filter will not cause a block filter to be created, only a redirect directive will be created. Standalone redirect directives are useful when the blocking of a resource is optional but we still want the resource to be redirected should it ever be blocked by whatever mean - whether through a separate block filter, a dynamic filtering rule, etc.

ghost commented 3 years ago

Try accessing from a Brazilian IP address.

liamengland1 commented 3 years ago

gorhill/uBlock/wiki/Static-filter-syntax#redirect-rule says that

The above filter will not cause a block filter to be created, only a redirect directive will be created. Standalone redirect directives are useful when the blocking of a resource is optional but we still want the resource to be redirected should it ever be blocked by whatever mean - whether through a separate block filter, a dynamic filtering rule, etc.

The preroll video is blocked/thwarted/stopped by the redirect filter. I don't see your point.

ghost commented 3 years ago

yahoo

ghost commented 3 years ago

I tested a few filters:

||edgecast-vod.yimg.com/$media,redirect=noop-0.1s.mp3,domain=s.yimg.com works, but may play a short blank video instead of the ad.

||edgecast-vod.yimg.com$media,domain=s.yimg.com or ||edgecast-vod.yimg.com/$media,domain=s.yimg.com completely work.

I suggest:

ghost commented 3 years ago

I can't reproduce it anymore.

ghost commented 3 years ago

I am getting videos ads on https://br.vida-estilo.yahoo.com/bem-humorado-silvio-santos-volta-a-gravar-no-sbt-161403621.html. This is the ad video URL https://s.yimg.com/cv/apiv2/AOS_BR2020/RCHLO_VINHO_CTA_16x9.mp4. Its' HTTP Referer is something like https://s.yimg.com/rx/vrm/builds/RANDOMNUMBERSHERE/xdomain-vpaid.html?id=0. The id parameter can change, but I don't know whether the numbers part changes.

ghost commented 3 years ago

The filter ||s.yimg.com/rx/vrm/builds/*/xdomain-vpaid.html does work.