1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 12:57:57 +02:00

Squashed commit of the following:

commit 34a290bdd62013591b17efbd2320698b95925c00
Author: Yuki2718 <58900598+Yuki2718@users.noreply.github.com>
Date:   Mon Feb 7 19:14:02 2022 +0900

    update last commit

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

    Improve and rename canrunads.js

Related issue:
- https://github.com/AdguardTeam/Scriptlets/issues/190

Related commit:
- e8bfc9a031
This commit is contained in:
Raymond Hill 2022-02-07 07:05:44 -05:00
parent 128ec3a7e4
commit ef25f30b30
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
2 changed files with 5 additions and 4 deletions

View File

@ -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',
} ],
@ -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',
} ],

View File

@ -22,4 +22,5 @@
(function() {
'use strict';
window.canRunAds = true;
window.isAdBlockActive = false;
})();