mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 15:23:38 +01:00
aaand another DNT fix
This commit is contained in:
parent
59f68b8395
commit
6eab94dc4c
@ -59,7 +59,9 @@ export const doNotTrack = () => {
|
|||||||
navigator.doNotTrack == 'yes' ||
|
navigator.doNotTrack == 'yes' ||
|
||||||
navigator.doNotTrack == '1' ||
|
navigator.doNotTrack == '1' ||
|
||||||
navigator.msDoNotTrack == '1' ||
|
navigator.msDoNotTrack == '1' ||
|
||||||
(window.external.msTrackingProtectionEnabled && window.external.msTrackingProtectionEnabled())
|
(window.external &&
|
||||||
|
window.external.msTrackingProtectionEnabled &&
|
||||||
|
window.external.msTrackingProtectionEnabled())
|
||||||
) {
|
) {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user