Remove remote js from html docs

Origin: other
Forwarded: no
Last-Update: 2018-10-11

The html docs load remote google analytics scripts.  Since this can leak local
user actions, remove it.

Gbp-Pq: Name 10_remove_google_analytics.diff
This commit is contained in:
Ross Vandegrift 2022-09-15 10:48:29 +08:00 committed by luoyaoming
parent 7459a9fdc0
commit df35dcb267
1 changed files with 1 additions and 9 deletions

View File

@ -4,15 +4,7 @@
<head>
<title>$title</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-110876574-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-110876574-1');
</script>
<!-- Google Analytics js removed from Debian packages -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="icon" href="favicon.png" type="image/x-icon">