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    | 20 ++++----------------
 scalene/scalene-gui/profiler.html | 10 +++-------
 2 files changed, 7 insertions(+), 23 deletions(-)

Index: scalene-0.7.5/scalene/scalene-gui/index.html
===================================================================
--- scalene-0.7.5.orig/scalene/scalene-gui/index.html	2022-06-13 19:34:37.078166391 -0300
+++ scalene-0.7.5/scalene/scalene-gui/index.html	2022-06-13 19:36:16.751968347 -0300
@@ -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>
Index: scalene-0.7.5/scalene/scalene-gui/profiler.html
===================================================================
--- scalene-0.7.5.orig/scalene/scalene-gui/profiler.html	2022-06-13 19:34:37.078166391 -0300
+++ scalene-0.7.5/scalene/scalene-gui/profiler.html	2022-06-13 19:36:50.556575337 -0300
@@ -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);}
