mirror of https://github.com/gorhill/uBlock.git
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:
parent
48bf0ffb1b
commit
1669d122df
|
@ -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([
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<vmap:VMAP xmlns:vmap="http://www.iab.net/videosuite/vmap" version="1.0"></vmap:VMAP>
|
Loading…
Reference in New Issue