[med-svn] [sga] 07/10: Remove Google addsense
Andreas Tille
tille at debian.org
Wed May 28 12:48:42 UTC 2014
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch debian
in repository sga.
commit ef3280ce819a93df09dd98dd8bf3f76cca7a56e5
Author: Andreas Tille <tille at debian.org>
Date: Wed May 28 09:42:13 2014 +0200
Remove Google addsense
---
debian/patches/0006-remove-google-addsense.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 22 insertions(+)
diff --git a/debian/patches/0006-remove-google-addsense.patch b/debian/patches/0006-remove-google-addsense.patch
new file mode 100644
index 0000000..07bdf42
--- /dev/null
+++ b/debian/patches/0006-remove-google-addsense.patch
@@ -0,0 +1,21 @@
+From: Andreas Tille <tille at debian.org>
+Date: Wed, 28 May 2014 07:40:21 +0200
+Subject: remove Google analytics spying JavaScript
+
+--- sga.orig/index.html
++++ sga/index.html
+@@ -93,14 +93,5 @@
+
+ </div>
+
+- <script type="text/javascript">
+-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+-</script>
+-<script type="text/javascript">
+-try {
+-var pageTracker = _gat._getTracker("UA-13173358-1");
+-pageTracker._trackPageview();
+-} catch(err) {}</script>
+ </body>
+ </html>
diff --git a/debian/patches/series b/debian/patches/series
index 80d6e4b..39bef58 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
0003-do-not-dist-unsup-script.patch
0004-Add-help-to-sga-bam2de.pl.patch
0005-Remove-extensions-on-scripts-we-ship.patch
+0006-remove-google-addsense.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/sga.git
More information about the debian-med-commit
mailing list