Date: Sat, 08 Jun 2013 08:03:45 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: eadler@FreeBSD.org Cc: wblock@wonkity.com, trhodes@FreeBSD.org, svn-doc-head@FreeBSD.org, gjb@FreeBSD.org, svn-doc-all@FreeBSD.org, doc-committers@FreeBSD.org Subject: Re: svn commit: r41848 - head/en_US.ISO8859-1/htdocs/layout/js Message-ID: <20130608.080345.961326157985797899.hrs@allbsd.org> In-Reply-To: <CAF6rxgmSZcfVR1kCGs5RaihxdsQXbqxhbuUo4XRUPrGE_FGcww@mail.gmail.com> References: <CAF6rxgnxjDn_sjviCSZVpMDs40OYZS6D6MrKzs0YZvm2sC-qdg@mail.gmail.com> <20130608.074746.878470589090500805.hrs@allbsd.org> <CAF6rxgmSZcfVR1kCGs5RaihxdsQXbqxhbuUo4XRUPrGE_FGcww@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Sat_Jun__8_08_03_45_2013_743)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Eitan Adler <eadler@freebsd.org> wrote in <CAF6rxgmSZcfVR1kCGs5RaihxdsQXbqxhbuUo4XRUPrGE_FGcww@mail.gmail.com>: ea> On 8 June 2013 00:47, Hiroki Sato <hrs@freebsd.org> wrote: ea> > ea> >> var dnt = window.navigator.msDoNotTrack || window.navigator.doNotTrack; ea> > ea> >> var allow_track = (dnt && dnt == 'yes'|| dnt == 1); ea> > ea> >> ea> > ea> >> -- Hiroki ea> > ea> >> ea> > ea> > ea> > ea> > I was assuming based on the discussion that we need to perform ea> > ea> > more than a single check on this, but will this one actually ea> > ea> > work? ea> > ea> ea> > ea> No, after some thoughts I realized that this commit is completely ea> > ea> broken. We must explicitly check for "yes" and "1". This check ea> > ea> basically disabled GA for newer browsers. ea> > ea> > The above code should perform it. ea> ea> Sorry, I was unclear: the version as you explained (checking for ea> existence followed by and explicit "1" or "yes") should be fine. ea> ea> > What is "this check" in your ea> > sentence? ea> ea> The version as committed. Okay, thanks. I agree that differences between DNT specification and actual implementations are annoying... -- Hiroki ----Security_Multipart(Sat_Jun__8_08_03_45_2013_743)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iEYEABECAAYFAlGyZtMACgkQTyzT2CeTzy3wMQCeJLf5KaIr6M5SBNeXAvM+t9u6 qAsAn3Rc8lMFUynrDLgrKYolHpk5JkYp =RzVS -----END PGP SIGNATURE----- ----Security_Multipart(Sat_Jun__8_08_03_45_2013_743)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130608.080345.961326157985797899.hrs>