1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-04 16:47:15 +02:00

Add resource for noop VMAP

Related issue:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1425

The resource content is a copy/paste of AdGuard's code:
- bc5eec1989/src/redirects/static-redirects.yml (L134)
This commit is contained in:
Raymond Hill 2020-12-29 09:05:28 -05:00
parent 48bf0ffb1b
commit 1669d122df
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 6 additions and 0 deletions

View File

@ -146,6 +146,10 @@ const redirectableResources = new Map([
alias: 'nooptext',
data: 'text',
} ],
[ 'noop-vmap1.0.xml', {
alias: 'noopvmap-1.0',
data: 'text',
} ],
[ 'outbrain-widget.js', {
alias: 'widgets.outbrain.com/outbrain.js',
} ],
@ -173,6 +177,7 @@ const extToMimeMap = new Map([
[ 'mp4', 'video/mp4' ],
[ 'png', 'image/png' ],
[ 'txt', 'text/plain' ],
[ 'xml', 'text/xml' ],
]);
const typeToMimeMap = new Map([

View File

@ -0,0 +1 @@
<vmap:VMAP xmlns:vmap="http://www.iab.net/videosuite/vmap" version="1.0"></vmap:VMAP>