Fix GA on the website. The version as committed now does not function.
Note that different browsers implement different methods of DNT and that some chosen values for the JS API has changed sine this was originally implemented. Approved by: doceng
This commit is contained in:
parent
524b992fdc
commit
82e6e39154
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=41914
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 (window.navigator.doNotTrack == true) {
|
||||
if (navigator.doNotTrack == "yes" || navigator.doNotTrack == "1") {
|
||||
allow_track = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue