Date: Wed, 12 Jun 2013 20:52:31 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r41914 - head/en_US.ISO8859-1/htdocs/layout/js Message-ID: <201306122052.r5CKqVg7048255@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Wed Jun 12 20:52:31 2013 New Revision: 41914 URL: http://svnweb.freebsd.org/changeset/doc/41914 Log: 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 Modified: head/en_US.ISO8859-1/htdocs/layout/js/google.js Modified: head/en_US.ISO8859-1/htdocs/layout/js/google.js ============================================================================== --- head/en_US.ISO8859-1/htdocs/layout/js/google.js Wed Jun 12 19:23:37 2013 (r41913) +++ head/en_US.ISO8859-1/htdocs/layout/js/google.js Wed Jun 12 20:52:31 2013 (r41914) @@ -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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306122052.r5CKqVg7048255>