Read DNT Status of all Browsers with simple Javascript (DoNotTrack ME with Chrome, FireFox, IE) without DNT Plugin

Nicht zum Aktivieren der Funktion, sondern zum Auslesen in Webseiten ist das
folgende Skript für alle aktuellen Browser geeignet:

<html>
<body>
IS DNT on?
<script>
if(navigator.doNotTrack==null){
if(window.isDntOn==null || window.isDntOn=='undefined'){
if(window.external!=null){
try{
if(window.external.msTrackingProtectionEnabled())
alert("ie true");
else
alert("ie false");
}catch(e){
alert("chrome false");
}
}
}else
alert("false");
} else if(navigator.doNotTrack)
alert("true");
else
alert("unknown");
</script>
</body>
</html>

dnt chrome
dnt firefox
do not track internet explorer
do not track me firefox
do not track chrome