moderator/moderate/static/lib/dnt-helper/js/dnt-helper.js (1 lines of code) (raw):

function _dntEnabled(n,i){"use strict";var t=n||navigator.doNotTrack||window.doNotTrack||navigator.msDoNotTrack,e=i||navigator.userAgent,o=["Windows NT 6.1","Windows NT 6.2","Windows NT 6.3"],d=e.match(/Firefox\/(\d+)/),a=/MSIE|Trident/i,r=a.test(e),s=e.match(/Windows.+?(?=;)/g);return(!r||"function"==typeof Array.prototype.indexOf)&&(t=d&&parseInt(d[1],10)<32?"Unspecified":r&&s&&o.indexOf(s.toString())!==-1?"Unspecified":{0:"Disabled",1:"Enabled"}[t]||"Unspecified","Enabled"===t)}