新增 百度统计

This commit is contained in:
底层用户 2023-01-30 11:41:27 +08:00
parent d5fc31ee83
commit 4c63155ada
3 changed files with 20 additions and 1 deletions

2
.env
View File

@ -11,7 +11,7 @@ VITE_DESC_TEXT_OTHER = "哎呀,这都被你发现了( 再点击一次可关
# 社交链接 # 社交链接
VITE_SOCIAL_GITHUB = "imsyy" VITE_SOCIAL_GITHUB = "imsyy"
VITE_SOCIAL_GITEE = "oschina" VITE_SOCIAL_GITEE = "imsyy"
VITE_SOCIAL_QQ = "1539250352" VITE_SOCIAL_QQ = "1539250352"
VITE_SOCIAL_EMAIL = "one@imsyy.top" VITE_SOCIAL_EMAIL = "one@imsyy.top"
VITE_SOCIAL_TELEGRAM = "bottom_user" VITE_SOCIAL_TELEGRAM = "bottom_user"

9
.hintrc Normal file
View File

@ -0,0 +1,9 @@
{
"extends": [
"development"
],
"hints": {
"compat-api/html": "off",
"no-protocol-relative-urls": "off"
}
}

View File

@ -23,6 +23,16 @@
window.location.href = window.location.href =
"https://support.dmeng.net/upgrade-your-browser.html?referrer=" + encodeURIComponent(window.location.href) "https://support.dmeng.net/upgrade-your-browser.html?referrer=" + encodeURIComponent(window.location.href)
</script> </script>
<!-- 百度统计 -->
<script>
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?14e9f35ff8bc67fd4bcb5f07a6e6655a";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head> </head>
<body class="loading"> <body class="loading">