start tracking playtime

This commit is contained in:
sky
2026-02-24 11:26:00 -05:00
parent 4bedce429e
commit 6391f71710
2 changed files with 21 additions and 1 deletions

5
js/all.min.js vendored
View File

@ -62,6 +62,11 @@ function antiSkid() {
}
};
function getDate(offset = 0) {
let date = new Date() - (offset*1000*60*60*24);
return new Date(date).toJSON().split("T")[0];
}
document.addEventListener("DOMContentLoaded", () => {
// yo why are all analytic providers mid
// loadAnalytics.unami();