Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 34a290b
Author: Yuki2718 <58900598+Yuki2718@users.noreply.github.com>
Date:   Mon Feb 7 19:14:02 2022 +0900

    update last commit

commit f34ffbc
Author: Yuki2718 <58900598+Yuki2718@users.noreply.github.com>
Date:   Mon Feb 7 19:05:17 2022 +0900

    Improve and rename canrunads.js

Related issue:
- AdguardTeam/Scriptlets#190

Related commit:
- e8bfc9a
  • Loading branch information
gorhill committed Feb 7, 2022
1 parent 128ec3a commit ef25f30
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/js/redirect-engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,7 @@ const redirectableResources = new Map([
} ],
[ 'ampproject_v0.js', {
alias: 'ampproject.org/v0.js',
} ],
[ 'canrunads.js', {
data: 'text',
} ],
} ],
[ 'chartbeat.js', {
alias: 'static.chartbeat.com/chartbeat.js',
} ],
Expand Down Expand Up @@ -176,6 +173,9 @@ const redirectableResources = new Map([
[ 'popads-dummy.js', {
data: 'text',
} ],
[ 'prebid-ads.js', {
data: 'text',
} ],
[ 'scorecardresearch_beacon.js', {
alias: 'scorecardresearch.com/beacon.js',
} ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
(function() {
'use strict';
window.canRunAds = true;
window.isAdBlockActive = false;
})();

0 comments on commit ef25f30

Please sign in to comment.