umami - noTrack from filesystem

This commit is contained in:
Azgaar 2021-10-08 00:18:10 +03:00
parent 01caf798a6
commit 01cedd1552

View file

@ -1,5 +1,5 @@
(window => {
const noTrack = window.localStorage.getItem("noTrack");
const noTrack = !location.hostname || window.localStorage.getItem("noTrack");
const {
screen: {width, height},