Javascript only detection of “Do not track” settings in IE11
I would like to respect the DNT settings in all browsers using only javascript (I don't have server side access to the host server). I got the following from https://stackoverflow.com/a/16947583/266960 var isDNT = navigator.doNotTrack == "yes" || navigator.doNotTrack == "1" || navigator.msDoNotTrack == "1"; This works in all browsers but IE11 (specifically 11.0.9600.16428 run through [ http://spoon.net/] ), which does not seem to honour any of the above BOM properties (I tried setting the DNT preference via the Internet Options > Advanced > Security: "Always send a do not track header" and