mirror of
https://github.com/AdguardTeam/AdguardFilters.git
synced 2026-08-31 12:23:36 +00:00
Fix #208242 mtv.fi
This commit is contained in:
@@ -2694,11 +2694,15 @@ kava.ee##.kava_ad_chilli
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/199220
|
||||
akaanseutu.fi##.kaupungin-tiedotteetsidebar
|
||||
akaanseutu.fi##.omamainos-products
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/208242
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/180756
|
||||
! Website validates VMAP using DOMParser, so the script below adds a valid VMAP if the argument is '{}'
|
||||
! and that argument is an empty object due to the prevent fetch rule
|
||||
mtv.fi#%#!function(){const r={apply:(r,o,e)=>(e[0]?.includes?.("{}")&&(e[0]="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<vmap:VMAP version=\"1.0\" xmlns:vmap=\"http://www.iab.net/videosuite/vmap\"><vmap:AdBreak timeOffset=\"start\" breakType=\"linear\" breakId=\"4f95e542-9da8-480e-8c2a-7ade1ffdcc3d\"><vmap:AdSource allowMultipleAds=\"true\" followRedirects=\"true\"><vmap:VASTAdData></vmap:VASTAdData></vmap:AdSource></vmap:AdBreak></vmap:VMAP>"),Reflect.apply(r,o,e))};window.DOMParser.prototype.parseFromString=new Proxy(window.DOMParser.prototype.parseFromString,r)}();
|
||||
mtv.fi#%#//scriptlet('trusted-replace-fetch-response', '/(<VAST[\s\S]*?>)[\s\S]*<\/VAST>/', '$1</VAST>', 'v.fwmrm.net/ad/')
|
||||
mtv.fi#%#//scriptlet('json-prune', 'playbackItem.isStitched')
|
||||
mtv.fi#%#//scriptlet('m3u-prune', '/https:\/\/prism-ads-cdn\.a2d\.tv\//', '.m3u8')
|
||||
||prism.a2d.tv/hls/media/*.m3u8?$hls=/https:\/\/prism-ads-cdn\.a2d\.tv\//,domain=mtv.fi
|
||||
!+ PLATFORM(windows, mac, android, ext_chromium, ext_opera)
|
||||
mtv.fi#%#//scriptlet('prevent-fetch', 'v.fwmrm.net')
|
||||
! https://github.com/AdguardTeam/AdguardFilters/issues/206215
|
||||
|
||||
Reference in New Issue
Block a user