feat: add baidu statistics code; use dialog instead of zenity for shell.

This commit is contained in:
2022-01-28 12:10:02 +08:00
parent a6de246dd0
commit b667823d27
2 changed files with 16 additions and 7 deletions
+10
View File
@@ -27,6 +27,16 @@
<title>dde_gesture_manager</title>
<link rel="manifest" href="manifest.json">
<!-- Baidu statistics -->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?45acc9824a216a8f1792b419eb91f090";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<!-- This script installs service_worker.js to provide PWA functionality to