From 7867c25128077067099ba64f0c15e846287dbaf8 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Thu, 29 Jun 2023 14:48:43 -0400 Subject: [PATCH] Add resource aliases for increased compatibility with AdGuard lists --- src/js/redirect-resources.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/js/redirect-resources.js b/src/js/redirect-resources.js index 34a85de18..86ad161df 100644 --- a/src/js/redirect-resources.js +++ b/src/js/redirect-resources.js @@ -98,13 +98,20 @@ export default new Map([ alias: 'google-analytics.com/inpage_linkid.js', } ], [ 'google-ima.js', { + alias: 'google-ima3', /* adguard compatibility */ } ], [ 'googlesyndication_adsbygoogle.js', { - alias: 'googlesyndication.com/adsbygoogle.js', + alias: [ + 'googlesyndication.com/adsbygoogle.js', + 'googlesyndication-adsbygoogle', /* adguard compatibility */ + ], data: 'text', } ], [ 'googletagservices_gpt.js', { - alias: 'googletagservices.com/gpt.js', + alias: [ + 'googletagservices.com/gpt.js', + 'googletagservices-gpt', /* adguard compatibility */ + ], data: 'text', } ], [ 'hd-main.js', {