处理部分不优雅的内容,改名

This commit is contained in:
2020-09-02 11:13:24 +08:00
parent 0bb4b7217d
commit 1f3e49738e
12 changed files with 11331 additions and 15128 deletions

View File

@@ -1 +0,0 @@
dev.thuhole.com

View File

@@ -23,10 +23,9 @@
<link rel="apple-touch-startup-image" href="%PUBLIC_URL%/splash/1668x2388.png" media="(device-width: 834px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/>
<link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/2388x1668.png" media="(device-width: 834px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/>
<title>T树洞</title>
<title>T树洞</title>
</head>
<body>
<div id="root"></div>
<script src="stats.js" defer></script>
</body>
</html>

View File

@@ -1,25 +0,0 @@
var _czc = _czc || [];
_czc.push(["_setAccount", "1279007496"]);
_czc.push(["_setCustomVar", "has_token", localStorage['TOKEN'] ? 'yes' : 'no', 1]);
_czc.push(["_setCustomVar", "standalone", ((window.matchMedia('(display-mode: standalone)').matches) || (window.navigator.standalone)) ? 'yes' : 'no', 1]);
_czc.push(["_setCustomVar", "build_info", "%REACT_APP_BUILD_INFO%" || '---']);
var cr_version = /Chrome\/(\d+)/.exec(navigator.userAgent);
_czc.push(["_setCustomVar", "cr_version_test", cr_version ? cr_version[1] : '[null]', 2]);
/*
// track config
try {
var config=JSON.parse(localStorage['hole_config']||'{}');
for(var key in config)
if(config.hasOwnProperty(key))
_czc.push(["_trackEvent",'config',key,encodeURIComponent(JSON.stringify(config[key])),0,'']);
//_czc.push(["_setCustomVar","config_"+key,encodeURIComponent(JSON.stringify(config[key])),0]);
} catch(e) {
console.trace(e);
}
*/
var cnzz_s_tag = document.createElement('script');
cnzz_s_tag.type = 'text/javascript';
cnzz_s_tag.async = true;
cnzz_s_tag.charset = "utf-8";
cnzz_s_tag.src = "https://w.cnzz.com/c.php?id=1279007496&async=1";
document.head.appendChild(cnzz_s_tag);