cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Faria Gomes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9095) Ability to intercept Navigation
Date Mon, 15 May 2017 18:45:04 GMT

    [ https://issues.apache.org/jira/browse/CB-9095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011098#comment-16011098
] 

Daniel Faria Gomes commented on CB-9095:
----------------------------------------

That would be awesome.

> Ability to intercept Navigation
> -------------------------------
>
>                 Key: CB-9095
>                 URL: https://issues.apache.org/jira/browse/CB-9095
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: cordova-plugin-inappbrowser
>    Affects Versions: 3.5.0
>         Environment: All Cordova versions
>            Reporter: Tobias Banaszak
>              Labels: Triaged
>
> On iOS, there is a delegate method that gets called if the user tapped on a link:
> - (BOOL) webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request
navigationType:(UIWebViewNavigationType)navigationType
> Implementing this method, you can decide whether the WebView should follow the URL/Request
or not by returning YES or NO. This way, you can handle special schemes or some special URLs.
> I've been looking for this function in InAppBrowser but couldn't find anything that gives
same functionality. Is it by design, or would you consider implementing this feature?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message