File: 0004-Remove-links-to-external-resource.patch

package info (click to toggle)
scalene 1.5.54-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,980 kB
  • sloc: cpp: 22,870; python: 14,493; javascript: 12,297; ansic: 817; makefile: 196; sh: 45
file content (71 lines) | stat: -rw-r--r-- 3,938 bytes parent folder | 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
From: Emmanuel Arias <eamanu@yaerobi.com>
Date: Fri, 3 Jun 2022 17:55:21 -0300
Subject: Remove links to external resource

Remove links to external resources to avoid privacy breach
---
 scalene/scalene-gui/index.html    | 17 ++++-------------
 scalene/scalene-gui/profiler.html |  7 +++----
 2 files changed, 7 insertions(+), 17 deletions(-)

diff --git a/scalene/scalene-gui/index.html b/scalene/scalene-gui/index.html
index 0ce70d6..5bae269 100644
--- a/scalene/scalene-gui/index.html
+++ b/scalene/scalene-gui/index.html
@@ -3,10 +3,10 @@
     <title>Scalene</title>
     <link rel="icon" href="favicon.ico" type="image/x-icon">
     <!-- Latest compiled and minified CSS -->
-    <script src="https://code.jquery.com/jquery-3.6.0.slim.min.js"></script>
-    
-    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
-    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
+    <script src="file:///usr/share/javascript/jquery/jquery.js"></script>
+
+    <link href="file:///usr/share/javascript/bootstrap4/css/bootstrap.min.css" rel="stylesheet">
+    <script src="file:///usr/share/javascript/bootstrap4/js/bootstrap.bundle.min.js"></script>
     <link href="prism.css" rel="stylesheet" />
     <style>
       .table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td{
@@ -23,15 +23,6 @@
     }      
     </style>
     <!-- Global site tag (gtag.js) - Google Analytics -->
-    <script async src="https://www.googletagmanager.com/gtag/js?id=G-4JXPHEBMTY"></script>
-    <script>
-      window.dataLayer = window.dataLayer || [];
-      function gtag(){dataLayer.push(arguments);}
-      gtag('js', new Date());
-      
-      gtag('config', 'G-4JXPHEBMTY');
-    </script>
-
     <script src="example-profile.js"></script>
     <script src="prism.js"></script>
     <script src="tablesort.js"></script>
diff --git a/scalene/scalene-gui/profiler.html b/scalene/scalene-gui/profiler.html
index d6b2981..eb379a7 100644
--- a/scalene/scalene-gui/profiler.html
+++ b/scalene/scalene-gui/profiler.html
@@ -3,10 +3,10 @@
     <title>Scalene</title>
     <link rel="icon" href="favicon.ico" type="image/x-icon">
     <!-- Latest compiled and minified CSS -->
-    <script src="https://code.jquery.com/jquery-3.6.0.slim.min.js"></script>
+    <script src="file:///usr/share/javascript/jquery/jquery.js"></script>
     
-    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
-    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
+    <link href="file:///usr/share/javascript/bootstrap4/css/bootstrap.min.css" rel="stylesheet">
+    <script src="file:///usr/share/javascript/bootstrap4/js/bootstrap.bundle.min.js"></script>
     <link href="prism.css" rel="stylesheet" />
     <style>
       .table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td{
@@ -23,7 +23,6 @@
     }      
     </style>
     <!-- Global site tag (gtag.js) - Google Analytics -->
-    <script async src="https://www.googletagmanager.com/gtag/js?id=G-4JXPHEBMTY"></script>
     <script>
       window.dataLayer = window.dataLayer || [];
       function gtag(){dataLayer.push(arguments);}