Skip to content

Commit

Permalink
Add resource aliases for increased compatibility with AdGuard lists
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jun 29, 2023
1 parent e6521a8 commit 7867c25
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/js/redirect-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down

0 comments on commit 7867c25

Please sign in to comment.