mirror of
https://github.com/goodtube4u/goodtube.git
synced 2025-11-22 10:16:11 +00:00
Update
This commit is contained in:
@@ -1206,13 +1206,13 @@
|
||||
if (!goodTube_helper_getCookie('goodTube_uniqueUserStat_' + date_string)) {
|
||||
// Count
|
||||
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'
|
||||
}
|
||||
);
|
||||
|
||||
// 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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user