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