From 02811010cf62f1b21a06780d1e470d04bb24c50f Mon Sep 17 00:00:00 2001 From: Arjun Roychowdhury Date: Sat, 31 Oct 2015 08:21:38 -0400 Subject: removed unecessary files from git --- plugins/cordova-plugin-whitelist/README.md | 144 ----------------------------- 1 file changed, 144 deletions(-) delete mode 100644 plugins/cordova-plugin-whitelist/README.md (limited to 'plugins/cordova-plugin-whitelist/README.md') diff --git a/plugins/cordova-plugin-whitelist/README.md b/plugins/cordova-plugin-whitelist/README.md deleted file mode 100644 index def10044..00000000 --- a/plugins/cordova-plugin-whitelist/README.md +++ /dev/null @@ -1,144 +0,0 @@ - - -# cordova-plugin-whitelist - -This plugin implements a whitelist policy for navigating the application webview on Cordova 4.0 - -## Supported Cordova Platforms - -* Android 4.0.0 or above -* iOS 4.0.0 or above - -## Navigation Whitelist -Controls which URLs the WebView itself can be navigated to. Applies to -top-level navigations only. - -Quirks: on Android it also applies to iframes for non-http(s) schemes. - -By default, navigations only to `file://` URLs, are allowed. To allow other -other URLs, you must add `` tags to your `config.xml`: - - - - - - - - - - - - - - - -## Intent Whitelist -Controls which URLs the app is allowed to ask the system to open. -By default, no external URLs are allowed. - -On Android, this equates to sending an intent of type BROWSEABLE. - -This whitelist does not apply to plugins, only hyperlinks and calls to `window.open()`. - -In `config.xml`, add `` tags, like this: - - - - - - - - - - - - - - - - - - - - - - - -## Network Request Whitelist -Controls which network requests (images, XHRs, etc) are allowed to be made (via cordova native hooks). - -Note: We suggest you use a Content Security Policy (see below), which is more secure. This whitelist is mostly historical for webviews which do not support CSP. - -In `config.xml`, add `` tags, like this: - - - - - - - - - - - - - - - - - -Without any `` tags, only requests to `file://` URLs are allowed. However, the default Cordova application includes `` by default. - -Quirk: Android also allows requests to https://ssl.gstatic.com/accessibility/javascript/android/ by default, since this is required for TalkBack to function properly. - -### Content Security Policy -Controls which network requests (images, XHRs, etc) are allowed to be made (via webview directly). - -On Android and iOS, the network request whitelist (see above) is not able to filter all types of requests (e.g. `