Page 1 of 1

mtvuutiset.fi

Posted: Tue Nov 13, 2018 1:03 am
by peace2000
Hi again.

I need some help with this site. The problem is that ads are not always blocked when watching news clips.

Here is a sample:

Code: Select all

https://www.mtvuutiset.fi/artikkeli/michelle-obama-puhuu-avoimesti-26-vuotisesta-avioliitostaan-kertoo-hakeutuneensa-vaikeina-aikoina-parisuhdeterapiaan-se-oli-tukipisteeni/7161286
Detailed description:

When I try to open that clip, video ads appear sometimes and sometimes they are blocked by Easylist. Also everytime I pause that video, an ad based image is shown. It goes away when I resume the clip. The ad based image is always clickable (opens new tab).

At first I blocked both video ads and ad images with these two filters:

Code: Select all

||damoh.katsomo.fi^$media,domain=www.mtvuutiset.fi

Code: Select all

||damoh.katsomo.fi/*/*$image,domain=www.mtvuutiset.fi
Then I got an error when opening the clip "An error occurred when loading the player." Then I made a whitelist exception:

Code: Select all

@@||fi-mtv3.videoplaza.tv/proxy/distributor/*Uutisklipit%2Cmtv_uutiset$xmlhttprequest,domain=www.mtvuutiset.fi
Then it worked but when I tested without Easyprivacy filter it didn't work anymore. Easyprivacy had this filter which was also needed to make videos work:

Code: Select all

||adtlgc.com^$third-party
However at this point I still saw ads. They had a backup server(?) for them. So I blocked:

Code: Select all

||cloudfront.net/creatives/assets/$image,domain=www.mtvuutiset.fi

Code: Select all

||cloudfront.net/creatives/assets/$media,domain=www.mtvuutiset.fi
And no ads.

However when I pause the clip and click somewhere in the video a new tab is opened. So I don't see the ad image anymore but it's link is still there...
I blocked a new tab from opening with this filter:

Code: Select all

||fi-mtv3.videoplaza.tv/proxy/tracker/$popup,domain=www.mtvuutiset.fi
However it's annoying if you click somewhere in the video, browser tries to open a new tab even though it closes it immediately.
Also if I block those ad images I cannot continue playing the clip if I have paused it.

What would work for this?

Re: mtvuutiset.fi

Posted: Tue Nov 13, 2018 1:47 am
by smed79
I am geoblocked https://i.imgur.com/WNvM2H4.png

blind test this filter in uBo

Code: Select all

||svonm.com/hd-main.js$script,redirect=hd-main.js,domain=mtvuutiset.fi
I don't think that videoplaza.tv (ooyala.com) video ads can be handled by ABP (On the whole at the moment).

Re: mtvuutiset.fi

Posted: Tue Nov 13, 2018 2:12 am
by peace2000
Didn't help unfortunately.

I did ABP report if it helps: https://reports.adblockplus.org/bda9f8a ... 217ca60197 (I did not have those filters enabled I created)

I also created a report where all of those filters I created are enabled: https://reports.adblockplus.org/226b523 ... f43b05da8a (the whole video does not even start now with ABP but starts with Ubo)

Re: mtvuutiset.fi

Posted: Wed Nov 14, 2018 12:06 am
by peace2000
All right here are the filters for this site:

To block video ads:

Code: Select all

||damoh.katsomo.fi/*$media,redirect=noopmp3-0.1s,domain=mtvuutiset.fi
To block ad images during paused content:

Code: Select all

||damoh.katsomo.fi/*$image,redirect=noopmp3-0.1s,domain=mtvuutiset.fi

Code: Select all

||cloudfront.net/creatives/assets/$image,redirect=noopmp3-0.1s,domain=mtvuutiset.fi
To remove the remnant clickable popup opener area in videos, left by blocked ad images and to make paused video playback work again:

Code: Select all

mtvuutiset.fi##.mtv-player-ad-container
Note! This filter compilation works properly only for Ublock Origin.

Re: mtvuutiset.fi

Posted: Wed Nov 14, 2018 8:26 am
by intense
$image,redirect=noopmp3-0.1s is wrong.

redirecting to that resource is working only for $media

for $image you can block directly or use something like:

Code: Select all

$image,redirect=3x2-transparent.png
$image,redirect=2x2-transparent.png
$image,redirect=1x1-transparent.gif
and so on .. see other examples here:
https://github.com/uBlockOrigin/uAssets ... ilters.txt

read about redirection here:
https://github.com/gorhill/uBlock/wiki/ ... x#redirect

Re: mtvuutiset.fi

Posted: Wed Nov 14, 2018 8:29 am
by intense

Re: mtvuutiset.fi

Posted: Wed Nov 14, 2018 2:26 pm
by peace2000
Ok thank you for pointing that out!

Redirect in any form is not needed for those image ads. And the way how you added them to Ubock internal list is also compatible with ABP.

Just reposting them here:

Code: Select all

||damoh.katsomo.fi/*$image,domain=mtvuutiset.fi

Code: Select all

||cloudfront.net/creatives/assets/$image,domain=mtvuutiset.fi

Re: mtvuutiset.fi

Posted: Sun Nov 18, 2018 9:59 pm
by peace2000
A filter to block video ads on more MTV Oy domains (Ublock Origin only):

Code: Select all

||damoh.katsomo.fi/*$media,redirect=noopmp3-0.1s,domain=mtvuutiset.fi|mtv.fi|suomiareena.fi|www.studio55.fi|lumijapyry.fi
Filters to block paused image ads (more domains added):

Code: Select all

||damoh.katsomo.fi/*$image,domain=mtvuutiset.fi|mtv.fi|suomiareena.fi|www.studio55.fi|lumijapyry.fi

Code: Select all

||cloudfront.net/creatives/assets/$image,domain=mtvuutiset.fi

Code: Select all

mtvuutiset.fi,mtv.fi,suomiareena.fi,www.studio55.fi,lumijapyry.fi##.mtv-player-ad-container