Merge pull request #1 from r3nor/main

Don't load googletagmanager
This commit is contained in:
DUO Labs
2022-04-30 13:03:24 -04:00
committed by GitHub

View File

@@ -132,6 +132,7 @@ find_and_replace('code/pp/pp.js','"\'$!|"))','"\'$!|"))||true')
#Don't load Google Analytics
find_and_replace('index.html','//www.google-analytics.com/analytics.js','')
find_and_replace('index.html', '//www.googletagmanager.com', '#')
#Allow the import of pictures of URLs (bypassing mirror.php)
find_and_replace('code/pp/pp.js','"mirror.php?url="+encodeURIComponent','')
@@ -142,4 +143,4 @@ find_and_replace('code/storages/dropboxStorage.html', 'var redirectUri = window.
#Remove Facebook Pixel Domains
find_and_replace('index.html','https://connect.facebook.net','')
find_and_replace('index.html','https://www.facebook.com','')
find_and_replace('index.html','https://www.facebook.com','')