Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB48A1072E for ; Tue, 24 Sep 2013 20:39:03 +0000 (UTC) Received: (qmail 31703 invoked by uid 500); 24 Sep 2013 20:39:03 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 31639 invoked by uid 500); 24 Sep 2013 20:39:03 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 31621 invoked by uid 99); 24 Sep 2013 20:39:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Sep 2013 20:39:02 +0000 Date: Tue, 24 Sep 2013 20:39:02 +0000 (UTC) From: "Joe Bowser (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-3360) Set custom InAppBrowser user-agent MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-3360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser updated CB-3360: --------------------------- Component/s: WP8 WP7 Plugin InAppBrowser iOS BlackBerry > Set custom InAppBrowser user-agent > ---------------------------------- > > Key: CB-3360 > URL: https://issues.apache.org/jira/browse/CB-3360 > Project: Apache Cordova > Issue Type: Improvement > Components: Android, BlackBerry, iOS, Plugin InAppBrowser, WP7, WP8 > Affects Versions: 2.7.0 > Reporter: Kevin Simpson > Assignee: Joe Bowser > Priority: Minor > Labels: Cordova, InAppBrowser, android > > Currently you can set a custom user-agent for the main Cordova webview by overriding the init method for the DroidGap class. However, when opening a page in the InAppBrowser, that webview will still contain the default user-agent. > There are two solutions that I have thought of to this: > 1. Set the user-agent of the InAppBrowser webview to whatever the user-agent in the Cordova webview is set to. (This is what I am currently doing, as it was a one line change, but it requires rebuilding Cordova manually) > 2. Have some sort of configuration option to set the user-agent for the InAppBrowser. This would allow a different user-agent from the main webview, but is also a more involved change. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira