From owner-svn-doc-all@FreeBSD.ORG Fri Jun 7 00:26:15 2013 Return-Path: Delivered-To: svn-doc-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D3F81CDA; Fri, 7 Jun 2013 00:26:15 +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 029061E2D; Fri, 7 Jun 2013 00:26:14 +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 r570Puvw092257 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Jun 2013 09:26:07 +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 r570Pu5v000555; Fri, 7 Jun 2013 09:25:56 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Fri, 07 Jun 2013 09:25:34 +0900 (JST) Message-Id: <20130607.092534.356568932887378565.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: <20130606140542.GA1625@glenbarber.us> <20130606.232805.1823224325157138890.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(Fri_Jun__7_09_25_34_2013_889)--" 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]); Fri, 07 Jun 2013 09:26:07 +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, gjb@FreeBSD.org, svn-doc-all@FreeBSD.org, doc-committers@FreeBSD.org, svn-doc-head@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 00:26:15 -0000 ----Security_Multipart(Fri_Jun__7_09_25_34_2013_889)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Eitan Adler wrote in : ea> On 6 June 2013 16:28, Hiroki Sato wrote: ea> > ea> > null, "", and undefined are evaluated as false in Javascript. ea> > ea> Javascript has an odd concept of true and false: ea> null, an empty string, +0, -0, and NaN, and false are the 'false' values. ea> ea> An object will return true. I see. I am not familiar with DNT implementation, but is there a www browser to define navigator.doNotTrack as the value "false"? If so, I think something like the following is needed. var dnt = window.navigator.msDoNotTrack || window.navigator.doNotTrack; var allow_track = (dnt && dnt == 'yes'|| dnt == 1); -- Hiroki ----Security_Multipart(Fri_Jun__7_09_25_34_2013_889)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iEYEABECAAYFAlGxKH4ACgkQTyzT2CeTzy3S5ACfeEXbxu/CzurKRi/LyR/NRxUC mrAAn1lcQvMB39W6dGKijBipcE1qR5Dk =ekzz -----END PGP SIGNATURE----- ----Security_Multipart(Fri_Jun__7_09_25_34_2013_889)----