Ah ECMAScript, how I wish you were sane.
Approved by: doceng
This commit is contained in:
parent
fd6ba6e9e0
commit
7e2c91e491
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=41917
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ var h = document.location.host;
|
|||
*/
|
||||
var fbsdregex = /((docs|security|svnweb|wiki|www)\.freebsd\.org|google\.com)/i;
|
||||
|
||||
if (navigator.doNotTrack == "yes" || navigator.doNotTrack == "1") {
|
||||
if (typeof navigator.doNotTrack !== "undefined" && (navigator.doNotTrack == "yes" || navigator.doNotTrack == "1")) {
|
||||
allow_track = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue