feat: old channel
This commit is contained in:
+7
-1
@@ -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=' +
|
||||
|
||||
Reference in New Issue
Block a user