Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA172DD3A for ; Mon, 6 Aug 2012 22:28:29 +0000 (UTC) Received: (qmail 26091 invoked by uid 500); 6 Aug 2012 22:28:29 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 26070 invoked by uid 500); 6 Aug 2012 22:28:29 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 26056 invoked by uid 99); 6 Aug 2012 22:28:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2012 22:28:29 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shazron@gmail.com designates 209.85.214.175 as permitted sender) Received: from [209.85.214.175] (HELO mail-ob0-f175.google.com) (209.85.214.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2012 22:28:23 +0000 Received: by obc16 with SMTP id 16so2863392obc.6 for ; Mon, 06 Aug 2012 15:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=QV0Io/oa9d/zIuR9CwX5re8YGp/gKhZqx+O6jqnzU+c=; b=xGBnSLZvWBUf4KQs4n2VcSLer4RegG54QJBzt0Ns2cNjRP08IMM5ep1tNTXHBxEqdM 1tLDsNMuL2vYymai3qfAEuEZkwLMCTp7k/ubJDoPqwitl11U3tpXaKUy585xW3Rh/qXc Luob2295xu8kQI1PGLrFYB4Vn3wWKwaws5oxKSlLn6+10EXn6PDEmZH+jsZzxzCERrGp Y2iAYmVOHebVLW0WTx6ti9VoTnGxT0sXhtICCe5UDYR//1ggGVjGDV8JKNydGIb6bON/ CWnkJhOelf05V2c0cmVh5y9kY+V1LpMXrp1j39+boSjJswQ/61vsruftBXmXOLJU8UnS Vz8Q== Received: by 10.60.12.8 with SMTP id u8mr21005672oeb.46.1344292082793; Mon, 06 Aug 2012 15:28:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.33.199 with HTTP; Mon, 6 Aug 2012 15:27:22 -0700 (PDT) In-Reply-To: <812916889958891609@unknownmsgid> References: <812916889958891609@unknownmsgid> From: Shazron Date: Mon, 6 Aug 2012 15:27:22 -0700 Message-ID: Subject: Re: [DISCUSS] window.open target blank To: callback-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Brian, I think you are confusing this: https://github.com/apache/incubator-cordova-ios/blob/master/CordovaLib/Classes/CDVViewController.m#L483 For the whitelist, which is this, which is lower level and intercepts all network requests: https://github.com/apache/incubator-cordova-ios/blob/master/CordovaLib/Classes/CDVWhitelist.m target=_blank -- no for iOS. You must remember we are trying to open URLs that are NOT in the whitelist. On Mon, Aug 6, 2012 at 3:16 PM, Jesse MacFadyen wrote: > Brian: The API for childbrowser should be window.open w/ a > polyfill for target=blank to be in harmony w/ browsers and our goal of > compatibility/obsolescence. > > Shaz: target=_blank, 100% no for iOS, it is impossible (yes, really) for the > thousandth time - read CB-362. > > Shaz, you can polyfil in JS, just have to override HTMLAnchor's click. > > Brian, I think the API should provide the ability to target > a) the current DOM > b) the default browser > c) a plugin ( child browser ) > > Or do you envision the CB plugin setting itself as the default? > > Cheers, > Jesse > > Sent from my iPhone5