Skip to content

Commit

Permalink
Add noop resources for redirect purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Aug 24, 2024
1 parent 0a048eb commit 59a9a43
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/js/redirect-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
Home: https://github.com/gorhill/uBlock
*/

'use strict';

/******************************************************************************/

// The resources referenced below are found in ./web_accessible_resources/
Expand Down Expand Up @@ -159,8 +157,20 @@ export default new Map([
alias: 'nooptext',
data: 'text',
} ],
[ 'noop-vmap1.0.xml', {
alias: 'noopvmap-1.0',
[ 'noop-vast2.xml', {
alias: 'noopvast-2.0',
data: 'text',
} ],
[ 'noop-vast3.xml', {
alias: 'noopvast-3.0',
data: 'text',
} ],
[ 'noop-vast4.xml', {
alias: 'noopvast-4.0',
data: 'text',
} ],
[ 'noop-vmap1.xml', {
alias: [ 'noop-vmap1.0.xml', 'noopvmap-1.0' ],
data: 'text',
} ],
[ 'outbrain-widget.js', {
Expand Down
1 change: 1 addition & 0 deletions src/web_accessible_resources/noop-vast2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<VAST version="2.0"></VAST>
1 change: 1 addition & 0 deletions src/web_accessible_resources/noop-vast3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<VAST version="3.0"></VAST>
1 change: 1 addition & 0 deletions src/web_accessible_resources/noop-vast4.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<VAST version="4.0"></VAST>
File renamed without changes.

0 comments on commit 59a9a43

Please sign in to comment.