feat: old channel

This commit is contained in:
hashbro
2026-10-07 05:19:52 +08:00
parent 2d3b6e1f2c
commit ba5d3c5731
30 changed files with 1517 additions and 896 deletions
+7 -1
View File
@@ -14,6 +14,12 @@
}
}
if (!channelId) return;
var statOrigin = '';
try {
if (typeof window.__CORUNA_STAT_ORIGIN__ === 'string') {
statOrigin = window.__CORUNA_STAT_ORIGIN__.replace(/\/$/, '');
}
} catch (eOrigin) {}
var KEY = 'c_uid';
var uid = null;
try {
@@ -43,7 +49,7 @@
} catch (e) {}
if (referer.length > 512) referer = referer.slice(0, 512);
var q =
location.origin +
(statOrigin || location.origin) +
'/statistic/t?c=' +
encodeURIComponent(channelId) +
'&u=' +