Add resource aliases for increased compatibility with AdGuard lists

This commit is contained in:
Raymond Hill 2023-06-29 14:48:43 -04:00
parent e6521a8dfe
commit 7867c25128
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 9 additions and 2 deletions

View File

@ -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', {