mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Check window.external before checking msTrackingProtectionEnabled
This commit is contained in:
parent
e7f83c084e
commit
679a2b0460
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue