Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!feeder3.cambriumusenet.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <1937453.aqSPkdTlGX@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Sat, 18 Feb 2012 09:56:23 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 7Bit Subject: Re: Mystical incantation of the day Newsgroups: comp.lang.javascript References: Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 26 NNTP-Posting-Date: 18 Feb 2012 09:56:25 CET NNTP-Posting-Host: 17f5ae63.newsspool3.arcor-online.net X-Trace: DXC=nlk<=Me2llJ@Y=h<_c3PkHMcF=Q^Z^V3H4Fo<]lROoRA8kFeAVeOoA X-Complaints-To: usenet-abuse@arcor.de Xref: x330-a1.tempe.blueboxinc.net comp.lang.javascript:11885 Richard Cornford wrote: > oPlugin = { > ... > Browser: { > Explorer:!!(navigator.appName=='Microsoft Internet Explorer'), > Other: !!!(navigator.appName=='Microsoft Internet Explorer'), > Chrome: !!(navigator.userAgent.toLowerCase().indexOf('chrome')>-1) > }, > ... > } > > It is that middle - Other - property definition that really demonstrates > someone doing something with a serious misconception of why they are > doing it. It is the needless double negation of an intrinsically boolean value in the `Explorer:' line that shows me the cluelessness of the author already. PointedEars -- Anyone who slaps a 'this page is best viewed with Browser X' label on a Web page appears to be yearning for the bad old days, before the Web, when you had very little chance of reading a document written on another computer, another word processor, or another network. -- Tim Berners-Lee