summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-08-26 09:10:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-08-26 09:12:24 +0000
commit8e471aa7e3ce668ac7589d86f58f50604808156b (patch)
tree92ec646c1b57baf209b987cc93ff8dc190daaade
parentRemoving Google Fonts in console.html for privacy reasons. (diff)
downloadnetdata-8e471aa7e3ce668ac7589d86f58f50604808156b.tar.xz
netdata-8e471aa7e3ce668ac7589d86f58f50604808156b.zip
Removing Google Tag Manager in console.html for privacy reasons.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/debian/0014-remove-googletagmanager.patch35
-rw-r--r--debian/patches/series1
2 files changed, 36 insertions, 0 deletions
diff --git a/debian/patches/debian/0014-remove-googletagmanager.patch b/debian/patches/debian/0014-remove-googletagmanager.patch
new file mode 100644
index 00000000..77a6b0d3
--- /dev/null
+++ b/debian/patches/debian/0014-remove-googletagmanager.patch
@@ -0,0 +1,35 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Subject: Remove Google Tag Manager for privacy reasons.
+
+diff -Naurp netdata.orig/web/gui/console.html netdata/web/gui/console.html
+--- netdata.orig/web/gui/console.html
++++ netdata/web/gui/console.html
+@@ -13,6 +13,7 @@
+ <link rel="icon" href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAP9JREFUeNpiYBgFo+A/w34gpiZ8DzWzAYgNiHGAA5UdgA73g+2gcyhgg/0DGQoweB6IBQYyFCCOGOBQwBMd/xnW09ERDtgcoEBHB+zHFQrz6egIBUasocDAcJ9OxWAhE4YQI8MDILmATg7wZ8QRDfQKhQf4Cie6pAVGPA4AhQKo0BCgZRAw4ZSBpIWJNI6CD4wEKikBaFqgVSgcYMIrzcjwgcahcIGRiPYCLUPBkNhWUwP9akVcoQBpatG4MsLviAIqWj6f3Absfdq2igg7IIEKDVQKEzN5ofAenJCp1I8gJRTug5tfkGIdR1FDniMI+QZUjF8Amn5htOdHCAAEGACE6B0cS6mrEwAAAABJRU5ErkJggg==" />
+ <!-- <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" /> -->
+ <!-- Google Tag Manager -->
++ <!--
+ <script>(function (w, d, s, l, i) {
+ w[l] = w[l] || []; w[l].push({
+ 'gtm.start':
+@@ -23,6 +24,7 @@
+ })(window, document, 'script', 'dataLayer', 'GTM-N6CBMJD');
+ window.dataLayer = window.dataLayer || [];
+ </script>
++ -->
+ <!-- End Google Tag Manager -->
+ <script>
+ function loadJSFile(filename) {
+@@ -48,10 +50,12 @@
+
+ <body class="mdc-theme--background mdc-typography">
+ <!-- Google Tag Manager (noscript) -->
++ <!--
+ <noscript>
+ <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-N6CBMJD" height="0" width="0"
+ style="display:none;visibility:hidden"></iframe>
+ </noscript>
++ -->
+ <!-- End Google Tag Manager (noscript) -->
+ <main id="app" class="console-app" data-host="agent"></main>
+ <script>
diff --git a/debian/patches/series b/debian/patches/series
index 6c2c906e..9b8d5cac 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,4 +11,5 @@ debian/0010-remove-googleanalytics.patch
debian/0011-remove-login.patch
debian/0012-remove-signin.patch
debian/0013-remove-googlefonts.patch
+debian/0014-remove-googletagmanager.patch
upstream/0001-allow-symlinks.patch