From owner-svn-doc-all@FreeBSD.ORG Fri Jun 7 23:04:31 2013 Return-Path: Delivered-To: svn-doc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 822012EF; Fri, 7 Jun 2013 23:04:31 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) by mx1.freebsd.org (Postfix) with ESMTP id 63B8F196F; Fri, 7 Jun 2013 23:04:30 +0000 (UTC) Received: from alph.d.allbsd.org (p2175-ipbf701funabasi.chiba.ocn.ne.jp [122.25.209.175]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id r57N4Co7068533 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 8 Jun 2013 08:04:23 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.5/8.14.5) with ESMTP id r57N4C8c016479; Sat, 8 Jun 2013 08:04:12 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sat, 08 Jun 2013 08:03:45 +0900 (JST) Message-Id: <20130608.080345.961326157985797899.hrs@allbsd.org> To: eadler@FreeBSD.org Subject: Re: svn commit: r41848 - head/en_US.ISO8859-1/htdocs/layout/js From: Hiroki Sato In-Reply-To: References: <20130608.074746.878470589090500805.hrs@allbsd.org> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sat_Jun__8_08_03_45_2013_743)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Sat, 08 Jun 2013 08:04:23 +0900 (JST) X-Spam-Status: No, score=-94.5 required=13.0 tests=CONTENT_TYPE_PRESENT, ONLY1HOPDIRECT,RCVD_IN_PBL,SAMEHELOBY2HOP,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.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 X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jun 2013 23:04:31 -0000 ----Security_Multipart(Sat_Jun__8_08_03_45_2013_743)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Eitan Adler wrote in : ea> On 8 June 2013 00:47, Hiroki Sato 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)----