Skip to content

Commit

Permalink
[SDPA-3161] Removed old IE tracking function call. Threw an error. (#511
Browse files Browse the repository at this point in the history
)
  • Loading branch information
alan-cole authored Sep 3, 2019
1 parent d05e203 commit 16dc7e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ripple-nuxt-tide/lib/core/tracking.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* @returns {Boolean}
*/
function clientDoNotTrack () {
const supportsDNT = (window.doNotTrack || navigator.doNotTrack || navigator.msDoNotTrack || 'msTrackingProtectionEnabled' in window.external)
return supportsDNT ? (window.doNotTrack === '1' || navigator.doNotTrack === 'yes' || navigator.doNotTrack === '1' || navigator.msDoNotTrack === '1' || window.external.msTrackingProtectionEnabled()) : false
const supportsDNT = (window.doNotTrack || navigator.doNotTrack || navigator.msDoNotTrack)
return supportsDNT ? (window.doNotTrack === '1' || navigator.doNotTrack === 'yes' || navigator.doNotTrack === '1' || navigator.msDoNotTrack === '1') : false
}

/**
Expand Down

0 comments on commit 16dc7e0

Please sign in to comment.