Package: bazel-bootstrap / 4.2.3+ds-11

fix-privacy-issues.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Description: Correct privacy issues flagged by lintian
Author: Olek Wojnar <olek@debian.org>
Forwarded: not-needed
Last-Update: 2020-08-10

--- a/site/_includes/footer.html
+++ b/site/_includes/footer.html
@@ -3,12 +3,12 @@
     </footer>
 
     <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
-    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
+    <script src="/usr/share/javascript/jquery"></script>
     <!-- Include all compiled plugins (below), or include individual files as needed -->
     <script src="/assets/js/bootstrap.min.js"></script>
 
     <!-- Anchor JS -->
-    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/3.2.0/anchor.min.js"></script>
+    <script type="text/javascript" src="/usr/share/nodejs/core-js/stable/string/anchor.js"></script>
     <script>
       // Automatically add anchors and links to all header elements that don't already have them.
       anchors.add();
--- a/site/_includes/head.html
+++ b/site/_includes/head.html
@@ -8,9 +8,6 @@
 
     <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site_root }}">
 
-    <!-- Webfont -->
-    <link href="//fonts.googleapis.com/css?family=Source+Code+Pro:400,500,700|Open+Sans:400,600,700,800" rel="stylesheet">
-
     <link rel="shortcut icon" type="image/png" href="/images/favicon.ico">
 
     <!-- Bootstrap -->
@@ -20,8 +17,7 @@
     <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
     <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
     <!--[if lt IE 9]>
-      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
-      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+      <script src="/usr/share/nodejs/html5shiv/dist/html5shiv.min.js"></script>
     <![endif]-->
 
     <!-- Custom stylesheet -->
--- a/site/_layouts/documentation.html
+++ b/site/_layouts/documentation.html
@@ -417,9 +417,6 @@
       </div>
     </div>
 
-    <!-- Satisfaction Survey -->
-    <script async="" defer="" src="//www.google.com/insights/consumersurveys/async_survey?site=hihwpyy5e5kllsq62elzjrcgn4"></script>
-
     {% include footer.html %}
   </body>
 </html>