Skip to content

Commit 95dfab5

Browse files
yarikopticrebecca-palmer
authored andcommitted
Avoid privacy breach by Google Analytics
Last-Update: Mon, 23 Oct 2017 08:55:28 +0200 Gbp-Pq: Name deb_disable_googleanalytics
1 parent d7509e9 commit 95dfab5

File tree

2 files changed

+4
-51
lines changed

2 files changed

+4
-51
lines changed

doc/source/themes/nature_with_gtoc/layout.html

-11
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,4 @@ <h3 style="margin-top: 1.5em;">{{ _('Search') }}</h3>
9494
});
9595
});
9696
</script>
97-
<script type="text/javascript">
98-
var _gaq = _gaq || [];
99-
_gaq.push(['_setAccount', 'UA-27880019-2']);
100-
_gaq.push(['_trackPageview']);
101-
102-
(function() {
103-
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
104-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
105-
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
106-
})();
107-
</script>
10897
{% endblock %}

pandas/tests/io/data/spam.html

+4-40
Original file line numberDiff line numberDiff line change
@@ -27,45 +27,9 @@
2727

2828
<link rel="stylesheet" href="/ndb/static/css/main.css" />
2929

30-
<script type="text/JavaScript">
31-
var _gaq = _gaq || [];
32-
// NAL
33-
_gaq.push(['_setAccount', 'UA-28627214-1']);
34-
_gaq.push(['_setDomainName', 'nal.usda.gov']);
35-
_gaq.push(['_setAllowLinker', true]);
36-
_gaq.push(['_trackPageview']);
37-
//
38-
// _gaq.push(['_setAccount', 'UA-3876418-1']);
39-
// _gaq.push(['_trackPageview']);
40-
// for NDB
41-
_gaq.push(['_setAccount', 'UA-36442725-1']);
42-
_gaq.push(['_trackPageview']);
43-
// USDA servers
44-
_gaq.push(['_setAccount', 'UA-466807-3']);
45-
_gaq.push(['_setDomainName', 'usda.gov']);
46-
_gaq.push(['_setAllowLinker', true]);
47-
_gaq.push(['_trackPageview']);
48-
//
49-
_gaq.push(['a._setAccount', 'UA-27627304-18']);
50-
_gaq.push(['a._setDomainName', 'usda.gov']);
51-
_gaq.push(['a._setAllowLinker', true]);
52-
_gaq.push(['a._trackPageview']);
53-
//
54-
_gaq.push(['b._setAccount', 'UA-27627304-1']);
55-
_gaq.push(['b._setDomainName', 'usda.gov']);
56-
_gaq.push(['b._setAllowLinker', true]);
57-
_gaq.push(['b._trackPageview']);
58-
59-
(function() {
60-
var ga = document.createElement('script'); ga.type =
61-
'text/javascript'; ga.async = true;
62-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' :
63-
'http://www') + '.google-analytics.com/ga.js';
64-
var s = document.getElementsByTagName('script')[0];
65-
s.parentNode.insertBefore(ga, s);
66-
})();
67-
</script>
68-
30+
<!-- google analytics snippet was completely removed by Debian maintainers.
31+
See http://lintian.debian.org/tags/privacy-breach-google-adsense.html
32+
for more information -->
6933

7034

7135
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
@@ -794,4 +758,4 @@ <h1>Nutrient data for 07908, Luncheon meat, pork with ham, minced, canned, inclu
794758
&nbsp;&nbsp;Software v.1.2.2
795759
</div>
796760
</body>
797-
</html>
761+
</html>

0 commit comments

Comments
 (0)