Skip to content

Commit 59a9a43

Browse files
committed
Add noop resources for redirect purpose
Related discussion: uBlockOrigin/uAssets#25014 (comment)
1 parent 0a048eb commit 59a9a43

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

src/js/redirect-resources.js

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
Home: https://github.com/gorhill/uBlock
2020
*/
2121

22-
'use strict';
23-
2422
/******************************************************************************/
2523

2624
// The resources referenced below are found in ./web_accessible_resources/
@@ -159,8 +157,20 @@ export default new Map([
159157
alias: 'nooptext',
160158
data: 'text',
161159
} ],
162-
[ 'noop-vmap1.0.xml', {
163-
alias: 'noopvmap-1.0',
160+
[ 'noop-vast2.xml', {
161+
alias: 'noopvast-2.0',
162+
data: 'text',
163+
} ],
164+
[ 'noop-vast3.xml', {
165+
alias: 'noopvast-3.0',
166+
data: 'text',
167+
} ],
168+
[ 'noop-vast4.xml', {
169+
alias: 'noopvast-4.0',
170+
data: 'text',
171+
} ],
172+
[ 'noop-vmap1.xml', {
173+
alias: [ 'noop-vmap1.0.xml', 'noopvmap-1.0' ],
164174
data: 'text',
165175
} ],
166176
[ 'outbrain-widget.js', {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<VAST version="2.0"></VAST>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<VAST version="3.0"></VAST>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<VAST version="4.0"></VAST>

0 commit comments

Comments
 (0)