mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 15:23:38 +01:00
Check window.external before checking msTrackingProtectionEnabled
This commit is contained in:
parent
e7f83c084e
commit
679a2b0460
@ -52,7 +52,7 @@ export const doNotTrack = () => {
|
||||
window.doNotTrack ||
|
||||
navigator.doNotTrack ||
|
||||
navigator.msDoNotTrack ||
|
||||
'msTrackingProtectionEnabled' in window.external
|
||||
(window.external && 'msTrackingProtectionEnabled' in window.external)
|
||||
) {
|
||||
if (
|
||||
window.doNotTrack == '1' ||
|
||||
|
Loading…
Reference in New Issue
Block a user