You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by JPustkuchen <gi...@git.apache.org> on 2016/04/07 21:41:13 UTC

[GitHub] cordova-plugin-inappbrowser pull request: inAppBrowser custom appl...

Github user JPustkuchen commented on the pull request:

    https://github.com/apache/cordova-plugin-inappbrowser/pull/99#issuecomment-207061483
  
    I can confirm that this is really an important feature request. For example we want to use skype:// and whatsapp:// links within the webview. The problem is, that loadstart acts async and so even a workaround in the event to prevent loading the protocol as page is not possible.
    
    A possible and safe solution (from my point of view) could be a new "beforeloadstart" event which allows to return false and take the url parameter for custom handling. The url should not be prefixed by http:// like currently in loadstart. So we can introduce our own custom logic in JS without hacking the plugin.
    
    What do you think?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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