Package: openshot-qt / 2.4.3+dfsg1-1

0002-Do-not-use-google-analytics-in-docs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: "Dr. Tobias Quathamer" <toddy@debian.org>
Date: Sat, 28 Oct 2017 21:19:16 +0200
Subject: Do not use google analytics in docs

---
 doc/_templates/layout.html | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
index a88c33a..0c20a37 100644
--- a/doc/_templates/layout.html
+++ b/doc/_templates/layout.html
@@ -3,16 +3,4 @@
 
 {% block footer %}
     {{ super() }}
-    <script type="text/javascript">
-      // Google Analytics
-      var _gaq = _gaq || [];
-      _gaq.push(['_setAccount', 'UA-4381101-5']);
-      _gaq.push(['_trackPageview']);
-
-      (function() {
-        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-      })();
-    </script>
-{% endblock %}
+{% endblock %}
\ No newline at end of file