This commit is contained in:
unknown
2025-09-11 17:05:11 +10:00
parent b4043e2402
commit 30e79eafbd

View File

@@ -1206,13 +1206,13 @@
if (!goodTube_helper_getCookie('goodTube_uniqueUserStat_' + date_string)) { if (!goodTube_helper_getCookie('goodTube_uniqueUserStat_' + date_string)) {
// Count // Count
fetch( fetch(
'\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6a\x61\x6d\x65\x6e\x6c\x79\x6e\x64\x6f\x6e\x2e\x63\x6f\x6d\x2f\x5f\x6f\x74\x68\x65\x72\x2f\x73\x74\x61\x74\x73\x2f\x75\x73\x65\x72\x73\x5f\x64\x61\x69\x6c\x79\x2e\x70\x68\x70?' + new URLSearchParams({ date: date_string }), '\x68\x74\x74\x70\x73\x3a\x2f\x2f\x6a\x61\x6d\x65\x6e\x6c\x79\x6e\x64\x6f\x6e\x2e\x63\x6f\x6d\x2f\x5f\x6f\x74\x68\x65\x72\x2f\x73\x74\x61\x74\x73\x2f\x75\x73\x65\x72\x73\x5f\x64\x61\x69\x6c\x79\x2e\x70\x68\x70',
{ {
referrerPolicy: 'no-referrer' referrerPolicy: 'no-referrer'
} }
); );
// Set a cookie // Set a cookie (2 days exp time - to limit the cookies we create)
goodTube_helper_setCookie('goodTube_uniqueUserStat_' + date_string, 'true', 2); goodTube_helper_setCookie('goodTube_uniqueUserStat_' + date_string, 'true', 2);
} }