You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2015/03/06 03:19:16 UTC
[2/2] cordova-plugins git commit: Add an `` example for
all http(s)
Add an `<allow-intent>` example for all http(s)
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugins/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugins/commit/9e0db6c0
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugins/tree/9e0db6c0
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugins/diff/9e0db6c0
Branch: refs/heads/master
Commit: 9e0db6c012b1b44e2fea075f583ff6d35dca04ea
Parents: 10d394d
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Mar 5 15:37:10 2015 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Mar 5 21:18:48 2015 -0500
----------------------------------------------------------------------
whitelist/README.md | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/9e0db6c0/whitelist/README.md
----------------------------------------------------------------------
diff --git a/whitelist/README.md b/whitelist/README.md
index ab33020..1b4fe34 100644
--- a/whitelist/README.md
+++ b/whitelist/README.md
@@ -42,6 +42,10 @@ This whitelist does not apply to plugins, only hyperlinks and calls to `window.o
In `config.xml`, add `<allow-intent>` tags, like this:
+ <!-- Allow links to web pages to open in a browser -->
+ <allow-intent href="http://*/*" />
+ <allow-intent href="https://*/*" />
+
<!-- Allow links to example.com to open in a browser -->
<allow-intent href="http://example.com/*" />
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org